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/14656
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14656/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14656/comments
https://api.github.com/repos/huggingface/transformers/issues/14656/events
https://github.com/huggingface/transformers/pull/14656
1,072,870,251
PR_kwDOCUB6oc4veb4U
14,656
[t5/t0/mt5 models] faster/leaner custom layer norm
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2690307185, "node_id": "MDU6TGFiZWwyNjkwMzA3MTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Performance", "name": "Performance", "color": "207F32", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4N...
closed
false
null
[]
[ "Thanks for diving into it! Alongside Sylvain's comments, this LGTM, ", "@patil-suraj, thank you for addressing my questions.\r\n\r\nI suppose we then should replicate the doc snippet to all t5-based models, right? I'm thinking of adding a new Performance section - not sure if it's better to have it before the cl...
1,638
1,644
1,644
CONTRIBUTOR
null
This PR dynamically replaces `T5LayerNorm` with `apex.normalization.FusedRMSNorm` when the latter is available (it was just [merged into `apex@master`](https://github.com/NVIDIA/apex/pull/1274)). This is similar to how we used to replace the slower at that time `torch.nn.LayerNorm` with `apex.normalization.FusedLayerNo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14656/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14656", "html_url": "https://github.com/huggingface/transformers/pull/14656", "diff_url": "https://github.com/huggingface/transformers/pull/14656.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14656.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14655
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14655/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14655/comments
https://api.github.com/repos/huggingface/transformers/issues/14655/events
https://github.com/huggingface/transformers/pull/14655
1,072,804,454
PR_kwDOCUB6oc4veOfF
14,655
Convert tutorials
{ "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
[]
[ "You need to follow this format for the ColabDropdown to appear:\r\nhttps://github.com/huggingface/doc-builder/blame/92bc1f3833fc825bd772455df17505d1f322ee88/build/transformers/master/en/quicktour.mdx#L43-L51\r\n1. Put `ColabDropdown` svelte component after the title\r\n2. And change `options` attribute\r\n\r\nAlso...
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR converts the rst files in the documentation that currently have a corresponding notebook to Markdown so I can then work on updating the script that auto-generates the notebooks form the documentation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14655/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14655", "html_url": "https://github.com/huggingface/transformers/pull/14655", "diff_url": "https://github.com/huggingface/transformers/pull/14655.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14655.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14654
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14654/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14654/comments
https://api.github.com/repos/huggingface/transformers/issues/14654/events
https://github.com/huggingface/transformers/pull/14654
1,072,799,441
PR_kwDOCUB6oc4veNcN
14,654
[Beam Search] Correct returned beam scores
{ "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
[]
[ "Other related PR maybe : https://github.com/huggingface/transformers/issues/14921", "Thanks a lot for your feedback here guys and sorry to only pick up the PR again.\r\n\r\n@Narsil @felix-schneider,\r\n\r\nI see that you guys would like to make it easier for the user to directly get the transition probabilities ...
1,638
1,659
1,643
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/14654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14654/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14654", "html_url": "https://github.com/huggingface/transformers/pull/14654", "diff_url": "https://github.com/huggingface/transformers/pull/14654.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14654.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14653
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14653/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14653/comments
https://api.github.com/repos/huggingface/transformers/issues/14653/events
https://github.com/huggingface/transformers/issues/14653
1,072,704,908
I_kwDOCUB6oc4_8C2M
14,653
Missing weight parameter when loading from deepspeed stage-2
{ "login": "Atharva-Phatak", "id": 42376808, "node_id": "MDQ6VXNlcjQyMzc2ODA4", "avatar_url": "https://avatars.githubusercontent.com/u/42376808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Atharva-Phatak", "html_url": "https://github.com/Atharva-Phatak", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Maybe @stas00 has encountered this error in the past", "Since you were using PL, you probably want to ask that question on their Issues, since I don't know how they did the Deepspeed integration.\r\n\r\ni.e. this question is unrelated to `transformers`" ]
1,638
1,638
1,638
NONE
null
Converting deepspeed_zero_stage_2 to fp32 misses some parameters. I was finetuning bart-large using deepspeed_stage_2. I converted to fp32 checkpoints(using zero_to_fp32.py) and got a .bin file. When I try to load this model using model.load_state_dict(path_to_bin_file) I get the following keys missing error. "mode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14653/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14652
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14652/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14652/comments
https://api.github.com/repos/huggingface/transformers/issues/14652/events
https://github.com/huggingface/transformers/pull/14652
1,072,665,633
PR_kwDOCUB6oc4vdwl2
14,652
[deepspeed] fix --load_best_model_at_end
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
This PR is making `--load_best_model_at_end` reported in https://github.com/huggingface/transformers/issues/14628 work. There is a problem with resuming from a checkpoint after deepspeed engine was used https://github.com/microsoft/DeepSpeed/issues/1394 - I made a new Issue there to stress out that this is a problem...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14652/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14652/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14652", "html_url": "https://github.com/huggingface/transformers/pull/14652", "diff_url": "https://github.com/huggingface/transformers/pull/14652.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14652.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14651
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14651/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14651/comments
https://api.github.com/repos/huggingface/transformers/issues/14651/events
https://github.com/huggingface/transformers/issues/14651
1,072,649,597
I_kwDOCUB6oc4_71V9
14,651
Transformer-XL -100 label padding
{ "login": "robflynnyh", "id": 44401820, "node_id": "MDQ6VXNlcjQ0NDAxODIw", "avatar_url": "https://avatars.githubusercontent.com/u/44401820?v=4", "gravatar_id": "", "url": "https://api.github.com/users/robflynnyh", "html_url": "https://github.com/robflynnyh", "followers_url": "https://api.github.com/use...
[]
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/master/CONTRIBUTING.md)...
1,638
1,642
1,642
NONE
null
Transformers version: 4.12.5 model: Transformer-XL / transfo_xl url: https://github.com/huggingface/transformers/blob/master/src/transformers/models/transfo_xl/modeling_transfo_xl.py#L1011 issue: In the docstring it is specified that: All labels set to ``-100`` are ignored (masked). However when passed to the mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14651/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14651/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14650
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14650/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14650/comments
https://api.github.com/repos/huggingface/transformers/issues/14650/events
https://github.com/huggingface/transformers/issues/14650
1,072,628,489
I_kwDOCUB6oc4_7wMJ
14,650
Make `CLIPFeatureExtractor` accept batch of images as `torch.Tensor`.
{ "login": "fcakyon", "id": 34196005, "node_id": "MDQ6VXNlcjM0MTk2MDA1", "avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fcakyon", "html_url": "https://github.com/fcakyon", "followers_url": "https://api.github.com/users/fcakyo...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 4235521865, "node_id": "LA_kwDO...
closed
false
null
[]
[ "@fcakyon, why was I mentioned here? The only time I edited this file was to add a missing space in an error message.", "My apologies @aphedges. Saw your name on PR.", "Thanks for the issue!\r\n\r\nSince a batch of images is a very common input I think we should support this. Pinging @NielsRogge, @sgugger \r\n\...
1,638
1,674
1,674
CONTRIBUTOR
null
# 🚀 Feature request Make `CLIPFeatureExtractor` (or any FeatureExtractor in general) accept batch of images as `torch.Tensor`. ## Motivation Currently batch of images as `torch.Tensor` are not treated as a batch, it has to be a `List[torch.Tensor]` but it is not the case when using native Pytorch DataLoader. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14650/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14649
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14649/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14649/comments
https://api.github.com/repos/huggingface/transformers/issues/14649/events
https://github.com/huggingface/transformers/issues/14649
1,072,621,210
I_kwDOCUB6oc4_7uaa
14,649
Finetuning T5 for 2 tasks with 2 diferent prefixes and different data gives the same result.
{ "login": "Oxi84", "id": 25420033, "node_id": "MDQ6VXNlcjI1NDIwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Oxi84", "html_url": "https://github.com/Oxi84", "followers_url": "https://api.github.com/users/Oxi84/follow...
[]
closed
false
null
[]
[ "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/master/CONTRIBUTING.md)...
1,638
1,650
1,642
NONE
null
Hello, I am able to finetune T5 on paraphrasing task ... and the results are quite good. So for example when i train modelA on dataA and modelB on DataB, the produce different results, but then i train modelC and prefixA + Data A plus PrefixB + dataB the results with PrefixA and PrefixB are almost the same. What ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14649/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14648
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14648/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14648/comments
https://api.github.com/repos/huggingface/transformers/issues/14648/events
https://github.com/huggingface/transformers/issues/14648
1,072,584,766
I_kwDOCUB6oc4_7lg-
14,648
LEDTokenizer doesn't pad `global_attention_mask`
{ "login": "parambharat", "id": 12809212, "node_id": "MDQ6VXNlcjEyODA5MjEy", "avatar_url": "https://avatars.githubusercontent.com/u/12809212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parambharat", "html_url": "https://github.com/parambharat", "followers_url": "https://api.github.com/...
[]
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...
[ "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/master/CONTRIBUTING.md)...
1,638
1,647
1,647
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.13.0.dev0 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.1 - PyTorch version (GPU?): 1.10...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14648/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14647
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14647/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14647/comments
https://api.github.com/repos/huggingface/transformers/issues/14647/events
https://github.com/huggingface/transformers/issues/14647
1,072,529,741
I_kwDOCUB6oc4_7YFN
14,647
Reproducibility issue with Trainer
{ "login": "dkalpakchi", "id": 6604476, "node_id": "MDQ6VXNlcjY2MDQ0NzY=", "avatar_url": "https://avatars.githubusercontent.com/u/6604476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dkalpakchi", "html_url": "https://github.com/dkalpakchi", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nGoogling \"reproducibility Huggingface trainer\" returns this helpful post on our forum: https://discuss.huggingface.co/t/fixing-the-random-seed-in-the-trainer-does-not-produce-the-same-results-across-runs/3442", "Hi Niels!\r\n\r\nThanks for your swift response! I've seen the post, but it seemed peopl...
1,638
1,642
1,642
NONE
null
Hi, I am trying to fine-tune a model using PyTorch backend and Trainer class, but when I train 2 times with exactly the same parameters, I still get different results. I have supplied the seed and also used PyTorch-specific commands: ```py torch.use_deterministic_algorithms(True) torch.backends.cudnn.benchmark = Fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14647/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14646
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14646/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14646/comments
https://api.github.com/repos/huggingface/transformers/issues/14646/events
https://github.com/huggingface/transformers/pull/14646
1,072,456,636
PR_kwDOCUB6oc4vdDxg
14,646
fix flax examples 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
[]
[]
1,638
1,638
1,638
MEMBER
null
# What does this PR do? This PR - Make `tensorboard` optional in flax qa and glue script to remove dependency on `tf`. - Update the `test_fetcher.py` for flax examples - Mark all except one flax example test as slow, since these tests are taking a lot of time.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14646/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14646", "html_url": "https://github.com/huggingface/transformers/pull/14646", "diff_url": "https://github.com/huggingface/transformers/pull/14646.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14646.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14645
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14645/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14645/comments
https://api.github.com/repos/huggingface/transformers/issues/14645/events
https://github.com/huggingface/transformers/pull/14645
1,072,436,464
PR_kwDOCUB6oc4vc_fW
14,645
Add a job to test the documentation 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 caching only gets us one minute back in the setup :-(\r\nOnce the dummies have the docstrings of their real counterpart, we can stop installing all dependencies and have better timing though!" ]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR adds a GitHub action to test the documentation build. While we will in the future have something to check the built documentation, it's important to test right now that there is no failure in the build at least, even if we can't see the result.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14645/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14645", "html_url": "https://github.com/huggingface/transformers/pull/14645", "diff_url": "https://github.com/huggingface/transformers/pull/14645.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14645.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14644
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14644/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14644/comments
https://api.github.com/repos/huggingface/transformers/issues/14644/events
https://github.com/huggingface/transformers/pull/14644
1,072,426,068
PR_kwDOCUB6oc4vc9ax
14,644
Fix syntax for class references
{ "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
[]
[ "LGTM, thanks for the ping" ]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR fixes the documentation links made of the form :obj:`~transformers.ObjectName`. Those are not detected by `doc-builder` (and can't really be added since we use `:obj:` very often) so I searched and fixed the docstrings instead. See the [TextClassificationPipeline](https://huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14644/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14644", "html_url": "https://github.com/huggingface/transformers/pull/14644", "diff_url": "https://github.com/huggingface/transformers/pull/14644.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14644.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14643
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14643/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14643/comments
https://api.github.com/repos/huggingface/transformers/issues/14643/events
https://github.com/huggingface/transformers/pull/14643
1,072,420,957
PR_kwDOCUB6oc4vc8W7
14,643
fix flax example 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
[]
[]
1,638
1,638
1,638
MEMBER
null
# What does this PR do? The `conftest.py` was missing from the flax examples directory. so the flax example tests are failing on master. (cf [here](https://app.circleci.com/pipelines/github/huggingface/transformers/30924/workflows/7c0b3b8b-d664-4dc2-9c7e-69520347f0d5/jobs/317301)) This PR adds the `conftest.py` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14643/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14643", "html_url": "https://github.com/huggingface/transformers/pull/14643", "diff_url": "https://github.com/huggingface/transformers/pull/14643.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14643.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14642
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14642/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14642/comments
https://api.github.com/repos/huggingface/transformers/issues/14642/events
https://github.com/huggingface/transformers/issues/14642
1,072,382,824
I_kwDOCUB6oc4_60No
14,642
Encapsulate all forward passes of integration tests with "with torch.no_grad()"
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hey, I'd love to work on this!", "Sounds good @itsTurner, feel free to open a PR :)", "@itsTurner Are you still working on this issue?. If not then I would love to contribute to this issue. ", "Feel free to open per-model PRs so that you may both contribute at the same time! (and so can other members of the ...
1,638
1,675
1,675
CONTRIBUTOR
null
Each model in the Transformers library has one or more corresponding integration tests, which make sure the implementation in Transformers returns the same exact logits/hidden states as the original implementation on the same input data. e.g. the integration test for the Vision Transformer (ViT) can be found [here](...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14642/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14641
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14641/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14641/comments
https://api.github.com/repos/huggingface/transformers/issues/14641/events
https://github.com/huggingface/transformers/pull/14641
1,072,265,437
PR_kwDOCUB6oc4vcbg-
14,641
doc: mismatch between pooler/d_output
{ "login": "guhur", "id": 12297742, "node_id": "MDQ6VXNlcjEyMjk3NzQy", "avatar_url": "https://avatars.githubusercontent.com/u/12297742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guhur", "html_url": "https://github.com/guhur", "followers_url": "https://api.github.com/users/guhur/follow...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
The model outputs a pooler_output whereas the doctype examples were using a pooled_output. # 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 tit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14641/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14641", "html_url": "https://github.com/huggingface/transformers/pull/14641", "diff_url": "https://github.com/huggingface/transformers/pull/14641.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14641.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14640
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14640/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14640/comments
https://api.github.com/repos/huggingface/transformers/issues/14640/events
https://github.com/huggingface/transformers/pull/14640
1,072,230,944
PR_kwDOCUB6oc4vcURq
14,640
Add mLUKE
{ "login": "ryokan0123", "id": 17979572, "node_id": "MDQ6VXNlcjE3OTc5NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryokan0123", "html_url": "https://github.com/ryokan0123", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "It looks like there a quite a few failures in the Luke tests. You can see them locally with:\r\n```\r\npytest tests/test_modeling_luke.py\r\n```\r\nfrom the root repo.", "Thanks, I’ve fixed that.\r\nI still see some tests failed in CI (`run_tests_tf`), but I guess it is not from the changes in this PR?", "Yes,...
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? Reopen the following PR: https://github.com/huggingface/transformers/pull/14570 I have reflected the comments in the previous PR (add `# Copied from ...` comments, replace `assert` with `ValueError`). I have also added few tests to make sure `LukeTokenizer` and `MLukeTokenizer` correctly...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14640/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14640/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14640", "html_url": "https://github.com/huggingface/transformers/pull/14640", "diff_url": "https://github.com/huggingface/transformers/pull/14640.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14640.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14639
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14639/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14639/comments
https://api.github.com/repos/huggingface/transformers/issues/14639/events
https://github.com/huggingface/transformers/issues/14639
1,072,088,157
I_kwDOCUB6oc4_5sRd
14,639
[Hub] 403 when trying to download models
{ "login": "etiennedi", "id": 8974479, "node_id": "MDQ6VXNlcjg5NzQ0Nzk=", "avatar_url": "https://avatars.githubusercontent.com/u/8974479?v=4", "gravatar_id": "", "url": "https://api.github.com/users/etiennedi", "html_url": "https://github.com/etiennedi", "followers_url": "https://api.github.com/users/et...
[]
closed
false
null
[]
[ "Update: The original author found that the [same error also occurs on non SBERT-related activity](https://github.com/UKPLab/sentence-transformers/issues/1297#issuecomment-986724370), suggesting that it is indeed an issue on the model hub directly.\r\n\r\nThanks in advance for timely investigation and fix, as I ass...
1,638
1,638
1,638
NONE
null
Cross-posting from https://github.com/UKPLab/sentence-transformers/issues/1297 as I'm not sure if this is an issue with the `SentenceTransformers` library or with the model hub directly. Similar to the author of the linked post, we are also running into this both locally and from CI, so it doesn't seem to be one par...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14639/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14639/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14638
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14638/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14638/comments
https://api.github.com/repos/huggingface/transformers/issues/14638/events
https://github.com/huggingface/transformers/issues/14638
1,071,814,407
I_kwDOCUB6oc4_4pcH
14,638
Gradient accumulation causing different training curves
{ "login": "ZhaofengWu", "id": 11954789, "node_id": "MDQ6VXNlcjExOTU0Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/11954789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZhaofengWu", "html_url": "https://github.com/ZhaofengWu", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Theoretically speaking, it is expected because each configuration \"differently\" feed the gradients. Though is also expected that they converge to a common point.", "What do you mean by they differently feed the gradients? Calculating the loss based on 32 examples and then another 32 examples and then calculati...
1,638
1,641
1,641
CONTRIBUTOR
null
For a pretraining experiment using the built-in `Trainer`, setting batch size 32 x 16 accumulation steps seems to yield a different training loss curve from 64 x 8. Even though they converge to approximately the same value, shouldn't the curves be exactly the same? What would cause the difference? ![image](https://use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14638/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14637
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14637/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14637/comments
https://api.github.com/repos/huggingface/transformers/issues/14637/events
https://github.com/huggingface/transformers/pull/14637
1,071,772,046
PR_kwDOCUB6oc4vazSn
14,637
add flax example tests in CI workflow
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
MEMBER
null
# What does this PR do? This PR adds flax examples tests in CI workflow.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14637/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14637", "html_url": "https://github.com/huggingface/transformers/pull/14637", "diff_url": "https://github.com/huggingface/transformers/pull/14637.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14637.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14636
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14636/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14636/comments
https://api.github.com/repos/huggingface/transformers/issues/14636/events
https://github.com/huggingface/transformers/pull/14636
1,071,768,497
PR_kwDOCUB6oc4vayiC
14,636
[Flax examples] remove dependancy on pytorch training args
{ "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
[]
[ "@patrickvonplaten I've run the flax examples tests and made sure that they pass with this PR. Merging this now.\r\nFeel free to leave comments if you see something strange :) ", "Awesome - thanks @patil-suraj " ]
1,638
1,639
1,639
MEMBER
null
# What does this PR do? Remove dependency on PyTorch `TrainingArguments` class in flax examples. Fixes #13721
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14636/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14636", "html_url": "https://github.com/huggingface/transformers/pull/14636", "diff_url": "https://github.com/huggingface/transformers/pull/14636.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14636.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14635
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14635/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14635/comments
https://api.github.com/repos/huggingface/transformers/issues/14635/events
https://github.com/huggingface/transformers/pull/14635
1,071,742,890
PR_kwDOCUB6oc4vatJN
14,635
fix typo
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
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/14635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14635/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14635", "html_url": "https://github.com/huggingface/transformers/pull/14635", "diff_url": "https://github.com/huggingface/transformers/pull/14635.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14635.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14634
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14634/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14634/comments
https://api.github.com/repos/huggingface/transformers/issues/14634/events
https://github.com/huggingface/transformers/pull/14634
1,071,636,890
PR_kwDOCUB6oc4vaW5b
14,634
[WIP] Add Nystromformer
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? This PR adds the Nystromformer transformer model to the repository. Paper: [https://arxiv.org/abs/2102.03902](https://arxiv.org/abs/2102.03902) Code: [https://github.com/mlpen/Nystromformer](https://github.com/mlpen/Nystromformer) Checkpoint: [Nystromformer sequence length 512](https://w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14634/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14634", "html_url": "https://github.com/huggingface/transformers/pull/14634", "diff_url": "https://github.com/huggingface/transformers/pull/14634.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14634.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14633
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14633/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14633/comments
https://api.github.com/repos/huggingface/transformers/issues/14633/events
https://github.com/huggingface/transformers/issues/14633
1,071,578,658
I_kwDOCUB6oc4_3v4i
14,633
Dynamic Inputs for fx traced GPTNeoLM
{ "login": "sdtblck", "id": 46172032, "node_id": "MDQ6VXNlcjQ2MTcyMDMy", "avatar_url": "https://avatars.githubusercontent.com/u/46172032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sdtblck", "html_url": "https://github.com/sdtblck", "followers_url": "https://api.github.com/users/sdtblc...
[]
closed
false
null
[]
[ "cc @michaelbenayoun ", "Hi @sdtblck ,\r\nThe issue with dynamic inputs is not related to the `past_key_values` but to dynamic control-flow in the model forward pass implementation. The PR #14321, that I plan to merge at some point (hopefully before the end of the year) solves this kind of issues for the supporte...
1,638
1,642
1,642
NONE
null
# 🚀 Feature request I've been looking a little into using torch.fx + HF lately, and run into a problem that the traced GPTNeoLM can't take dynamic inputs - would love to know what work would be needed to enable that, and what the current blockers are - it would be great to be able to use the traced module for infer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14633/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14632
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14632/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14632/comments
https://api.github.com/repos/huggingface/transformers/issues/14632/events
https://github.com/huggingface/transformers/issues/14632
1,071,561,469
I_kwDOCUB6oc4_3rr9
14,632
to use FX - your torch version must be *exactly* 1.9, even though fx also works in later versions
{ "login": "sdtblck", "id": 46172032, "node_id": "MDQ6VXNlcjQ2MTcyMDMy", "avatar_url": "https://avatars.githubusercontent.com/u/46172032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sdtblck", "html_url": "https://github.com/sdtblck", "followers_url": "https://api.github.com/users/sdtblc...
[]
closed
false
{ "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...
[ { "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", "follower...
[ "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/master/CONTRIBUTING.md)...
1,638
1,644
1,644
NONE
null
[this line](https://github.com/huggingface/transformers/blob/3977b58437b8ce1ea1da6e31747d888efec2419b/src/transformers/file_utils.py#L375) checks that the torch version matches 1.9 exactly, even though fx is available in 1.9+ (i.e torch 1.10). To use it in torch 1.10, i had to do the following, and the symbolic trac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14632/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14631
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14631/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14631/comments
https://api.github.com/repos/huggingface/transformers/issues/14631/events
https://github.com/huggingface/transformers/issues/14631
1,071,559,236
I_kwDOCUB6oc4_3rJE
14,631
Add Sliding Window to TokenClassificationPipeline
{ "login": "boyleconnor", "id": 6520892, "node_id": "MDQ6VXNlcjY1MjA4OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6520892?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boyleconnor", "html_url": "https://github.com/boyleconnor", "followers_url": "https://api.github.com/us...
[]
closed
false
{ "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...
[ { "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...
[ "Hi @cascadianblue, \r\n\r\nThis could be an interesting option to add. \r\nIMHO:\r\n- This should be opt-in, since at the boundaries, you might still get issues if the entities are across your split. FYI, for question answering we use a stride argument to have an overlap on the chunks and give opportunity to the m...
1,638
1,682
1,642
CONTRIBUTOR
null
# 🚀 Feature request The current [implementation of TokenClassificationPipeline](https://github.com/huggingface/transformers/blob/3977b58437b8ce1ea1da6e31747d888efec2419b/src/transformers/pipelines/token_classification.py#L82) cannot do anything with text input beyond the length (measured in tokens) allowed by the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14631/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14631/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14630
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14630/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14630/comments
https://api.github.com/repos/huggingface/transformers/issues/14630/events
https://github.com/huggingface/transformers/issues/14630
1,071,532,636
I_kwDOCUB6oc4_3kpc
14,630
bert-base-uncased weights for BertForPreTraining
{ "login": "eldarkurtic", "id": 8884008, "node_id": "MDQ6VXNlcjg4ODQwMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eldarkurtic", "html_url": "https://github.com/eldarkurtic", "followers_url": "https://api.github.com/us...
[]
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/master/CONTRIBUTING.md)...
1,638
1,642
1,642
CONTRIBUTOR
null
Hi, According to the model card: https://huggingface.co/bert-base-uncased , these weights are obtained by training on two objectives (MLM and NSP) but the `config.json` has only the `BertForMaskedLM` tag. So when initializing `BertForPreTraining` model with `bert-base-uncased` weights, the following warning is print...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14630/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14629
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14629/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14629/comments
https://api.github.com/repos/huggingface/transformers/issues/14629/events
https://github.com/huggingface/transformers/issues/14629
1,071,450,717
I_kwDOCUB6oc4_3Qpd
14,629
GPT-NeoX checkpoint conversion?
{ "login": "frankxu2004", "id": 6738274, "node_id": "MDQ6VXNlcjY3MzgyNzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6738274?v=4", "gravatar_id": "", "url": "https://api.github.com/users/frankxu2004", "html_url": "https://github.com/frankxu2004", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "This is something we're working on at eleuther in preparation for an upcoming release, and already have some working code for specific configurations, but for other configurations it breaks.\r\n\r\nIf it would be useful to HF, we can post up the code :) ", "@sdtblck This sounds really useful and I'd like to take...
1,638
1,643
1,641
NONE
null
I found that there are conversion from gpt-neo and gpt-J to transformers. I wonder if the checkpoints trained using gpt-neox https://github.com/EleutherAI/gpt-neox could be loaded inside transformers? I think it's the same architecture as GPT-neo but I could be wrong. Thanks!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14629/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14628
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14628/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14628/comments
https://api.github.com/repos/huggingface/transformers/issues/14628/events
https://github.com/huggingface/transformers/issues/14628
1,071,416,378
I_kwDOCUB6oc4_3IQ6
14,628
load_best_model_at_end failed due to "size mismatch" when DeepSpeed is used
{ "login": "dunalduck0", "id": 51274745, "node_id": "MDQ6VXNlcjUxMjc0NzQ1", "avatar_url": "https://avatars.githubusercontent.com/u/51274745?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dunalduck0", "html_url": "https://github.com/dunalduck0", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "cc @stas00 ", "Thank you for this report, @dunalduck0 - I didn't have this \"path\" tested (or ever used it). I can reproduce the problem with a much faster:\r\n\r\n```\r\nrm -r output_dir; PYTHONPATH=src USE_TF=0 CUDA_VISIBLE_DEVICES=0 deepspeed --num_gpus=1 examples/pytorch/translation/run_translation.py --mod...
1,638
1,638
1,638
NONE
null
## Environment info - `transformers` version: 4.13.0.dev0 - Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.17 - Python version: 3.8.10 - PyTorch version (GPU?): 1.10.0+cu113 (True) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.3.6 (cpu) - Jax version: 0.2.25 - JaxLib ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14628/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14627
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14627/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14627/comments
https://api.github.com/repos/huggingface/transformers/issues/14627/events
https://github.com/huggingface/transformers/issues/14627
1,071,398,972
I_kwDOCUB6oc4_3EA8
14,627
How to separate multiturn dialog context in blenderbot?
{ "login": "LiShaoyu5", "id": 37066594, "node_id": "MDQ6VXNlcjM3MDY2NTk0", "avatar_url": "https://avatars.githubusercontent.com/u/37066594?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LiShaoyu5", "html_url": "https://github.com/LiShaoyu5", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,638
1,641
1,641
NONE
null
Hello. I want to perform multiturn dialog with blenderbot model. I followed the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/blenderbot#transformers.BlenderbotForConditionalGeneration) and here's the code: ``` chat_history = [] uttr_sep = '</s> <s>' while(True): UTTR_input = i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14627/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14626
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14626/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14626/comments
https://api.github.com/repos/huggingface/transformers/issues/14626/events
https://github.com/huggingface/transformers/pull/14626
1,071,296,791
PR_kwDOCUB6oc4vZUgU
14,626
fix a typo
{ "login": "yuchenlin", "id": 10104354, "node_id": "MDQ6VXNlcjEwMTA0MzU0", "avatar_url": "https://avatars.githubusercontent.com/u/10104354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuchenlin", "html_url": "https://github.com/yuchenlin", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@patil-suraj" ]
1,638
1,638
1,638
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/14626/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14626/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14626", "html_url": "https://github.com/huggingface/transformers/pull/14626", "diff_url": "https://github.com/huggingface/transformers/pull/14626.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14626.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14625
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14625/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14625/comments
https://api.github.com/repos/huggingface/transformers/issues/14625/events
https://github.com/huggingface/transformers/pull/14625
1,071,226,516
PR_kwDOCUB6oc4vZHWh
14,625
Updated deberta attention
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Thanks @guillaume-be!\r\n\r\nI'm worried that this would break models that have `p2p` as a `pos_att_type`. I think putting the following in the configuration initialisation would be safer:\r\n```py\r\nself.pos_att_type = pos_att_type if pos_att_type != \"p2p\" else \"p2c\" \r\n```\r\n\r\nOr something like this, st...
1,638
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? This PR simplifies the current DeBERTa implementation that handles an attention type that was eventually not implemented. It removes unused code, simplifies the model logic branching and avoids unnecessary calculations. <!-- Remove if not applicable --> Fixes https://github.com/huggingf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14625/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14625", "html_url": "https://github.com/huggingface/transformers/pull/14625", "diff_url": "https://github.com/huggingface/transformers/pull/14625.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14625.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14624
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14624/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14624/comments
https://api.github.com/repos/huggingface/transformers/issues/14624/events
https://github.com/huggingface/transformers/pull/14624
1,071,217,331
PR_kwDOCUB6oc4vZFrj
14,624
updated pytorch token-classification readme
{ "login": "kamalkraj", "id": 17096858, "node_id": "MDQ6VXNlcjE3MDk2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamalkraj", "html_url": "https://github.com/kamalkraj", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,638
1,642
1,638
CONTRIBUTOR
null
# What does this PR do? Adds proper arguments to the readme. <!-- 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 con...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14624/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14624", "html_url": "https://github.com/huggingface/transformers/pull/14624", "diff_url": "https://github.com/huggingface/transformers/pull/14624.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14624.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14623
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14623/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14623/comments
https://api.github.com/repos/huggingface/transformers/issues/14623/events
https://github.com/huggingface/transformers/pull/14623
1,071,172,900
PR_kwDOCUB6oc4vY9p0
14,623
Auto processor fix
{ "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
[]
[ "I'm OOO on Monday/Tuesday so feel free to merge this so that it doesn't block Wednesday's release." ]
1,638
1,638
1,638
MEMBER
null
Reverts the `AutoProcessor` magic.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14623/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14623/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14623", "html_url": "https://github.com/huggingface/transformers/pull/14623", "diff_url": "https://github.com/huggingface/transformers/pull/14623.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14623.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14622
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14622/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14622/comments
https://api.github.com/repos/huggingface/transformers/issues/14622/events
https://github.com/huggingface/transformers/issues/14622
1,071,165,069
I_kwDOCUB6oc4_2K6N
14,622
[Quick poll] Give your opinion on the future of the Hugging Face Open Source ecosystem!
{ "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
[]
[ "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/master/CONTRIBUTING.md)...
1,638
1,641
1,641
MEMBER
null
Thanks to all of you, Transformers just passed 55k :star2: this week! Since the last survey, we've expanded our efforts into vision and speech, and the community now actively contributes to the [model hub](https://hf.co/models) and [datasets hub](https://hf.co/datasets); so this survey isn't solely focused around `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14622/reactions", "total_count": 9, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14622/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14621
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14621/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14621/comments
https://api.github.com/repos/huggingface/transformers/issues/14621/events
https://github.com/huggingface/transformers/issues/14621
1,071,160,134
I_kwDOCUB6oc4_2JtG
14,621
DeBERTa `p2p` attention type is not used
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Thanks for reporting! Pinging @BigBird01 for advice :)", "Yes, P2P is not used actually. In our previous experiments, we run with P2P for ablation study and finally we didn't apply it due to the additional cost and marginal performance improvement. Please feel free to remove it." ]
1,638
1,640
1,640
CONTRIBUTOR
null
### Who can help DeBERTa: @LysandreJik ## Information The current implementation of DeBERTa handles 3 types of attentions: `p2c`, `c2p` and `p2p` with complex branching handling the different types of attentions that may be provided by the user. It is my current understanding that the `p2p` attention currently d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14621/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14620
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14620/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14620/comments
https://api.github.com/repos/huggingface/transformers/issues/14620/events
https://github.com/huggingface/transformers/pull/14620
1,071,029,662
PR_kwDOCUB6oc4vYidN
14,620
Implement head_mask for Flax BERT and other models copied from BERT
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "Hi @patil-suraj, thank you a lot for the review. I commented on the issue with BigBird head-masking. As I mentioned, I tried to follow the current `PyTorch` implementation, and I'm definitely willing to have a look at handling head masking for different attention mechanisms.", "I forgot to write this earlier, do...
1,638
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? This PR implements attention head masking for Flax BERT models, and other models copied from BERT, i.e. Roberta, BigBird, Electra. This PR thus narrows the gap between Flax and other implementations. ## Before submitting - [x] Did you read the [contributor guideline](https://github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14620/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14620", "html_url": "https://github.com/huggingface/transformers/pull/14620", "diff_url": "https://github.com/huggingface/transformers/pull/14620.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14620.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14619
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14619/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14619/comments
https://api.github.com/repos/huggingface/transformers/issues/14619/events
https://github.com/huggingface/transformers/issues/14619
1,070,982,674
I_kwDOCUB6oc4_1eYS
14,619
Getting ambiguous messages for SummarizationPipeline
{ "login": "NouamaneTazi", "id": 29777165, "node_id": "MDQ6VXNlcjI5Nzc3MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NouamaneTazi", "html_url": "https://github.com/NouamaneTazi", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I tried to fix this in this PR #14618", "Fixed in #14618 " ]
1,638
1,638
1,638
MEMBER
null
When working with the SummarizationPipeline I get errors every input of type `Your max_length is set to 50, but you input_length is only 46. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14619/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14618
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14618/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14618/comments
https://api.github.com/repos/huggingface/transformers/issues/14618/events
https://github.com/huggingface/transformers/pull/14618
1,070,981,648
PR_kwDOCUB6oc4vYZkO
14,618
quick fix SummarizationPipeline error messages
{ "login": "NouamaneTazi", "id": 29777165, "node_id": "MDQ6VXNlcjI5Nzc3MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NouamaneTazi", "html_url": "https://github.com/NouamaneTazi", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Pinging @Narsil and @patrickvonplaten ", "Thanks for your contribution @NouamaneTazi :)\r\n\r\nYou have an error in your code quality; do you mind running the following commands at the root of your clone?\r\n```\r\npip install -e \".[quality\"]\r\nmake fixup\r\n```\r\n\r\nThis should fix most quality issues and ...
1,638
1,638
1,638
MEMBER
null
Fix error messages to avoid spam errors, and errors of type: `Your max_length is set to 50, but you input_length is only 46. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14618/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14618", "html_url": "https://github.com/huggingface/transformers/pull/14618", "diff_url": "https://github.com/huggingface/transformers/pull/14618.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14618.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14617
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14617/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14617/comments
https://api.github.com/repos/huggingface/transformers/issues/14617/events
https://github.com/huggingface/transformers/pull/14617
1,070,868,749
PR_kwDOCUB6oc4vYCo7
14,617
[urls to hub] Replace outdated model tags with their now-canonical pipeline types
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "also cc'ing @osanseviero for info before merging!" ]
1,638
1,638
1,638
MEMBER
null
> ### [Internal tracker 🌔 ](https://github.com/huggingface/moon-landing/pull/1558) #### Context: On the hub side, we are using the metadata generated by transformers (hat/tip @sgugger) to replace the pattern matching, BUT I'm also proposing to take this opportunity to remove the `lm-head`, `seq2seq`, `causal-lm`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14617/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14617/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14617", "html_url": "https://github.com/huggingface/transformers/pull/14617", "diff_url": "https://github.com/huggingface/transformers/pull/14617.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14617.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14616
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14616/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14616/comments
https://api.github.com/repos/huggingface/transformers/issues/14616/events
https://github.com/huggingface/transformers/pull/14616
1,070,787,785
PR_kwDOCUB6oc4vXxnh
14,616
Fix doc builder
{ "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
[]
[ "Passing! Updated and merging" ]
1,638
1,638
1,638
MEMBER
null
Hotfix to fix the doc-builder
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14616/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14616/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14616", "html_url": "https://github.com/huggingface/transformers/pull/14616", "diff_url": "https://github.com/huggingface/transformers/pull/14616.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14616.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14615
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14615/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14615/comments
https://api.github.com/repos/huggingface/transformers/issues/14615/events
https://github.com/huggingface/transformers/issues/14615
1,070,553,188
I_kwDOCUB6oc4_z1hk
14,615
Bigger batch size decrease the throughput.
{ "login": "dancingpipi", "id": 20511825, "node_id": "MDQ6VXNlcjIwNTExODI1", "avatar_url": "https://avatars.githubusercontent.com/u/20511825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dancingpipi", "html_url": "https://github.com/dancingpipi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,638
1,641
1,641
CONTRIBUTOR
null
I'm training bert-base-uncased from scratch, single node, 8xA100, if increase the batch size, the throughput decrease, detail is: - set batch size to 256, the throughput is 7000 sample/s, GPU Utilization rate 80% - set batch size to 384(while full gpu memory), the throughput is 4000 sample/s, GPU Utilization rate 3...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14615/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14614
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14614/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14614/comments
https://api.github.com/repos/huggingface/transformers/issues/14614/events
https://github.com/huggingface/transformers/issues/14614
1,070,520,152
I_kwDOCUB6oc4_ztdY
14,614
datasets doesn't support NSP? should I implement my custom DataCollator or function for dataset.map?
{ "login": "dancingpipi", "id": 20511825, "node_id": "MDQ6VXNlcjIwNTExODI1", "avatar_url": "https://avatars.githubusercontent.com/u/20511825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dancingpipi", "html_url": "https://github.com/dancingpipi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Pinging @sgugger ", "Yes, you have to implement your own function for preprocessing the data.", "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 t...
1,638
1,644
1,644
CONTRIBUTOR
null
As the title, I haven't find NSP dataset, there is only transformers.TextDatasetForNextSentencePrediction, but it's not work while loading data by `load_dataset(...)`. So have I to implement my custom DataCollator or function for dataset.map? Which one is better? Or I miss something?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14614/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14614/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14613
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14613/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14613/comments
https://api.github.com/repos/huggingface/transformers/issues/14613/events
https://github.com/huggingface/transformers/issues/14613
1,070,514,597
I_kwDOCUB6oc4_zsGl
14,613
Running Pipeline batching code from documentation returns TypeError: _batch_encode_plus() got an unexpected keyword argument 'batch_size' on Colab.
{ "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
[]
[ "Hello! Could you install from the `master` branch and give it another try?\r\n\r\n```py\r\npip uninstall transformers\r\npip install git+https://github.com/huggingface/transformers\r\n# Restart colab runtime\r\n```\r\n\r\nThe current documentation is `master` as we're trying out the new frontend; thanks for your u...
1,638
1,641
1,638
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.12.5 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14613/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14613/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14612
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14612/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14612/comments
https://api.github.com/repos/huggingface/transformers/issues/14612/events
https://github.com/huggingface/transformers/issues/14612
1,070,474,277
I_kwDOCUB6oc4_ziQl
14,612
Scores returned by beam search are not useful
{ "login": "felix-schneider", "id": 208336, "node_id": "MDQ6VXNlcjIwODMzNg==", "avatar_url": "https://avatars.githubusercontent.com/u/208336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felix-schneider", "html_url": "https://github.com/felix-schneider", "followers_url": "https://api.git...
[]
closed
false
null
[]
[ "For anyone else looking for the same thing: I edited the original post to add some different ways to get the actual probabilities. I think the forward pass (the last option) is the only one guaranteed to be correct, but also the slowest.\r\n\r\nIt would be much easier if we just got this output out of beam search....
1,638
1,643
1,643
NONE
null
## Environment info - `transformers` version: 4.12.3 - Platform: Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core - Python version: 3.7.11 - PyTorch version (GPU?): 1.9.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14612/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14611
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14611/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14611/comments
https://api.github.com/repos/huggingface/transformers/issues/14611/events
https://github.com/huggingface/transformers/issues/14611
1,070,454,982
I_kwDOCUB6oc4_zdjG
14,611
Got extra_id_%d when generating texts, and %d is negative.
{ "login": "Cthericy", "id": 40557201, "node_id": "MDQ6VXNlcjQwNTU3MjAx", "avatar_url": "https://avatars.githubusercontent.com/u/40557201?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cthericy", "html_url": "https://github.com/Cthericy", "followers_url": "https://api.github.com/users/Cth...
[]
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/master/CONTRIBUTING.md)...
1,638
1,641
1,641
NONE
null
Mission: Translate Graph to English. In generation_utils.py _generate_beam_search() After getting next_scores and next_tokens, i was tring to generate texts using the next_tokens with the second highest next_scores. But i got ids which converts to be <extra_id_%d>, and %d is a negative number. Anyone got some ide...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14611/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14611/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14610
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14610/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14610/comments
https://api.github.com/repos/huggingface/transformers/issues/14610/events
https://github.com/huggingface/transformers/pull/14610
1,070,448,104
PR_kwDOCUB6oc4vWp7P
14,610
2022 is the year of multi-modality
{ "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
[]
[ "Thank you all for your contributions to the README!" ]
1,638
1,638
1,638
MEMBER
null
Long overdue update of the README
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14610/reactions", "total_count": 39, "+1": 8, "-1": 0, "laugh": 6, "hooray": 7, "confused": 0, "heart": 8, "rocket": 9, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/14610/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14610", "html_url": "https://github.com/huggingface/transformers/pull/14610", "diff_url": "https://github.com/huggingface/transformers/pull/14610.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14610.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14609
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14609/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14609/comments
https://api.github.com/repos/huggingface/transformers/issues/14609/events
https://github.com/huggingface/transformers/issues/14609
1,070,306,600
I_kwDOCUB6oc4_y5Uo
14,609
Unable to load mT5 with MT5Model.from_pretrained("google/mt5-small")
{ "login": "Xuanfang1121", "id": 33194029, "node_id": "MDQ6VXNlcjMzMTk0MDI5", "avatar_url": "https://avatars.githubusercontent.com/u/33194029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xuanfang1121", "html_url": "https://github.com/Xuanfang1121", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @Xuanfang1121 !\r\n\r\nYou are loading `MT5Model` , which loads the base model without the `lm_head`, so when loading the pre-trained weights the `lm_head.weight` is ignored. \r\n\r\nIf you want to load the model for conditional generation training or inference then you should use the `MT5ForConditionalGenerati...
1,638
1,639
1,639
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: win10 - Python version: 3.6 - PyTorch version (GPU?): pytorch==1.8.1 - Tensorflow version (GPU?): - Using GPU in script?: - Using distributed or parallel set-up in script?: ### Who can help @LysandreJik@patrickvonplaten, @patil-suraj ## Infor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14609/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14609/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14608
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14608/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14608/comments
https://api.github.com/repos/huggingface/transformers/issues/14608/events
https://github.com/huggingface/transformers/issues/14608
1,070,247,084
I_kwDOCUB6oc4_yqys
14,608
[Benchmark] HF Trainer on RTX-3090
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2604155188, "node_id": "MDU6TGFiZWwyNjA0MTU1MTg4", "url": "https://api.github.com/repos/huggingface/transformers/labels/Benchmarks", "name": "Benchmarks", "color": "2DF372", "default": false, "description": "Issues related to Memory regressions in tests and scripts" }, { ...
open
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "### Diagnostics of T5 slowness under TF32 \r\n\r\nBy Eddie Yan (re-pasted from torch slack)\r\n\r\nHere is update/summary after investigating the T5 model further:\r\n\r\nThe lack of speedup in TF32 can be attributed to bottlenecks in non-GEMM ops (e.g., pointwise ops in custom unfused LayerNorm and custom AdamW ...
1,638
1,642
null
CONTRIBUTOR
null
# 🖥 Benchmarking `transformers` w/ HF Trainer on RTX-3090 We are going to use a special benchmarking tool that will do all the work for us. https://github.com/huggingface/transformers/pull/14934 This is the index post and specific benchmarks are in their own posts below: 1. [fp16 vs bf16 vs tf32 vs fp32](http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14608/reactions", "total_count": 15, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 11, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14608/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/14607
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14607/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14607/comments
https://api.github.com/repos/huggingface/transformers/issues/14607/events
https://github.com/huggingface/transformers/pull/14607
1,070,128,209
PR_kwDOCUB6oc4vVnsm
14,607
[CI] move env print to util, add pt, nccl versions
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
This PR: - moves multiple python one liners to print pt env into a script - this is both faster and easier to maintain - adds torch version - adds NCCL version (could remove if it's useless info, i just thought it might be useful in certain situations) @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14607/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14607", "html_url": "https://github.com/huggingface/transformers/pull/14607", "diff_url": "https://github.com/huggingface/transformers/pull/14607.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14607.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14606
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14606/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14606/comments
https://api.github.com/repos/huggingface/transformers/issues/14606/events
https://github.com/huggingface/transformers/pull/14606
1,070,096,309
PR_kwDOCUB6oc4vVhJ8
14,606
[trainer] add tf32-mode control
{ "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 benchmarks are terrible: https://github.com/huggingface/transformers/issues/14608\r\ngoing to ask for advice from the pytorch experts" ]
1,638
1,638
1,638
CONTRIBUTOR
null
This PR adds tr32-mode control support for HF Trainer for Ampere cards. RFC: https://github.com/huggingface/transformers/issues/14450 pytorch had this mode on by default since pt-1.7, but are discussing to turn it off in the coming new release. https://github.com/pytorch/pytorch/issues/67384 Here is the proposed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14606/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14606/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14606", "html_url": "https://github.com/huggingface/transformers/pull/14606", "diff_url": "https://github.com/huggingface/transformers/pull/14606.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14606.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14605
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14605/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14605/comments
https://api.github.com/repos/huggingface/transformers/issues/14605/events
https://github.com/huggingface/transformers/issues/14605
1,069,933,943
I_kwDOCUB6oc4_xeV3
14,605
[Flax] Add Flax implementation of `RoFormer`
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
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/master/CONTRIBUTING.md)...
1,638
1,641
1,641
CONTRIBUTOR
null
# 🚀 Feature request Add Flax implementation of `RoFormer` models. ## Motivation Improve the level of Flax/Jax support. ## Your contribution I'll be glad to work on this :]
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14605/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14605/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14604
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14604/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14604/comments
https://api.github.com/repos/huggingface/transformers/issues/14604/events
https://github.com/huggingface/transformers/issues/14604
1,069,846,688
I_kwDOCUB6oc4_xJCg
14,604
HF space specific issue: can't import `AutoModelForSeq2SeqLM` from `transformers==4.6.1` with `torch` installed
{ "login": "aseifert", "id": 4944799, "node_id": "MDQ6VXNlcjQ5NDQ3OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/4944799?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aseifert", "html_url": "https://github.com/aseifert", "followers_url": "https://api.github.com/users/aseif...
[]
closed
false
null
[]
[ "cc @cbensimon ", "Thank you for flagging this issue @aseifert ! \r\n\r\n~I was able to reproduce this locally in `conda` using:~\r\n\r\n```\r\nconda create -n buggy-space python=3.8 && conda activate bugg-space\r\npip install transformers==4.6.1 torch==1.10.0\r\n```\r\n\r\n~followed by running the following insi...
1,638
1,642
1,642
NONE
null
For some reason I can't import `AutoModelForSeq2SeqLM` when running on hf space AND having installed `torch==1.10.0`. ## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14604/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14603
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14603/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14603/comments
https://api.github.com/repos/huggingface/transformers/issues/14603/events
https://github.com/huggingface/transformers/issues/14603
1,069,628,477
I_kwDOCUB6oc4_wTw9
14,603
Recover when the `sha` of the local file is not correct.
{ "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
[]
[ "That's interesting. We have the `force_download` option which you can use to force a redownload in case of a corrupted file, but your approach doesn't have any drawbacks that I am aware of.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs ...
1,638
1,642
1,642
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: `master` (probably any version) - Platform: ubuntu - Python version: 3.9 - PyTorch version (GPU?): 1.10 - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14603/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14603/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14602
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14602/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14602/comments
https://api.github.com/repos/huggingface/transformers/issues/14602/events
https://github.com/huggingface/transformers/issues/14602
1,069,569,741
I_kwDOCUB6oc4_wFbN
14,602
Can you add a fast tokenizer for the ByT5 model?
{ "login": "vitalyshalumov", "id": 33824221, "node_id": "MDQ6VXNlcjMzODI0MjIx", "avatar_url": "https://avatars.githubusercontent.com/u/33824221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vitalyshalumov", "html_url": "https://github.com/vitalyshalumov", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @vitalyshalumov ,\r\n\r\nDo you have any suggestions as to why we should do that ? `ByT5` operates on bytes directly, so no real tokenization is needed there, offloading work to rust might actually be counterproductive there.", "> \r\nThere are several features of the Fast tokenizers that are utilised in the ...
1,638
1,641
1,641
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14602/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14601
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14601/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14601/comments
https://api.github.com/repos/huggingface/transformers/issues/14601/events
https://github.com/huggingface/transformers/issues/14601
1,069,492,840
I_kwDOCUB6oc4_vypo
14,601
Error loading Speech2Text2Processor.from_pretrained("facebook/wav2vec2-xls-r-2b-21-to-en")
{ "login": "ShRajSh", "id": 92710582, "node_id": "U_kgDOBYamtg", "avatar_url": "https://avatars.githubusercontent.com/u/92710582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShRajSh", "html_url": "https://github.com/ShRajSh", "followers_url": "https://api.github.com/users/ShRajSh/follow...
[]
closed
false
{ "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://...
[ { "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", "follo...
[ "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/master/CONTRIBUTING.md)...
1,638
1,643
1,643
NONE
null
- `transformers` version: 4.12.5 - Platform: Linux-5.4.0-90-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.9.0+cu102 (True) - Tensorflow version (GPU?): 2.6.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14601/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/14601/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14600
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14600/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14600/comments
https://api.github.com/repos/huggingface/transformers/issues/14600/events
https://github.com/huggingface/transformers/pull/14600
1,069,439,780
PR_kwDOCUB6oc4vTWIy
14,600
change tf.math.divide with int(/) in distilbert model
{ "login": "yis11178", "id": 73350188, "node_id": "MDQ6VXNlcjczMzUwMTg4", "avatar_url": "https://avatars.githubusercontent.com/u/73350188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yis11178", "html_url": "https://github.com/yis11178", "followers_url": "https://api.github.com/users/yis...
[]
closed
false
null
[]
[ "This is a simple change with a clear rationale, and all tests pass, so I'm happy to merge it. Thank you for this PR!" ]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? This PR changes `tf.math.divide` with `int( / )` for variable `dim_per_head`. Originally `dim_per_head` is returned as a `float64` tensor and is included in the TF graph. This is not supported by some machines and there is not a solid reason to include it into the TF graph. Hence, this PR r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14600/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14600/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14600", "html_url": "https://github.com/huggingface/transformers/pull/14600", "diff_url": "https://github.com/huggingface/transformers/pull/14600.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14600.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14599
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14599/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14599/comments
https://api.github.com/repos/huggingface/transformers/issues/14599/events
https://github.com/huggingface/transformers/pull/14599
1,069,398,110
PR_kwDOCUB6oc4vTNSA
14,599
Add Flax example 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
[]
[]
1,638
1,638
1,638
MEMBER
null
# What does this PR do? This PR adds tests for flax examples. The test for image-classification example is not added since the script uses a manual dataset with `torchvision`. The test will be added once the script is refactored to use `datasets`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14599/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14599", "html_url": "https://github.com/huggingface/transformers/pull/14599", "diff_url": "https://github.com/huggingface/transformers/pull/14599.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14599.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14598
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14598/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14598/comments
https://api.github.com/repos/huggingface/transformers/issues/14598/events
https://github.com/huggingface/transformers/pull/14598
1,069,301,251
PR_kwDOCUB6oc4vS4y_
14,598
Python 3.6 -> Python 3.7 for TF runs
{ "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
[]
[ "Thanks for fixing!" ]
1,638
1,638
1,638
MEMBER
null
Fix the last CircleCI job that was not updated
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14598/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/14598/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14598", "html_url": "https://github.com/huggingface/transformers/pull/14598", "diff_url": "https://github.com/huggingface/transformers/pull/14598.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14598.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14597
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14597/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14597/comments
https://api.github.com/repos/huggingface/transformers/issues/14597/events
https://github.com/huggingface/transformers/pull/14597
1,069,262,241
PR_kwDOCUB6oc4vSwx9
14,597
Adds a git pull instruction to the documentation builder
{ "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
[]
[ "you could do it even later, i.e. 1/ building the doc to a temp folder, 2/ pulling, 3/ mv'ing the doc (instant), 4/ pushing" ]
1,638
1,638
1,638
MEMBER
null
If two consecutive commits happen in rapid succession, then the clone of the doc-builder repository might not be updated by the time the pip installations are over. This greatly reduces the risk this happens by putting a `git pull` instruction after the environment setup.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14597/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14597/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14597", "html_url": "https://github.com/huggingface/transformers/pull/14597", "diff_url": "https://github.com/huggingface/transformers/pull/14597.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14597.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14596
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14596/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14596/comments
https://api.github.com/repos/huggingface/transformers/issues/14596/events
https://github.com/huggingface/transformers/issues/14596
1,069,222,781
I_kwDOCUB6oc4_uwt9
14,596
Hubert-base Model with new tokenizer is not converging
{ "login": "harrypotter90", "id": 15175500, "node_id": "MDQ6VXNlcjE1MTc1NTAw", "avatar_url": "https://avatars.githubusercontent.com/u/15175500?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harrypotter90", "html_url": "https://github.com/harrypotter90", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I have checked the labels which i feed in and seems to be ok\r\n\r\n```\r\nADAM ANDREASSON\r\n[3, 6, 3, 15, 2, 3, 16, 6, 20, 7, 3, 21, 21, 17, 16]\r\n```", "After 20,000 iterations, it only learns char '3', which must be quite unusual or wrong configuration somewhere. \r\n\r\nMy training and test data is same fo...
1,638
1,690
1,641
NONE
null
## Environment info - transformers version: 4.12.2 - Platform: Mac - Python version: 3.7 - PyTorch version (GPU?): 1.9 - Tensorflow version (GPU?): No - Using GPU in script?: No - Using distributed or parallel set-up in script?: No I just run simple code to load Hubert pretrained base model ``` vocab_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14596/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/14596/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14595
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14595/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14595/comments
https://api.github.com/repos/huggingface/transformers/issues/14595/events
https://github.com/huggingface/transformers/issues/14595
1,068,970,273
I_kwDOCUB6oc4_tzEh
14,595
GPT-2 Model wrapped in DataParallel hangs immediately
{ "login": "kuchenrolle", "id": 20798845, "node_id": "MDQ6VXNlcjIwNzk4ODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/20798845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kuchenrolle", "html_url": "https://github.com/kuchenrolle", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The script executes without any problem on my side (two Titans, PyTorch 1.10 and CUDA 10.2), so there is nothing wrong with the model per se. How are you launching the script?", "I was afraid that would be the case and I'm facing a driver issue or something. I am launching simply with `python script.py`, where s...
1,638
1,643
1,642
NONE
null
## Environment info - `transformers` version: 4.12.5 - Platform: Linux-3.10.0-1160.24.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.5 - PyTorch version (GPU?): 1.10.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14595/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14595/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14594
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14594/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14594/comments
https://api.github.com/repos/huggingface/transformers/issues/14594/events
https://github.com/huggingface/transformers/pull/14594
1,068,965,328
PR_kwDOCUB6oc4vRzAY
14,594
Rename toctree.yml -> _toctree.yml
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? As suggested by @Pierrci > it was easier to distinguish "special" files in the build output before IMO <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14594/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14594", "html_url": "https://github.com/huggingface/transformers/pull/14594", "diff_url": "https://github.com/huggingface/transformers/pull/14594.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14594.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14593
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14593/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14593/comments
https://api.github.com/repos/huggingface/transformers/issues/14593/events
https://github.com/huggingface/transformers/pull/14593
1,068,938,151
PR_kwDOCUB6oc4vRtR5
14,593
Update doc img links
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? Companion PR for https://github.com/huggingface/doc-builder/pull/34 TLDR: all doc img links (both rst & md) should be in format `/imgs/xyz.png` <!-- 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 w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14593/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14593/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14593", "html_url": "https://github.com/huggingface/transformers/pull/14593", "diff_url": "https://github.com/huggingface/transformers/pull/14593.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14593.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14592
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14592/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14592/comments
https://api.github.com/repos/huggingface/transformers/issues/14592/events
https://github.com/huggingface/transformers/issues/14592
1,068,821,422
I_kwDOCUB6oc4_tOuu
14,592
Version 4.12.5 doesn't work on sagemaker
{ "login": "dylanpmorgan", "id": 10521443, "node_id": "MDQ6VXNlcjEwNTIxNDQz", "avatar_url": "https://avatars.githubusercontent.com/u/10521443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dylanpmorgan", "html_url": "https://github.com/dylanpmorgan", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hmm @philschmid ", "And @sgugger ", "+1, ran into the exact same issue yesterday on `4.12.5`. Didn't try other versions exhaustively, but `4.12.2` worked.", "This is the same error as with DeepSpeed, I'm guessing they are using a similar thing with the hooks not being allowed to be mutated. This is fixed on ...
1,638
1,641
1,641
NONE
null
## Environment info - `transformers` version: 4.12.5 - Platform: sagemaker - Python version: 3.6 - PyTorch version (GPU?): 1.8.1 GPU - Using GPU in script?: yes, using sagemaker instance - Using distributed or parallel set-up in script?: no ## Information I have code that I am using to train on sagemaker. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14592/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/14592/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14591
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14591/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14591/comments
https://api.github.com/repos/huggingface/transformers/issues/14591/events
https://github.com/huggingface/transformers/pull/14591
1,068,787,556
PR_kwDOCUB6oc4vRNKL
14,591
update deprecating `transformers-cli` to `huggingface-cli` in docs
{ "login": "fcakyon", "id": 34196005, "node_id": "MDQ6VXNlcjM0MTk2MDA1", "avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fcakyon", "html_url": "https://github.com/fcakyon", "followers_url": "https://api.github.com/users/fcakyo...
[]
closed
false
null
[]
[ "looks good to me!", "Thanks @fcakyon!\r\n\r\nThis page seriously needs an update, and I believe some methods here don't exist in `huggingface-cli` ...\r\n\r\nWe should probably just link to the following: https://huggingface.co/docs/hub/adding-a-model", "This issue has been automatically marked as stale becaus...
1,638
1,641
1,641
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14591/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14591", "html_url": "https://github.com/huggingface/transformers/pull/14591", "diff_url": "https://github.com/huggingface/transformers/pull/14591.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14591.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14590
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14590/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14590/comments
https://api.github.com/repos/huggingface/transformers/issues/14590/events
https://github.com/huggingface/transformers/pull/14590
1,068,738,700
PR_kwDOCUB6oc4vRCz7
14,590
Doc new front
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "🤯" ]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR switches the current documentation to the new frontend. It is safe to merge as long as we deploy the new front soon enough, but in the meantime it will just stop deploying the doc using the current system.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14590/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14590/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14590", "html_url": "https://github.com/huggingface/transformers/pull/14590", "diff_url": "https://github.com/huggingface/transformers/pull/14590.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14590.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14589
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14589/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14589/comments
https://api.github.com/repos/huggingface/transformers/issues/14589/events
https://github.com/huggingface/transformers/pull/14589
1,068,717,503
PR_kwDOCUB6oc4vQ-SP
14,589
Fix doc interlinks
{ "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
[]
[]
1,638
1,638
1,638
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/14589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14589/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14589", "html_url": "https://github.com/huggingface/transformers/pull/14589", "diff_url": "https://github.com/huggingface/transformers/pull/14589.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14589.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14588
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14588/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14588/comments
https://api.github.com/repos/huggingface/transformers/issues/14588/events
https://github.com/huggingface/transformers/pull/14588
1,068,686,078
PR_kwDOCUB6oc4vQ3op
14,588
Make DefaultDataCollator importable from root
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
MEMBER
null
This is a small PR to fix an oversight - the DefaultDataCollator class was not importable from root (this is separate from the `default_data_collator` function). It also adds some missing docstring arguments, and the missing docstring for DefaultDataCollator.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14588/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14588", "html_url": "https://github.com/huggingface/transformers/pull/14588", "diff_url": "https://github.com/huggingface/transformers/pull/14588.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14588.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14587
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14587/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14587/comments
https://api.github.com/repos/huggingface/transformers/issues/14587/events
https://github.com/huggingface/transformers/issues/14587
1,068,522,404
I_kwDOCUB6oc4_sFuk
14,587
Config overrides option working on any kind of config
{ "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
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "If I remember correctly, it's because the transformers logic prevents us from overriding config if either of those 2 are defined.\r\n\r\nI'm sure you will see it immediately if you remove the constraint.\r\n\r\nIf you find a good way to fix it, by all means please do.", "This issue has been automatically marked ...
1,638
1,641
1,641
MEMBER
null
# 🚀 Feature request Allow the `--config_overrides` option in language-modeling examples to override a config that was specified by `--config_name` or `--model_name_or_path`, currently this is blocked by: ```python if self.config_overrides is not None and (self.config_name is not None or self.model_name_or_path is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14587/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14587/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14586
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14586/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14586/comments
https://api.github.com/repos/huggingface/transformers/issues/14586/events
https://github.com/huggingface/transformers/pull/14586
1,068,429,964
PR_kwDOCUB6oc4vQAY1
14,586
Add ONNX support for MarianMT models
{ "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
[]
[ "There seems to be some sort of race condition happening in `run_tests_torch`:\r\n\r\n```\r\n_____________________________ ERROR collecting gw1 _____________________________\r\nDifferent tests were collected between gw0 and gw1. The difference is:\r\n--- gw0\r\n\r\n+++ gw1\r\n```\r\n\r\n[This issue](https://github....
1,638
1,664
1,640
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/14586/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14586/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14586", "html_url": "https://github.com/huggingface/transformers/pull/14586", "diff_url": "https://github.com/huggingface/transformers/pull/14586.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14586.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14585
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14585/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14585/comments
https://api.github.com/repos/huggingface/transformers/issues/14585/events
https://github.com/huggingface/transformers/issues/14585
1,068,294,541
I_kwDOCUB6oc4_rOGN
14,585
Deberta's Enhanced Masked Decoder
{ "login": "avacaondata", "id": 35173563, "node_id": "MDQ6VXNlcjM1MTczNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avacaondata", "html_url": "https://github.com/avacaondata", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The implementation of Enhanced Mask Decoder was here, https://github.com/microsoft/DeBERTa/blob/master/DeBERTa/apps/models/masked_language_model.py\r\nWe will port the implementation to transformers.", "Hi, Alex, thanks for your interest to our work and sorry for the inconvenience. The missing EMD part will not...
1,638
1,641
1,641
NONE
null
# 🚀 Feature request I don't know if this is a feature request or the feature is already included but I wasn't able to find it. Reviewing Deberta's code, I tried to look for the Enhanced Masked Decoder, which is supposed to take into account absolute positional embeddings. However, when looking both DebertaModel and...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14585/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14585/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14584
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14584/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14584/comments
https://api.github.com/repos/huggingface/transformers/issues/14584/events
https://github.com/huggingface/transformers/issues/14584
1,068,265,525
I_kwDOCUB6oc4_rHA1
14,584
Add PoolFormer Model
{ "login": "tanaymeh", "id": 26519539, "node_id": "MDQ6VXNlcjI2NTE5NTM5", "avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tanaymeh", "html_url": "https://github.com/tanaymeh", "followers_url": "https://api.github.com/users/tan...
[ { "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,638
1,668
1,668
CONTRIBUTOR
null
# 🌟 New model addition I would like to add the recently announced [PoolFormer](https://github.com/sail-sg/poolformer) model to the Transformers library. ## Model description PoolFormer model was proposed in the paper, “**MetaFormer is Actually What You Need for Vision**” by Sea AI Lab and the main argument behi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14584/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14584/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14583
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14583/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14583/comments
https://api.github.com/repos/huggingface/transformers/issues/14583/events
https://github.com/huggingface/transformers/pull/14583
1,068,237,922
PR_kwDOCUB6oc4vPXX7
14,583
Doc misc fixes
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? 1. Fix docs/source/converting_tensorflow_models.rst 2. Delete versions.yml because https://github.com/huggingface/doc-builder/pull/31 3. Rm `pretrained_models` from toctree.yml <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14583/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14583/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14583", "html_url": "https://github.com/huggingface/transformers/pull/14583", "diff_url": "https://github.com/huggingface/transformers/pull/14583.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14583.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14582
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14582/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14582/comments
https://api.github.com/repos/huggingface/transformers/issues/14582/events
https://github.com/huggingface/transformers/pull/14582
1,068,129,143
PR_kwDOCUB6oc4vPAOF
14,582
Add W&B backend for hyperparameter sweep
{ "login": "AyushExel", "id": 15766192, "node_id": "MDQ6VXNlcjE1NzY2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/15766192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AyushExel", "html_url": "https://github.com/AyushExel", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for your PR! I will take a look at your PR and help out on tests after the holiday break - first week of January! Thanks for your patience.", "@LysandreJik Hey! any updates on this?", "Thank you for your PR, @AyushExel! All that remains is testing.\r\n\r\nYou can see an example of how it was done for `r...
1,638
1,643
1,643
CONTRIBUTOR
null
# Add support for W&B hyperparameter sweep This PR: * allows using wandb for running hyperparameter search. * The runs are visualized on W&B sweeps dashboard * This supports runnning sweeps on parallel devices, all reporting to the same central dashboard. ### Usage **To run new a hyperparameter search:** ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14582/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14582/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14582", "html_url": "https://github.com/huggingface/transformers/pull/14582", "diff_url": "https://github.com/huggingface/transformers/pull/14582.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14582.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14581
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14581/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14581/comments
https://api.github.com/repos/huggingface/transformers/issues/14581/events
https://github.com/huggingface/transformers/issues/14581
1,068,127,182
I_kwDOCUB6oc4_qlPO
14,581
Cannot run Deepspeed inference of GPT-Neo with low_cpu_mem_usage enabled
{ "login": "Jiyeon1230", "id": 87287932, "node_id": "MDQ6VXNlcjg3Mjg3OTMy", "avatar_url": "https://avatars.githubusercontent.com/u/87287932?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jiyeon1230", "html_url": "https://github.com/Jiyeon1230", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Deepspeed Inference is not a completed product AFAIK, and it's not yet integrated into Transformers because of that. \r\n\r\nAs you can see from the trace the `transformers` library is not being used. So please re-file this issue with Deepspeed and tag @RezaYazdaniAminabadi.\r\n\r\nAny reason why you are not using...
1,638
1,638
1,638
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.12.5 - Platform: Ubuntu 18.04.6 LTS - Python version: Python 3.6.9 - PyTorch version (GPU?): 1.10.0+cu113 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14581/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14581/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14580
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14580/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14580/comments
https://api.github.com/repos/huggingface/transformers/issues/14580/events
https://github.com/huggingface/transformers/pull/14580
1,067,909,467
PR_kwDOCUB6oc4vORut
14,580
[bf16 support] tweaks
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
This PR: - validates that `--bf16`, `--bf16_full_eval` are supported by the user setup - doc improvements by @manuelciosici @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14580/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14580/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14580", "html_url": "https://github.com/huggingface/transformers/pull/14580", "diff_url": "https://github.com/huggingface/transformers/pull/14580.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14580.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14579
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14579/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14579/comments
https://api.github.com/repos/huggingface/transformers/issues/14579/events
https://github.com/huggingface/transformers/pull/14579
1,067,894,858
PR_kwDOCUB6oc4vOOhs
14,579
[doc] bf16/tf32 guide
{ "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
[]
[ "Thanks a lot for the proofreading and the corrections, @manuelciosici \r\n\r\nYou couldn't make suggestions since the PR was merged already.\r\n\r\nI applied your corrections to this ongoing PR https://github.com/huggingface/transformers/pull/14580 that collects small fixes.\r\n\r\nI even figured out how to make t...
1,638
1,638
1,638
CONTRIBUTOR
null
This PR adds performance-specific docs as a follow up to https://github.com/huggingface/transformers/pull/13207 - adds the missing `--fp16_full_eval` - adds `--bf16` and `--bf16_full_eval` - adds discussion of `tf32` This is the first pass, surely will add more down the road. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14579/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14579/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14579", "html_url": "https://github.com/huggingface/transformers/pull/14579", "diff_url": "https://github.com/huggingface/transformers/pull/14579.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14579.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14578
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14578/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14578/comments
https://api.github.com/repos/huggingface/transformers/issues/14578/events
https://github.com/huggingface/transformers/pull/14578
1,067,786,423
PR_kwDOCUB6oc4vN3of
14,578
Adapt build command to new CLI tools
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This adapts the command to the new CLI tool introduced in [this PR](https://github.com/huggingface/doc-builder/pull/32) (should be merged after as a result).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14578/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14578/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14578", "html_url": "https://github.com/huggingface/transformers/pull/14578", "diff_url": "https://github.com/huggingface/transformers/pull/14578.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14578.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14577
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14577/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14577/comments
https://api.github.com/repos/huggingface/transformers/issues/14577/events
https://github.com/huggingface/transformers/pull/14577
1,067,706,335
PR_kwDOCUB6oc4vNmn1
14,577
fix pytorch division warning by using suggested torch.div rounding_mode
{ "login": "mgoldey", "id": 659477, "node_id": "MDQ6VXNlcjY1OTQ3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/659477?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mgoldey", "html_url": "https://github.com/mgoldey", "followers_url": "https://api.github.com/users/mgoldey/fo...
[]
closed
false
null
[]
[ "Note that this argument of `torch.div` was only introduced in PyTorch 1.8.0, so this fix is not compatible with all the versions of torch we support (1.4.0 and onward). I think we will need to write a function that uses the old syntax (`//`) for older versions and only switches to the newer syntax in more recent v...
1,638
1,644
1,644
CONTRIBUTOR
null
# What does this PR do? This PR removes a warning that is repeatedly thrown with the latest releases of transformers and pytorch. example: ```shell lib/python3.7/site-packages/transformers/models/hubert/modeling_hubert.py:803: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14577/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14577/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14577", "html_url": "https://github.com/huggingface/transformers/pull/14577", "diff_url": "https://github.com/huggingface/transformers/pull/14577.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14577.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14576
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14576/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14576/comments
https://api.github.com/repos/huggingface/transformers/issues/14576/events
https://github.com/huggingface/transformers/pull/14576
1,067,690,968
PR_kwDOCUB6oc4vNjY8
14,576
[Flax] Add FlaxBlenderbotSmall
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "Good to merge for me! Sorry for being so late and causing the merge conflict now @stancld :-/ Could you fix it quickly? Then I think we're good to merge this PR", "@patrickvonplaten No worries, it's okay :] Merge conflict should be resolved.", "Thanks, @stancld! Will push the checkpoints shortly and merge :) ...
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? This PR adds `FlaxBlenderbotSmall` models. **TODO:** Add model checkpoints for flax on the Hub. Fixes #14188 ## Before submitting - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14576/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14576/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14576", "html_url": "https://github.com/huggingface/transformers/pull/14576", "diff_url": "https://github.com/huggingface/transformers/pull/14576.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14576.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14575
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14575/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14575/comments
https://api.github.com/repos/huggingface/transformers/issues/14575/events
https://github.com/huggingface/transformers/issues/14575
1,067,669,014
I_kwDOCUB6oc4_o1YW
14,575
GPT2 large trains on 1 GPU but does not fit in two.
{ "login": "aqred1", "id": 50919790, "node_id": "MDQ6VXNlcjUwOTE5Nzkw", "avatar_url": "https://avatars.githubusercontent.com/u/50919790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aqred1", "html_url": "https://github.com/aqred1", "followers_url": "https://api.github.com/users/aqred1/fo...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "This [really great document](https://huggingface.co/docs/transformers/performance), written by @stas00 , may be of help :)", "That's very interesting. There should be a bit of memory usage overhead for many gpus over 1 gpu because the latter has to sync DDP results, but not by much.\r\n\r\nWhat was the command l...
1,638
1,641
1,641
NONE
null
Hi all, I am training GPT2 from scratch with the following command: `torchrun --nproc_per_node=2 --nnodes=1 ./5.run_clm-post.py --model_name_or_path gpt2-large --train_file datasets/sample.txt --tokenizer_name myembeddings --do_train --do_eval --output_dir ./sample --evaluation_strategy epoch --num_train_epochs ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14575/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14575/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14574
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14574/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14574/comments
https://api.github.com/repos/huggingface/transformers/issues/14574/events
https://github.com/huggingface/transformers/issues/14574
1,067,330,566
I_kwDOCUB6oc4_niwG
14,574
Adafactor does not work with Resnets (or with MAML)
{ "login": "brando90", "id": 1855278, "node_id": "MDQ6VXNlcjE4NTUyNzg=", "avatar_url": "https://avatars.githubusercontent.com/u/1855278?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brando90", "html_url": "https://github.com/brando90", "followers_url": "https://api.github.com/users/brand...
[]
closed
false
null
[]
[ "@LysandreJik can you help me ping the right person for this issues?\r\n\r\nThe summary is:\r\n- using Adafactor with a Resnet results in a bug(also MAML is involved)", "Hi @brando90, `transformers` is meant as a library of model architectures more than a library of optimizers, and we're actively moving away from...
1,638
1,641
1,641
NONE
null
## Environment info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.10.3 - Platform: Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.7 - PyTorch version (GPU?): 1.9.1+cu111 (True) - Tensorflow version (GPU?): not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14574/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14574/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14573
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14573/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14573/comments
https://api.github.com/repos/huggingface/transformers/issues/14573/events
https://github.com/huggingface/transformers/pull/14573
1,067,266,833
PR_kwDOCUB6oc4vMKcO
14,573
Adding call for contribution for the S4 model
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[ { "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url"...
[ "Hi @Rocketknight1,\r\nI would like to work on this S4 model\r\n", "Hi @kamalkraj, sure thing! I thought this was quite an unusual and challenging model, but you've done some really good work in other PRs, so I think you should be able for it. Note that since the original repository is PyTorch-only, we'll probabl...
1,638
1,641
1,641
MEMBER
null
Looking for community contributors to add the S4 model! ([repo](https://github.com/HazyResearch/state-spaces), [paper](https://arxiv.org/abs/2111.00396))
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14573/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14573/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14573", "html_url": "https://github.com/huggingface/transformers/pull/14573", "diff_url": "https://github.com/huggingface/transformers/pull/14573.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14573.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14572
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14572/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14572/comments
https://api.github.com/repos/huggingface/transformers/issues/14572/events
https://github.com/huggingface/transformers/issues/14572
1,067,140,564
I_kwDOCUB6oc4_m0XU
14,572
Can’t load config for ‘/data/sentence-transformers_all-mpnet-base-v2’
{ "login": "RohanBS", "id": 24825646, "node_id": "MDQ6VXNlcjI0ODI1NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/24825646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RohanBS", "html_url": "https://github.com/RohanBS", "followers_url": "https://api.github.com/users/RohanB...
[]
closed
false
null
[]
[ "cc @nreimers @osanseviero ", "This should be fixed now, it was a data corruption issue cc @Narsil ", "@osanseviero @Narsil Still facing this issue.\r\n\r\n<img width=\"1685\" alt=\"Screenshot 2021-12-01 at 9 47 09 AM\" src=\"https://user-images.githubusercontent.com/24825646/144170950-f58f8496-e551-4534-9fa1-8...
1,638
1,641
1,641
NONE
null
Hi, I am trying to use the Accelerated Inference API and am facing this issue while using multiple sentence-transformer models. This happens when I use any input other than the auto-filled one. ![Issue](https://user-images.githubusercontent.com/24825646/144041847-8876f029-8762-41ef-9bcd-9c43fac282d5.png) @pati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14572/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14572/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14571
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14571/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14571/comments
https://api.github.com/repos/huggingface/transformers/issues/14571/events
https://github.com/huggingface/transformers/pull/14571
1,066,982,075
PR_kwDOCUB6oc4vLOjc
14,571
Delete versions.yml from transformers doc
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? With https://github.com/huggingface/doc-builder/pull/31, versions.yml file & logic is handled on the doc-builder side <!-- 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 ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14571/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14571/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14571", "html_url": "https://github.com/huggingface/transformers/pull/14571", "diff_url": "https://github.com/huggingface/transformers/pull/14571.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14571.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14570
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14570/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14570/comments
https://api.github.com/repos/huggingface/transformers/issues/14570/events
https://github.com/huggingface/transformers/pull/14570
1,066,888,773
PR_kwDOCUB6oc4vK7Wp
14,570
Add mLUKE
{ "login": "ryokan0123", "id": 17979572, "node_id": "MDQ6VXNlcjE3OTc5NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryokan0123", "html_url": "https://github.com/ryokan0123", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thank you for reviewing, @NielsRogge!\r\nI’ve reflected the reviews to the code and also added mLUKE to the Multilingual-models section in the doc.", "Thanks for taking into account the comments. Can you rebase with master? The index.rst file is now replaced by an [index.mdx](https://github.com/huggingface/trans...
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? This PR adds mLUKE, [mLUKE: The Power of Entity Representations in Multilingual Pretrained Language Models](https://arxiv.org/abs/2110.08151), by Studio Ousia. The model is a multilingual extension of [LUKE](https://huggingface.co/transformers/model_doc/luke.html), which is trained on the Wi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14570/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14570/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14570", "html_url": "https://github.com/huggingface/transformers/pull/14570", "diff_url": "https://github.com/huggingface/transformers/pull/14570.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14570.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14569
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14569/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14569/comments
https://api.github.com/repos/huggingface/transformers/issues/14569/events
https://github.com/huggingface/transformers/pull/14569
1,066,759,527
PR_kwDOCUB6oc4vKgsx
14,569
[Deepspeed] add support for bf16 mode
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "Thanks a lot for catching those few development process leftovers, Sylvain! Much appreciating. All cleaned up now." ]
1,638
1,647
1,647
CONTRIBUTOR
null
This PR: - adds support for bfloat16 for ZeRO-1, ZeRO-2 and ZeRO-3 to HF/DS integration. - most functional tests are now run for bf16 as well - so this PR almost doubles the number of tests. model zoo tests are left with fp16 for now, as both should work the same. - docs are updated to document the new feature ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14569/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14569/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14569", "html_url": "https://github.com/huggingface/transformers/pull/14569", "diff_url": "https://github.com/huggingface/transformers/pull/14569.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14569.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14568
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14568/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14568/comments
https://api.github.com/repos/huggingface/transformers/issues/14568/events
https://github.com/huggingface/transformers/pull/14568
1,066,398,357
PR_kwDOCUB6oc4vJW3Q
14,568
Fixes Loss for TransfoXL when using Trainer API
{ "login": "gugarosa", "id": 4120639, "node_id": "MDQ6VXNlcjQxMjA2Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gugarosa", "html_url": "https://github.com/gugarosa", "followers_url": "https://api.github.com/users/gugar...
[]
closed
false
null
[]
[ "Thanks a lot for the very in-detail explanations @gugarosa ! I like your proposals and IMO we could do the following:\r\n\r\n1) Output both `loss` and `losses` whereas `losses` is still in \"vector\"-form and we introduce a new `loss` output that has your proposed form. So the following use cases should work:\r\n\...
1,638
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14568/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14568/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14568", "html_url": "https://github.com/huggingface/transformers/pull/14568", "diff_url": "https://github.com/huggingface/transformers/pull/14568.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14568.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14567
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14567/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14567/comments
https://api.github.com/repos/huggingface/transformers/issues/14567/events
https://github.com/huggingface/transformers/pull/14567
1,066,358,603
PR_kwDOCUB6oc4vJOgu
14,567
Fix index links
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR fixes the links in the README (and their localized versions) and the tooling around them to have the index be properly generated. It also fixes the script that checks if objects are all properly documented to handle the mdx files.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14567/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14567/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14567", "html_url": "https://github.com/huggingface/transformers/pull/14567", "diff_url": "https://github.com/huggingface/transformers/pull/14567.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14567.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14566
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14566/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14566/comments
https://api.github.com/repos/huggingface/transformers/issues/14566/events
https://github.com/huggingface/transformers/pull/14566
1,066,282,387
PR_kwDOCUB6oc4vI-n_
14,566
Fix backend regex
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR fixes the regex for potential backends (which can include an _ as from the QDQBert model) in other scripts.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14566/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14566/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14566", "html_url": "https://github.com/huggingface/transformers/pull/14566", "diff_url": "https://github.com/huggingface/transformers/pull/14566.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14566.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14565
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14565/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14565/comments
https://api.github.com/repos/huggingface/transformers/issues/14565/events
https://github.com/huggingface/transformers/issues/14565
1,066,137,128
I_kwDOCUB6oc4_i_Yo
14,565
BertForSequenceClassification : 'module 'Torch' has no attribute 'BoolTensor'
{ "login": "jakobbrown", "id": 71882999, "node_id": "MDQ6VXNlcjcxODgyOTk5", "avatar_url": "https://avatars.githubusercontent.com/u/71882999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jakobbrown", "html_url": "https://github.com/jakobbrown", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @jakobbrown , the same is working for me with this version of packages.\r\ntransformers - '4.6.0'\r\ntorch - '1.10.0+cu102'", "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 t...
1,638
1,641
1,641
NONE
null
Hi there, error on line: ''' from transformers import BertForSequenceClassification ''' Resulting in the following errror: ''' --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) C:\ProgramData\Anaconda3...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14565/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14565/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14564
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14564/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14564/comments
https://api.github.com/repos/huggingface/transformers/issues/14564/events
https://github.com/huggingface/transformers/pull/14564
1,066,112,794
PR_kwDOCUB6oc4vIcad
14,564
[Generate] Fix generate with inputs_embeds on GPU
{ "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,638
1,638
1,638
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/14564/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14564/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14564", "html_url": "https://github.com/huggingface/transformers/pull/14564", "diff_url": "https://github.com/huggingface/transformers/pull/14564.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14564.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14563
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14563/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14563/comments
https://api.github.com/repos/huggingface/transformers/issues/14563/events
https://github.com/huggingface/transformers/issues/14563
1,065,947,795
I_kwDOCUB6oc4_iRKT
14,563
[Bug] Issue in AutoModelForSequenceClassification while initialization
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "A couple of things are strange in your code cell # 3:\r\n\r\n```python\r\n\r\n\r\nid2label = { \"0\": \"admiration\", \"1\": \"amusement\", \"2\": \"anger\", \"3\": \"annoyance\", \"4\": \"approval\", \"5\": \"caring\", \"6\": \"confusion\", \"7\": \"curiosity\", \"8\": \"desire\",\r\n \"9\": \"disappointment\"...
1,638
1,638
1,638
CONTRIBUTOR
null
## Issue: If we import Sequence Classification model like this, ```python from transformers import AutoModelForSequenceClassification num_labels=28 model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased", num_labels=num_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14563/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14563/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14562
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14562/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14562/comments
https://api.github.com/repos/huggingface/transformers/issues/14562/events
https://github.com/huggingface/transformers/pull/14562
1,065,929,399
PR_kwDOCUB6oc4vH10-
14,562
Fix doc interlinks
{ "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
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? Fixes inter link references in the doc <!-- 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 co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14562/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14562/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14562", "html_url": "https://github.com/huggingface/transformers/pull/14562", "diff_url": "https://github.com/huggingface/transformers/pull/14562.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14562.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14561
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14561/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14561/comments
https://api.github.com/repos/huggingface/transformers/issues/14561/events
https://github.com/huggingface/transformers/issues/14561
1,065,801,737
I_kwDOCUB6oc4_htgJ
14,561
[Bug] `tokenizer.model_max_length` is different when loading model from shortcut or local path
{ "login": "ShaneTian", "id": 42370681, "node_id": "MDQ6VXNlcjQyMzcwNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/42370681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShaneTian", "html_url": "https://github.com/ShaneTian", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I've also encountered the same problem specially obvious working on clusters having no internet access. The problem stems from the fact that other than the string passed to the `from_pretrained`, there really is no good way right now of knowing what model is in the folder. I thought `model_type` might help but tha...
1,638
1,685
1,641
NONE
null
## To reproduce When loading model from local path, the `tokenizer.model_max_length` is `VERY_LARGE_INTEGER`: ```py from transformers import GPT2Tokenizer tokenizer = GPT2Tokenizer.from_pretrained("gpt2") print(tokenizer.model_max_length) # 1024 tokenizer = GPT2Tokenizer.from_pretrained("path/to/local/gpt2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14561/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14561/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14560
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14560/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14560/comments
https://api.github.com/repos/huggingface/transformers/issues/14560/events
https://github.com/huggingface/transformers/issues/14560
1,065,745,617
I_kwDOCUB6oc4_hfzR
14,560
[Probably a bug] - T5TokenizerFast is not the same as T5Tokenizer - it adds id 1 when using batch encode plus
{ "login": "Oxi84", "id": 25420033, "node_id": "MDQ6VXNlcjI1NDIwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Oxi84", "html_url": "https://github.com/Oxi84", "followers_url": "https://api.github.com/users/Oxi84/follow...
[]
closed
false
{ "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://...
[ { "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", "follo...
[ "Hi @Oxi84, \r\n\r\nI'm not able to reproduce this error. \r\nIn the code cell you gave, at the first block you define `tokenizer1` but you are using `tokenizer1_decode` as a tokenizer instance. \r\n\r\nThe error may come from this line : `encoding = tokenizer1_decode.batch_encode_plus(text,pad_to_max_length=True)`...
1,638
1,641
1,641
NONE
null
Ubuntu 18.04 Transformers 4.12.5 I tried T5TokenizerFast and it is much faster but the generation output is different. Encoding part seems like adds one addition 1 (id) while the decoder seem to work fine. But as results output is very different. 1) from transformers import T5ForConditionalGeneration...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14560/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14559
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14559/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14559/comments
https://api.github.com/repos/huggingface/transformers/issues/14559/events
https://github.com/huggingface/transformers/issues/14559
1,065,678,617
I_kwDOCUB6oc4_hPcZ
14,559
Question about an error occurring while running hf_argparser.py
{ "login": "seuly1203", "id": 86218998, "node_id": "MDQ6VXNlcjg2MjE4OTk4", "avatar_url": "https://avatars.githubusercontent.com/u/86218998?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seuly1203", "html_url": "https://github.com/seuly1203", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I solved the problem by editing File \"/usr/lib/python3.7/typing.py\", line 721, in subclasscheck\r\nreturn issubclass(cls, self.origin):\r\n return issubclass(cls, self.origin) -> return issubclass(type(cls), self.origin)\r\n", "same issue to me." ]
1,638
1,642
1,638
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.3.2 - Platform: Google Colab - Python version: Python 3.7.12 - PyTorch version (GPU?): 1.8.0+cu111 (using ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14559/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14558
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14558/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14558/comments
https://api.github.com/repos/huggingface/transformers/issues/14558/events
https://github.com/huggingface/transformers/issues/14558
1,065,627,469
I_kwDOCUB6oc4_hC9N
14,558
XLMForSequenceClassification does not work
{ "login": "Fakekid", "id": 54023743, "node_id": "MDQ6VXNlcjU0MDIzNzQz", "avatar_url": "https://avatars.githubusercontent.com/u/54023743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fakekid", "html_url": "https://github.com/Fakekid", "followers_url": "https://api.github.com/users/Fakeki...
[]
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/master/CONTRIBUTING.md)...
1,638
1,641
1,641
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.12.5 - Platform: Linux 3.10.0-957.21.3.el7.x86_64 - Python version: 3.8.5 - PyTorch version (GPU?): 1.8.1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14558/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14557
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14557/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14557/comments
https://api.github.com/repos/huggingface/transformers/issues/14557/events
https://github.com/huggingface/transformers/pull/14557
1,065,403,214
PR_kwDOCUB6oc4vGLoB
14,557
Fix a Bug, modeling_bert.py, erroneosly switched BCE and CrossEntropy
{ "login": "xmvlad", "id": 18281748, "node_id": "MDQ6VXNlcjE4MjgxNzQ4", "avatar_url": "https://avatars.githubusercontent.com/u/18281748?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xmvlad", "html_url": "https://github.com/xmvlad", "followers_url": "https://api.github.com/users/xmvlad/fo...
[]
closed
false
null
[]
[ "@LysandreJik Can you please review this PR. And help how to fix torch tests and check_code_quality?" ]
1,638
1,638
1,638
NONE
null
_In BertForSequenceClassification when detecting what type of loss to use, based on self.config.problem_type BCEWithLogitsLoss and CrossEntropyLoss erroneosly switched. It works correctly in case when self.config.problem_type not defined, because it switched in detection and application code, but if problem_type corr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14557/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14557", "html_url": "https://github.com/huggingface/transformers/pull/14557", "diff_url": "https://github.com/huggingface/transformers/pull/14557.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14557.patch", "merged_at...