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/10535
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10535/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10535/comments
https://api.github.com/repos/huggingface/transformers/issues/10535/events
https://github.com/huggingface/transformers/issues/10535
822,826,159
MDU6SXNzdWU4MjI4MjYxNTk=
10,535
tensorflow model convert onnx
{ "login": "Zjq9409", "id": 62974595, "node_id": "MDQ6VXNlcjYyOTc0NTk1", "avatar_url": "https://avatars.githubusercontent.com/u/62974595?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zjq9409", "html_url": "https://github.com/Zjq9409", "followers_url": "https://api.github.com/users/Zjq940...
[]
closed
false
null
[]
[ "and when I upgrade transformers version to 4.3.3, onnx version is 1.8.1,another error occurred:\r\nTraceback (most recent call last):\r\n File \"test_segment.py\", line 104, in <module>\r\n session = onnxruntime.InferenceSession(output_model_path, sess_options, providers=['CPUExecutionProvider'])\r\n File \"/...
1,614
1,619
1,619
NONE
null
I use this code to transfer TFBertModel to onnx: ”convert(framework="tf", model=model, tokenizer=tokenizer, output=Path("onnx_tf/segment.onnx"), opset=12)” and the output log as follows: `Using framework TensorFlow: 2.2.0, keras2onnx: 1.7.0 Found input input_ids with shape: {0: 'batch', 1: 'sequence'} Found input ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10535/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10535/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10534
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10534/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10534/comments
https://api.github.com/repos/huggingface/transformers/issues/10534/events
https://github.com/huggingface/transformers/pull/10534
822,739,024
MDExOlB1bGxSZXF1ZXN0NTg1MzE0MjM3
10,534
VisualBERT
{ "login": "gchhablani", "id": 29076344, "node_id": "MDQ6VXNlcjI5MDc2MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchhablani", "html_url": "https://github.com/gchhablani", "followers_url": "https://api.github.com/use...
[ { "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
[]
[ "Hi @gchhablani \r\n\r\nThis is great! You can ping me if you need any help with this model.\r\n\r\n\r\nAlso, we have now added a step-by-step doc for how to add a model, you can find it here \r\nhttps://huggingface.co/transformers/add_new_model.html\r\n\r\nAlso have a look at the `cookiecutter` tool, which will he...
1,614
1,622
1,622
CONTRIBUTOR
null
This PR adds VisualBERT (See Closed Issue #5095).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10534/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 4, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10534/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10534", "html_url": "https://github.com/huggingface/transformers/pull/10534", "diff_url": "https://github.com/huggingface/transformers/pull/10534.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10534.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10533
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10533/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10533/comments
https://api.github.com/repos/huggingface/transformers/issues/10533/events
https://github.com/huggingface/transformers/issues/10533
822,734,299
MDU6SXNzdWU4MjI3MzQyOTk=
10,533
RAG with RAY workers keep repetitive copies of knowledge base as .nfs files until the process is done.
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "I don't know what those .nfs are used for in Ray, is it safe to remove them @amogkam ?" ]
1,614
1,617
1,617
CONTRIBUTOR
null
As mentioned in [this PR](https://github.com/huggingface/transformers/pull/10410), I update the **my_knowledge_dataset** object all the time. I save the new my_knowledge_dataset in the same place by removing previously saved stuff. But still, I see there are always some hidden files left. Please check the screensho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10533/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10533/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10532
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10532/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10532/comments
https://api.github.com/repos/huggingface/transformers/issues/10532/events
https://github.com/huggingface/transformers/issues/10532
822,728,018
MDU6SXNzdWU4MjI3MjgwMTg=
10,532
Calling Inference API returns input text
{ "login": "gstranger", "id": 36181416, "node_id": "MDQ6VXNlcjM2MTgxNDE2", "avatar_url": "https://avatars.githubusercontent.com/u/36181416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gstranger", "html_url": "https://github.com/gstranger", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Could you try to add `\"max_length\": 200` to your payload ? (also cc @Narsil )", "Hi @gstranger ,\r\n\r\nCan you reproduce the problem locally ? It could be that your model simply produces EOS token with high probability (leading to having the exact same prompt as output)\r\n\r\nIf not, do you mind telling us y...
1,614
1,619
1,619
NONE
null
- `transformers` version: 4.4.0dev0 - Platform: MACosx - Python version: 3.7 - PyTorch version (GPU?): N/A - Tensorflow version (GPU?): N/A - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can help Library: @patrickvonplaten @LysandreJik @sgugger ## Informat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10532/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10532/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10531
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10531/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10531/comments
https://api.github.com/repos/huggingface/transformers/issues/10531/events
https://github.com/huggingface/transformers/pull/10531
822,720,356
MDExOlB1bGxSZXF1ZXN0NTg1Mjk4NTYy
10,531
Typo correction.
{ "login": "cliang1453", "id": 14855272, "node_id": "MDQ6VXNlcjE0ODU1Mjcy", "avatar_url": "https://avatars.githubusercontent.com/u/14855272?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cliang1453", "html_url": "https://github.com/cliang1453", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? Fix a typo: DEBERTA_PRETRAINED_MODEL_ARCHIVE_LIST => DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST in line 31. <!-- 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 i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10531/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10531", "html_url": "https://github.com/huggingface/transformers/pull/10531", "diff_url": "https://github.com/huggingface/transformers/pull/10531.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10531.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10530
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10530/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10530/comments
https://api.github.com/repos/huggingface/transformers/issues/10530/events
https://github.com/huggingface/transformers/issues/10530
822,713,227
MDU6SXNzdWU4MjI3MTMyMjc=
10,530
Test/Predict on summarization task
{ "login": "zyxnlp", "id": 31751455, "node_id": "MDQ6VXNlcjMxNzUxNDU1", "avatar_url": "https://avatars.githubusercontent.com/u/31751455?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyxnlp", "html_url": "https://github.com/zyxnlp", "followers_url": "https://api.github.com/users/zyxnlp/fo...
[]
closed
false
null
[]
[ "Hi,\r\n\r\ncould you please ask questions related to training of models on the [forum](https://discuss.huggingface.co/)?\r\n\r\nAll questions related to fine-tuning a model for summarization on CNN can be found [here](https://discuss.huggingface.co/search?q=summarization%20cnn) for example. \r\n\r\n", "> Hi,\r\n...
1,614
1,619
1,619
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.4.0.dev0 - Platform: Linux-5.3.0-53-generic-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10530/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10530/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10529
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10529/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10529/comments
https://api.github.com/repos/huggingface/transformers/issues/10529/events
https://github.com/huggingface/transformers/issues/10529
822,685,396
MDU6SXNzdWU4MjI2ODUzOTY=
10,529
Typo in deberta_v2/__init__.py
{ "login": "cliang1453", "id": 14855272, "node_id": "MDQ6VXNlcjE0ODU1Mjcy", "avatar_url": "https://avatars.githubusercontent.com/u/14855272?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cliang1453", "html_url": "https://github.com/cliang1453", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "That's correct! Do you want to open a PR to fix it?" ]
1,614
1,614
1,614
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/c503a1c15ec1b11e69a3eaaf06edfa87c05a2849/src/transformers/models/deberta_v2/__init__.py#L31 Should be '' DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST ''.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10529/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10528
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10528/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10528/comments
https://api.github.com/repos/huggingface/transformers/issues/10528/events
https://github.com/huggingface/transformers/issues/10528
822,678,374
MDU6SXNzdWU4MjI2NzgzNzQ=
10,528
Different vocab_size between model and tokenizer of mT5
{ "login": "cih9088", "id": 11530592, "node_id": "MDQ6VXNlcjExNTMwNTky", "avatar_url": "https://avatars.githubusercontent.com/u/11530592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cih9088", "html_url": "https://github.com/cih9088", "followers_url": "https://api.github.com/users/cih908...
[]
closed
false
null
[]
[ "Hello! This is a duplicate of https://github.com/huggingface/transformers/issues/4875, https://github.com/huggingface/transformers/issues/10144 and https://github.com/huggingface/transformers/issues/9247\r\n\r\n@patrickvonplaten, maybe we could do something about this in the docs? In the docs we recommend doing th...
1,614
1,628
1,619
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.1.1 - Platform: ubuntu 18.04 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 ### Who can help @p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10528/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10528/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10527
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10527/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10527/comments
https://api.github.com/repos/huggingface/transformers/issues/10527/events
https://github.com/huggingface/transformers/pull/10527
822,658,264
MDExOlB1bGxSZXF1ZXN0NTg1MjQ3NjE0
10,527
Refactoring checkpoint names for multiple models
{ "login": "danielpatrickhug", "id": 38571110, "node_id": "MDQ6VXNlcjM4NTcxMTEw", "avatar_url": "https://avatars.githubusercontent.com/u/38571110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielpatrickhug", "html_url": "https://github.com/danielpatrickhug", "followers_url": "https://...
[]
closed
false
null
[]
[ "...The test pasts on my local machine, I ran make test, style, quality, fixup. I dont know why this failed..", "I just rebased the PR to ensure that the tests pass. We'll merge if all is green!", "Thanks guys" ]
1,614
1,615
1,614
CONTRIBUTOR
null
Hi, @sgugger reupload without datasets dir and added tf_modeling files, removed extra decorator in distilbert. Linked to #10193, this PR refactors the checkpoint names in one private constant. one note: longformer_tf has two checkpoints "allenai/longformer-base-4096" & "allenai/longformer-large-4096-finetuned-triv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10527/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10527", "html_url": "https://github.com/huggingface/transformers/pull/10527", "diff_url": "https://github.com/huggingface/transformers/pull/10527.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10527.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10526
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10526/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10526/comments
https://api.github.com/repos/huggingface/transformers/issues/10526/events
https://github.com/huggingface/transformers/pull/10526
822,581,103
MDExOlB1bGxSZXF1ZXN0NTg1MTgzMjYy
10,526
Fix Adafactor documentation (recommend correct settings)
{ "login": "jsrozner", "id": 1113285, "node_id": "MDQ6VXNlcjExMTMyODU=", "avatar_url": "https://avatars.githubusercontent.com/u/1113285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jsrozner", "html_url": "https://github.com/jsrozner", "followers_url": "https://api.github.com/users/jsroz...
[]
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...
[ "Is this part correct?\r\n\r\n> Recommended T5 finetuning settings:\r\n> - Scheduled LR warm-up to fixed LR\r\n> - disable relative updates\r\n> - use clip threshold: https://arxiv.org/abs/2004.14546\r\n\r\nIn particular:\r\n- are we supposed to do scheduled LR? adafactor handles this no...
1,614
1,617
1,617
CONTRIBUTOR
null
This PR fixes documentation to reflect optimal settings for Adafactor: - fix an impossible arg combination erroneously proposed in the example - use the correct link to the adafactor paper where `clip_treshold` is discussed - document the recommended `scale_parameter=False` - add other recommended settings combinat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10526/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10526", "html_url": "https://github.com/huggingface/transformers/pull/10526", "diff_url": "https://github.com/huggingface/transformers/pull/10526.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10526.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10525
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10525/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10525/comments
https://api.github.com/repos/huggingface/transformers/issues/10525/events
https://github.com/huggingface/transformers/issues/10525
822,490,543
MDU6SXNzdWU4MjI0OTA1NDM=
10,525
fine-tune Pegasus with xsum using Colab but generation results have no difference
{ "login": "harrywang", "id": 595772, "node_id": "MDQ6VXNlcjU5NTc3Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/595772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harrywang", "html_url": "https://github.com/harrywang", "followers_url": "https://api.github.com/users/harr...
[]
closed
false
null
[]
[ "Hi,\r\n\r\ncould you please ask this question on the [forum](https://discuss.huggingface.co/)? We're happy to help you there!\r\n\r\nQuestions regarding training of models are a perfect use case for the forum :) for example, [here](https://discuss.huggingface.co/search?q=pegasus) you can find all questions related...
1,614
1,614
1,614
CONTRIBUTOR
null
Hi. I tried to fine-tune pegasus large with xsum dataset using Colab (Pro). I was able to finish the fine-tuning with batch size 1, and 2000 epochs in about 40 minutes (larger batch size crashed colab). The working Colab notebook I used is shared at https://colab.research.google.com/drive/1RyUsYDAo6bA1RZICMb-FxYLszBcDY...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10525/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10525/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10524
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10524/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10524/comments
https://api.github.com/repos/huggingface/transformers/issues/10524/events
https://github.com/huggingface/transformers/pull/10524
822,424,501
MDExOlB1bGxSZXF1ZXN0NTg1MDUxNzcw
10,524
Change/remove default maximum length in run_glue.py
{ "login": "aditya-malte", "id": 20294625, "node_id": "MDQ6VXNlcjIwMjk0NjI1", "avatar_url": "https://avatars.githubusercontent.com/u/20294625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aditya-malte", "html_url": "https://github.com/aditya-malte", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@sgugger Can you review this extremely simple PR", "Hi there. The default is actually the same as the legacy script and I don't see any reason to change it. It provides the results given in the README which are consistent with the paper.\r\n\r\nAlso a default of 512 won't work with models that have a smaller max...
1,614
1,618
1,618
NONE
null
I propose one of the following: 1) A vast majority of models have maximum sequence length as 512. 128 as a maximum length is very misleading because of this reason and hence I suggest we revise it to 512. 2) Totally remove this variable and set maximum length only based on model’s maximum length. The tokenizers libr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10524/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10524", "html_url": "https://github.com/huggingface/transformers/pull/10524", "diff_url": "https://github.com/huggingface/transformers/pull/10524.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10524.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10523
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10523/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10523/comments
https://api.github.com/repos/huggingface/transformers/issues/10523/events
https://github.com/huggingface/transformers/issues/10523
822,408,968
MDU6SXNzdWU4MjI0MDg5Njg=
10,523
BERT as encoder - position ids
{ "login": "md975", "id": 25549182, "node_id": "MDQ6VXNlcjI1NTQ5MTgy", "avatar_url": "https://avatars.githubusercontent.com/u/25549182?v=4", "gravatar_id": "", "url": "https://api.github.com/users/md975", "html_url": "https://github.com/md975", "followers_url": "https://api.github.com/users/md975/follow...
[]
closed
false
null
[]
[ "Hello! In the documentation you pointed to, you'll see that there is the `kwargs` argument, which accepts any keyword argument. The doc says:\r\n\r\n```\r\n(optional) Remaining dictionary of keyword arguments. Keyword arguments come in two flavors:\r\n\r\nWithout a prefix which will be input as **encoder_kwargs fo...
1,614
1,614
1,614
NONE
null
Hello, I have an EncoderDecoderModel.from_encoder_decoder_pretrained which is using BERT as both the decoder and encoder. I would like to adjust position_ids for the encoder input, however, looking at [this documentation](https://huggingface.co/transformers/model_doc/encoderdecoder.html#transformers.EncoderDecoderM...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10523/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10523/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10522
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10522/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10522/comments
https://api.github.com/repos/huggingface/transformers/issues/10522/events
https://github.com/huggingface/transformers/issues/10522
822,389,034
MDU6SXNzdWU4MjIzODkwMzQ=
10,522
Inconsistent API output for Q&A models between eager mode and torchscripted
{ "login": "HamidShojanazeri", "id": 9162336, "node_id": "MDQ6VXNlcjkxNjIzMzY=", "avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HamidShojanazeri", "html_url": "https://github.com/HamidShojanazeri", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "`torchscript` does not support anything else than tuple outputs, so you can't rely on the attributes when using it and transformers automatically sets `return_dict=False` in this case.\r\n\r\nYou need to access to the output fields with indices.", "@sgugger Thanks for the explanations.", "This issue has been a...
1,614
1,619
1,619
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-5.4.0-1037-aws-x86_64-with-glibc2.10 - Python version:3.8.6 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ## Information @sgugger I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10522/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10521/comments
https://api.github.com/repos/huggingface/transformers/issues/10521/events
https://github.com/huggingface/transformers/pull/10521
822,248,710
MDExOlB1bGxSZXF1ZXN0NTg0OTA0NTQy
10,521
Removes overwrites for output_dir
{ "login": "philschmid", "id": 32632186, "node_id": "MDQ6VXNlcjMyNjMyMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philschmid", "html_url": "https://github.com/philschmid", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
# What does this PR do? This PR removes the overwrites of the `output_dir` when running training on `SageMaker` and it removes the automatic save if `output_dir` is `None`. The overwrites have been removed since it prevents saving checkpoints to a different dir like `opt/ml/checkpoints` impossible and it is not th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10521/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10521", "html_url": "https://github.com/huggingface/transformers/pull/10521", "diff_url": "https://github.com/huggingface/transformers/pull/10521.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10521.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10520
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10520/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10520/comments
https://api.github.com/repos/huggingface/transformers/issues/10520/events
https://github.com/huggingface/transformers/issues/10520
822,244,488
MDU6SXNzdWU4MjIyNDQ0ODg=
10,520
Unable to translate Arabic to many other languages in MBart-50
{ "login": "lecidhugo", "id": 52243817, "node_id": "MDQ6VXNlcjUyMjQzODE3", "avatar_url": "https://avatars.githubusercontent.com/u/52243817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lecidhugo", "html_url": "https://github.com/lecidhugo", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "Hi @lecidhugo \r\n\r\nThank you for reporting this. Is this for one particular example or is it happening for all examples?", "Hi @patil-suraj,\r\nThank you for your reply.\r\nIndeed, it is for all examples and for many languages", "Thanks. I'll look into it next week.", "This issue has been automatically ma...
1,614
1,621
1,621
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.4.0.dev0 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10520/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10519
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10519/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10519/comments
https://api.github.com/repos/huggingface/transformers/issues/10519/events
https://github.com/huggingface/transformers/issues/10519
822,237,938
MDU6SXNzdWU4MjIyMzc5Mzg=
10,519
Adding option to truncation from beginning instead of end, for both longest_first and longest_second
{ "login": "jatinganhotra", "id": 307606, "node_id": "MDQ6VXNlcjMwNzYwNg==", "avatar_url": "https://avatars.githubusercontent.com/u/307606?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jatinganhotra", "html_url": "https://github.com/jatinganhotra", "followers_url": "https://api.github.co...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "Previous mention of this idea\r\nhttps://github.com/huggingface/transformers/issues/4476#issuecomment-677823688", "Here's my workaround (from the previous issue): https://github.com/huggingface/transformers/issues/4476#issuecomment-951445067", "May be of interest to @SaulLu @NielsRogge ", "This is indeed a f...
1,614
1,645
null
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> The current [truncation strategies](https://huggingface.co/transformers/preprocessing.html#everything-you-always-wanted-to-know-about-padding-and-truncation)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10519/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/10519/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/10518
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10518/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10518/comments
https://api.github.com/repos/huggingface/transformers/issues/10518/events
https://github.com/huggingface/transformers/issues/10518
822,225,056
MDU6SXNzdWU4MjIyMjUwNTY=
10,518
Converting models for tensoflowjs (node)
{ "login": "ierezell", "id": 30974685, "node_id": "MDQ6VXNlcjMwOTc0Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ierezell", "html_url": "https://github.com/ierezell", "followers_url": "https://api.github.com/users/ier...
[ { "id": 1834083927, "node_id": "MDU6TGFiZWwxODM0MDgzOTI3", "url": "https://api.github.com/repos/huggingface/transformers/labels/External", "name": "External", "color": "fbca04", "default": false, "description": "Using the library with external tools (onnx, tflite, ...)" } ]
closed
false
null
[]
[ "Hello!\r\n\r\nThanks for reporting this issue! Did you try to convert your H5 file to be able to use it with `tensorflowjs_converter --input_format keras path/to/my_model.h5 path/to/tfjs_target_dir`? You can also have a SavedModel version with:\r\n\r\n1. `model = TFAutoModel.from_pretrained(\"distilbert-base-uncas...
1,614
1,615
1,615
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-5.11.2-zen1-1-zen-x86_64-with-glibc2.2.5 - Python version: 3.8.8 (also 3.9.2 but tensorflowjs is not available in 3.9.2) - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Using GPU in script?: No - Using dist...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10518/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/10518/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10517
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10517/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10517/comments
https://api.github.com/repos/huggingface/transformers/issues/10517/events
https://github.com/huggingface/transformers/pull/10517
822,203,753
MDExOlB1bGxSZXF1ZXN0NTg0ODY2NzM3
10,517
Not always consider a local model a checkpoint in run_glue
{ "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,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? In the `run_glue` script, a local model is automatically considered a checkpoint (which is there to enable users to do --model_path_or_name path_to_specific_checkpoint`) but when using a local model, it can crash if the number of labels is different (cf #10502). This PR fixes that by checking...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10517/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10517", "html_url": "https://github.com/huggingface/transformers/pull/10517", "diff_url": "https://github.com/huggingface/transformers/pull/10517.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10517.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10514
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10514/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10514/comments
https://api.github.com/repos/huggingface/transformers/issues/10514/events
https://github.com/huggingface/transformers/issues/10514
822,101,612
MDU6SXNzdWU4MjIxMDE2MTI=
10,514
Bug in Hosted inference API
{ "login": "hhou435", "id": 59219579, "node_id": "MDQ6VXNlcjU5MjE5NTc5", "avatar_url": "https://avatars.githubusercontent.com/u/59219579?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hhou435", "html_url": "https://github.com/hhou435", "followers_url": "https://api.github.com/users/hhou43...
[]
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,614
1,619
1,619
CONTRIBUTOR
null
Hello,I found that when I use the Hosted inference API, there will be some problems. Some inference results show the entire sentence, but other inference results only show the mask token. For example the model [uer/roberta-base-word-chinese-cluecorpussmall](https://huggingface.co/uer/roberta-base-word-chinese-cluecor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10514/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10513
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10513/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10513/comments
https://api.github.com/repos/huggingface/transformers/issues/10513/events
https://github.com/huggingface/transformers/pull/10513
822,081,918
MDExOlB1bGxSZXF1ZXN0NTg0NzY0MDkz
10,513
Add Vision Transformer + ViTFeatureExtractor
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey @NielsRogge \r\n\r\n\r\n> Add and improve tests. Currently I have defined the following tests: test_modeling_vit.py, test_feature_extraction_vit.py. However, for the former, since ViT does not use input_ids/input_embeds, some tests are failing, so I wonder whether it should use all tests defined in test_modeli...
1,614
1,617
1,617
CONTRIBUTOR
null
# What does this PR do? This PR includes 2 things: * it adds the [Vision Transformer (ViT)](https://arxiv.org/abs/2010.11929) by Google Brain. ViT is a Transformer encoder trained on ImageNet. It is capable of classifying images, by placing a linear classification head on top of the final hidden state of the [CLS...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10513/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10513/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10513", "html_url": "https://github.com/huggingface/transformers/pull/10513", "diff_url": "https://github.com/huggingface/transformers/pull/10513.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10513.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10512
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10512/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10512/comments
https://api.github.com/repos/huggingface/transformers/issues/10512/events
https://github.com/huggingface/transformers/issues/10512
821,998,125
MDU6SXNzdWU4MjE5OTgxMjU=
10,512
Dynamic batch size for Seq2SeqTrainer
{ "login": "clang88", "id": 71783092, "node_id": "MDQ6VXNlcjcxNzgzMDky", "avatar_url": "https://avatars.githubusercontent.com/u/71783092?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clang88", "html_url": "https://github.com/clang88", "followers_url": "https://api.github.com/users/clang8...
[]
closed
false
null
[]
[ "Pinging @patil-suraj and @sgugger ", "Hi @clang88 \r\n\r\nThe goal of the examples scripts is to keep them minimal and simple and I'm not sure if we want to support this immediately. \r\n\r\nFor now, you could use the `--group_by_length` argument which will group the long sequences together to avoid varying leng...
1,614
1,650
1,619
NONE
null
# 🚀 Feature request In Fairseq it is possible to forego setting a constant batch-size in favor of a dynamic batch size with --max_tokens. This ensures that a batch always consists of at max N=max_tokens tokens. Fairseq tries to get to max_tokens by adding samples to the batch until N = max_tokens or just below. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10512/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10511
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10511/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10511/comments
https://api.github.com/repos/huggingface/transformers/issues/10511/events
https://github.com/huggingface/transformers/issues/10511
821,778,075
MDU6SXNzdWU4MjE3NzgwNzU=
10,511
Why the positional embeddings in bert are not inplemented by sin/cos as the original paper said? Are these embeddings trainable?
{ "login": "SeaEagleI", "id": 38852917, "node_id": "MDQ6VXNlcjM4ODUyOTE3", "avatar_url": "https://avatars.githubusercontent.com/u/38852917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SeaEagleI", "html_url": "https://github.com/SeaEagleI", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "BERT uses absolute position embeddings by default. The sin/cos embeddings are from the original Transformer paper IRRC. ", "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 is...
1,614
1,619
1,619
NONE
null
https://github.com/huggingface/transformers/blob/948b730f9777174335812cf76de2a9dd9e4cf20e/src/transformers/models/bert/modeling_bert.py#L172
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10511/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10511/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10510
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10510/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10510/comments
https://api.github.com/repos/huggingface/transformers/issues/10510/events
https://github.com/huggingface/transformers/issues/10510
821,759,868
MDU6SXNzdWU4MjE3NTk4Njg=
10,510
Error in run_squad.py with BartForQuestionAnswering model
{ "login": "nrjvarshney", "id": 19836137, "node_id": "MDQ6VXNlcjE5ODM2MTM3", "avatar_url": "https://avatars.githubusercontent.com/u/19836137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nrjvarshney", "html_url": "https://github.com/nrjvarshney", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello! Could you provide all the information required in the issue template?\r\n\r\nThank you! ", "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,614
1,619
1,619
NONE
null
I am using the BartForQuestionAnswering model and getting the following error during evaluation `Evaluating: 0%| | 0/315 [00:10<?, ?it/s] Traceback (most recent call last): File "../run_squad.py", line 831, in <module> main() File "../run_squad.py", line 820, in main result = evaluate(arg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10510/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10510/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10509
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10509/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10509/comments
https://api.github.com/repos/huggingface/transformers/issues/10509/events
https://github.com/huggingface/transformers/pull/10509
821,678,601
MDExOlB1bGxSZXF1ZXN0NTg0NDI2Nzk1
10,509
Stale Bot
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The `GITHUB_TOKEN` got rate-limited, unfortunately. The PR should be good to go, I'll try to run it again tomorrow night." ]
1,614
1,614
1,614
MEMBER
null
Adds a stale bot based on GitHub Actions. This bot is slightly different than the previous one in that it comments that it is closing the issue and closes it immediately, rather than waiting 7 days. From what I've seen up to now, this shouldn't be an issue at all. I've commented out the code for now so that it do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10509/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10509/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10509", "html_url": "https://github.com/huggingface/transformers/pull/10509", "diff_url": "https://github.com/huggingface/transformers/pull/10509.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10509.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10508
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10508/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10508/comments
https://api.github.com/repos/huggingface/transformers/issues/10508/events
https://github.com/huggingface/transformers/issues/10508
821,607,609
MDU6SXNzdWU4MjE2MDc2MDk=
10,508
Loading tapas model into pipeline from directory gives different result
{ "login": "mchari", "id": 30506151, "node_id": "MDQ6VXNlcjMwNTA2MTUx", "avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mchari", "html_url": "https://github.com/mchari", "followers_url": "https://api.github.com/users/mchari/fo...
[]
closed
false
null
[]
[ "I noticed that the size of pytorch_model.bin that was downloaded into .cache is of size 442791751. When I save_pretrained() the model, the size is 442792154. \r\nIf I copy the first model into the model directory, I get valid results....", "Hello! You're using `'google/tapas-base'` in order to initialize weights...
1,614
1,614
1,614
NONE
null
Hi, I am using the following versions of these packages : transformers = 4.3.2 pytorch = 1.6.0 I am using the following code to download and save a pretrained model: ```py from transformers import TapasConfig,TapasTokenizer,TapasForQuestionAnswering import torch config = TapasConfig.from_pretrained('goo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10508/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10507
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10507/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10507/comments
https://api.github.com/repos/huggingface/transformers/issues/10507/events
https://github.com/huggingface/transformers/issues/10507
821,440,855
MDU6SXNzdWU4MjE0NDA4NTU=
10,507
'Trainer' object has no attribute 'log_metrics'
{ "login": "fatihbeyhan", "id": 48058209, "node_id": "MDQ6VXNlcjQ4MDU4MjA5", "avatar_url": "https://avatars.githubusercontent.com/u/48058209?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fatihbeyhan", "html_url": "https://github.com/fatihbeyhan", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi, this is a duplicate, see #10446 ", "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...
1,614
1,619
1,619
NONE
null
I was trying to use run_mlm.py to fine-tune roberta-large with a custom dataset on Google Colab. !python /content/transformers/examples/language-modeling/run_mlm.py \ --model_name_or_path roberta-large \ --train_file /content/traincorpus.txt \ --validation_file /content/devcorpus.txt \ --do_train...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10507/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10507/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10506
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10506/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10506/comments
https://api.github.com/repos/huggingface/transformers/issues/10506/events
https://github.com/huggingface/transformers/pull/10506
821,437,320
MDExOlB1bGxSZXF1ZXN0NTg0MjI3NDc3
10,506
[WIP][BIGBIRD] Add new conversion
{ "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,614
1,651
1,614
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/10506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10506/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10506", "html_url": "https://github.com/huggingface/transformers/pull/10506", "diff_url": "https://github.com/huggingface/transformers/pull/10506.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10506.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10505
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10505/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10505/comments
https://api.github.com/repos/huggingface/transformers/issues/10505/events
https://github.com/huggingface/transformers/pull/10505
821,402,116
MDExOlB1bGxSZXF1ZXN0NTg0MTk4Nzk4
10,505
Remove unsupported methods from ModelOutput doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? As said in the title :-) Fixes #10469
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10505/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10505/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10505", "html_url": "https://github.com/huggingface/transformers/pull/10505", "diff_url": "https://github.com/huggingface/transformers/pull/10505.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10505.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10504
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10504/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10504/comments
https://api.github.com/repos/huggingface/transformers/issues/10504/events
https://github.com/huggingface/transformers/pull/10504
821,390,036
MDExOlB1bGxSZXF1ZXN0NTg0MTg5MTI4
10,504
Rework TPU checkpointing in Trainer
{ "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
[]
[ "Tested on TPUs and all worked well (training, checkpointing, reloading from checkpoint, evaluating a saved model), so I will merge this." ]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? This PR rewors a tiny bit the checkpointing mechanism in the `Trainer` and `PreTrainedModel` to get rid of the hack that stored something in the config (which was then forever present if the user decided to share their model on the hub). The main problem is that the save on TPU has to be c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10504/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10504", "html_url": "https://github.com/huggingface/transformers/pull/10504", "diff_url": "https://github.com/huggingface/transformers/pull/10504.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10504.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10503
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10503/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10503/comments
https://api.github.com/repos/huggingface/transformers/issues/10503/events
https://github.com/huggingface/transformers/issues/10503
821,388,301
MDU6SXNzdWU4MjEzODgzMDE=
10,503
Fine tuning a pipeline
{ "login": "thiziri", "id": 17499919, "node_id": "MDQ6VXNlcjE3NDk5OTE5", "avatar_url": "https://avatars.githubusercontent.com/u/17499919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thiziri", "html_url": "https://github.com/thiziri", "followers_url": "https://api.github.com/users/thizir...
[]
closed
false
null
[]
[ "Hi! I'm sorry, I don't understand what you mean exactly. A pipeline uses a model and a tokenizer under the hood, do you mean you want to fine-tune the model used underneath, and use that fine-tuned model?\r\n\r\nIf that is so, it is simple: any model/tokenizer can be loaded in the pipeline via local path/hub ident...
1,614
1,619
1,619
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> [Already asked](https://github.com/huggingface/transformers/issues/8127) ## Motivation <!-- Please outline the motivation for the proposal. Is your featu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10503/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10502
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10502/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10502/comments
https://api.github.com/repos/huggingface/transformers/issues/10502/events
https://github.com/huggingface/transformers/issues/10502
821,329,792
MDU6SXNzdWU4MjEzMjk3OTI=
10,502
GLUE benchmark crashes with MNLI and STSB
{ "login": "lucadiliello", "id": 23355969, "node_id": "MDQ6VXNlcjIzMzU1OTY5", "avatar_url": "https://avatars.githubusercontent.com/u/23355969?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucadiliello", "html_url": "https://github.com/lucadiliello", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi! Actually I think you touched the base of the issue for MNLI, I would guess it has to do with the number of labels. When you do the following:\r\n```py\r\n>>> from transformers import RobertaForMaskedLM, RobertaConfig, RobertaTokenizer\r\n>>> tok = RobertaTokenizer.from_pretrained('roberta-base')\r\n>>> config ...
1,614
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.4.0.dev0 - Platform: Linux-5.8.0-44-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10502/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10502/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10501
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10501/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10501/comments
https://api.github.com/repos/huggingface/transformers/issues/10501/events
https://github.com/huggingface/transformers/pull/10501
821,271,936
MDExOlB1bGxSZXF1ZXN0NTg0MDkxMzkw
10,501
[ProphetNet] Bart-like Refactor
{ "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,614
1,614
1,614
MEMBER
null
# What does this PR do? This PR refactors ProphetNet similar to Bart in that it moves the time dimension to be always at the 2nd place and the batch dimensions always in the first place. Also, the cache is refactored to consists of tuples instead of a dict. The model is thereby very much aligned with Bart (I can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10501/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10501/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10501", "html_url": "https://github.com/huggingface/transformers/pull/10501", "diff_url": "https://github.com/huggingface/transformers/pull/10501.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10501.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10500
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10500/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10500/comments
https://api.github.com/repos/huggingface/transformers/issues/10500/events
https://github.com/huggingface/transformers/issues/10500
821,233,169
MDU6SXNzdWU4MjEyMzMxNjk=
10,500
Fine tune of speaker embeddings model
{ "login": "karthikgali", "id": 12197213, "node_id": "MDQ6VXNlcjEyMTk3MjEz", "avatar_url": "https://avatars.githubusercontent.com/u/12197213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karthikgali", "html_url": "https://github.com/karthikgali", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi! I think this is more of a question for `pyannote` rather than for `transformers`?", "cc'ing @hbredin for visibility :)", "Thanks @julien-c for the ping.\r\n\r\n@karthikgali please open an issue or discussion in [pyannote.audio Github repo](https://github.com/pyannote/pyannote-audio) instead.", "This issu...
1,614
1,619
1,619
NONE
null
# 🚀 Feature request Provide a way to fine tune the X-vector speaker embeddings model using our own custom dataset. (https://huggingface.co/hbredin/SpeakerEmbedding-XVectorMFCC-VoxCeleb) ## Motivation This will help in finetuning the model for new domain/speakers.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10500/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10499
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10499/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10499/comments
https://api.github.com/repos/huggingface/transformers/issues/10499/events
https://github.com/huggingface/transformers/issues/10499
821,231,779
MDU6SXNzdWU4MjEyMzE3Nzk=
10,499
f"The model '{self.model.__class__.__name__}' is not supported for {self.task}. Supported models are {supported_models}",
{ "login": "loretoparisi", "id": 163333, "node_id": "MDQ6VXNlcjE2MzMzMw==", "avatar_url": "https://avatars.githubusercontent.com/u/163333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loretoparisi", "html_url": "https://github.com/loretoparisi", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "Hi there, \r\n\r\nYou should use the `AutoModelForQuestionAnswering` class to load a QA model, the `AutoModel` class just loads the base model and doesn't load the task-specific head, which is the reason for this error.\r\n\r\nIn general, always use the task-specific auto classes to load task-specific architecture...
1,614
1,614
1,614
CONTRIBUTOR
null
## Context I have used the official example for Q&A [here](https://huggingface.co/dbmdz/bert-base-italian-cased), but slightly modified the `Pipeline` to use the `model` and `tokenizer` objects from pretrained model as exaplained [here](https://huggingface.co/transformers/main_classes/pipelines.html#the-pipeline-abstr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10499/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10499/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10498
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10498/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10498/comments
https://api.github.com/repos/huggingface/transformers/issues/10498/events
https://github.com/huggingface/transformers/issues/10498
820,987,812
MDU6SXNzdWU4MjA5ODc4MTI=
10,498
DeBERTa Fast Tokenizer
{ "login": "brandenchan", "id": 33759007, "node_id": "MDQ6VXNlcjMzNzU5MDA3", "avatar_url": "https://avatars.githubusercontent.com/u/33759007?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brandenchan", "html_url": "https://github.com/brandenchan", "followers_url": "https://api.github.com/...
[ { "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": 2392046359, "node_id": "MDU6TGF...
closed
false
null
[]
[ "Hi @brandenchan ,\r\n\r\nI think it should be easier with version 2 of DeBERTa, because they use a \"normal\" sentence piece model now:\r\n\r\nhttps://github.com/huggingface/transformers/pull/10018\r\n\r\nSo having a fast alternative would be great. \r\n\r\n(The new 128k vocab size should really boost performance ...
1,614
1,619
1,619
CONTRIBUTOR
null
Hi, I am interested in using the DeBERTa model that was recently implemented here and incorporating it into [FARM](https://github.com/deepset-ai/FARM) so that it can also be used in open-domain QA settings through [Haystack](https://github.com/deepset-ai/haystack). Just wondering why there's only a Slow Tokenizer im...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10498/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10498/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10497
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10497/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10497/comments
https://api.github.com/repos/huggingface/transformers/issues/10497/events
https://github.com/huggingface/transformers/issues/10497
820,925,931
MDU6SXNzdWU4MjA5MjU5MzE=
10,497
Wav2Vec fine code
{ "login": "idanmoradarthas", "id": 14873156, "node_id": "MDQ6VXNlcjE0ODczMTU2", "avatar_url": "https://avatars.githubusercontent.com/u/14873156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/idanmoradarthas", "html_url": "https://github.com/idanmoradarthas", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey @idanmoradarthas, \r\n\r\nI will soon release a notebook, that will explain in-detail how to fine-tune a Wav2Vec2 model (~1week). \r\n\r\nIt's quite time consuming for me to debug user-specific code, such as `convert_to_dataset_torch`, so I can only give you some tips here:\r\n\r\n- Try to convert your dataset...
1,614
1,651
1,614
NONE
null
# 🚀 Feature request @patrickvonplaten Hi, I have the following data set I want to use to fine tune Wav2Vec: [cv-valid-train.zip](https://github.com/huggingface/transformers/files/6074839/cv-valid-train.zip) I'm using the current transformers library from github (4.4.0 dev). And I wrote the following code ba...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10497/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10497/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10496
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10496/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10496/comments
https://api.github.com/repos/huggingface/transformers/issues/10496/events
https://github.com/huggingface/transformers/pull/10496
820,891,613
MDExOlB1bGxSZXF1ZXN0NTgzNzc2Mzk3
10,496
[T5] Fix speed degradation bug t5
{ "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
[]
[ "> Looks good to me!\r\n> \r\n> Some of the other library models also use this trick (BART-like models), we should also investigate those.\r\n\r\nGood point - yeah, let me fix this in this PR actually" ]
1,614
1,614
1,614
MEMBER
null
# What does this PR do? Checking every value of a tensor for `inf` is expensive. This was added to T5 to allow for fp16 training, but should then also be used when the model is in fp16 to not slow down normal fp32 mode. Using @dsgissin script: ```python device = torch.device('cuda:0') if torch.cuda.is_avai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10496/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10496/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10496", "html_url": "https://github.com/huggingface/transformers/pull/10496", "diff_url": "https://github.com/huggingface/transformers/pull/10496.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10496.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10495
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10495/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10495/comments
https://api.github.com/repos/huggingface/transformers/issues/10495/events
https://github.com/huggingface/transformers/issues/10495
820,861,772
MDU6SXNzdWU4MjA4NjE3NzI=
10,495
Albert quantized
{ "login": "Zjq9409", "id": 62974595, "node_id": "MDQ6VXNlcjYyOTc0NTk1", "avatar_url": "https://avatars.githubusercontent.com/u/62974595?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zjq9409", "html_url": "https://github.com/Zjq9409", "followers_url": "https://api.github.com/users/Zjq940...
[]
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,614
1,619
1,619
NONE
null
I use onnxruntime to optimize and quantize transformers model 'albert-base-v2' ,but the quantized result is different from original result,so,Does it support transformers albert quantized right now?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10495/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10494
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10494/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10494/comments
https://api.github.com/repos/huggingface/transformers/issues/10494/events
https://github.com/huggingface/transformers/pull/10494
820,763,109
MDExOlB1bGxSZXF1ZXN0NTgzNjY3NDE4
10,494
[Wav2Vec2] Improve SpecAugment function by converting numpy based fun…
{ "login": "punitvara", "id": 9531144, "node_id": "MDQ6VXNlcjk1MzExNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9531144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/punitvara", "html_url": "https://github.com/punitvara", "followers_url": "https://api.github.com/users/pu...
[]
closed
false
null
[]
[ "We need to run benchmark tests to see by how much the speed improved both on CPU and GPU", "@patrickvonplaten Can you please help with above comments ?", "Hey @punitvara,\r\n\r\nAt the moment, I sadly don't have the time to handle the big chunk of the PR. It would be great if you could try to:\r\n\r\n1) Find a...
1,614
1,618
1,618
NONE
null
…ction to pytorch based function Implements #10459 # 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10494/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10494", "html_url": "https://github.com/huggingface/transformers/pull/10494", "diff_url": "https://github.com/huggingface/transformers/pull/10494.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10494.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10493
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10493/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10493/comments
https://api.github.com/repos/huggingface/transformers/issues/10493/events
https://github.com/huggingface/transformers/pull/10493
820,756,455
MDExOlB1bGxSZXF1ZXN0NTgzNjYxMjAx
10,493
Generate can return cross-attention weights too
{ "login": "Mehrad0711", "id": 28717374, "node_id": "MDQ6VXNlcjI4NzE3Mzc0", "avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mehrad0711", "html_url": "https://github.com/Mehrad0711", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi, I tried to keep the code changes to a minimum. Thus, I avoided adding another argument for returning cross-attention weights and used `output_attentions` to check instead. \r\nAlso in docstrings, for `decoder_attentions` the shape is mentioned as `(batch_size*num_return_sequences, num_heads, generated_length,\...
1,614
1,615
1,614
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/10493/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10493/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10493", "html_url": "https://github.com/huggingface/transformers/pull/10493", "diff_url": "https://github.com/huggingface/transformers/pull/10493.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10493.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10492
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10492/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10492/comments
https://api.github.com/repos/huggingface/transformers/issues/10492/events
https://github.com/huggingface/transformers/issues/10492
820,745,341
MDU6SXNzdWU4MjA3NDUzNDE=
10,492
Model Weights Fail to Load from Pre-Trained Model when Using `tf.name_scope`
{ "login": "EhsanM4t1qbit", "id": 38892437, "node_id": "MDQ6VXNlcjM4ODkyNDM3", "avatar_url": "https://avatars.githubusercontent.com/u/38892437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EhsanM4t1qbit", "html_url": "https://github.com/EhsanM4t1qbit", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hello!\n\nYou cannot load a model inside a namescope. This is the expected behavior because all the names are forced insides the h5 file. To use the model you have to load it outside your defined namescope and then use it inside.", "This issue has been automatically marked as stale because it has not had recent ...
1,614
1,619
1,619
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.0 - Platform: Darwin-19.2.0-x86_64-i386-64bit - Python version: 3.6.6 - PyTorch version (GPU?): 1.7.1 (F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10492/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10491
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10491/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10491/comments
https://api.github.com/repos/huggingface/transformers/issues/10491/events
https://github.com/huggingface/transformers/issues/10491
820,605,250
MDU6SXNzdWU4MjA2MDUyNTA=
10,491
ONNX Training for Transformers
{ "login": "harsha070", "id": 29897928, "node_id": "MDQ6VXNlcjI5ODk3OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/29897928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harsha070", "html_url": "https://github.com/harsha070", "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,614
1,621
1,621
NONE
null
# 🚀 Feature request Is there a script for ONNX training of transformers on glue tasks ? If so, did anyone benchmark the training times ? If not, I can contribute. ## Motivation Faster training.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10491/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10491/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10490
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10490/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10490/comments
https://api.github.com/repos/huggingface/transformers/issues/10490/events
https://github.com/huggingface/transformers/issues/10490
820,484,414
MDU6SXNzdWU4MjA0ODQ0MTQ=
10,490
Pipeline's QnA and run_qa predictions do not match
{ "login": "oersoy1", "id": 4379212, "node_id": "MDQ6VXNlcjQzNzkyMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/4379212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oersoy1", "html_url": "https://github.com/oersoy1", "followers_url": "https://api.github.com/users/oersoy1/...
[]
closed
false
null
[]
[ "Just to be sure I understand completely the problem since I don't see the F1s for the full results obtained via pipeline, which is producing the best results? `pipeline` or `run_qa`? Or are they different but overall comparable?", "`run_qa.py` produces the better results. They are different on about 3000 record...
1,614
1,652
1,619
NONE
null
## Environment info - `transformers` version: 4.3.0 or 4.4.0dev (tested in both versions) - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.1+cu101 (True) - Tensorflow version (GPU?): 2.4.1 (True) - Using GPU in script?: Yes - Using distributed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10490/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/10490/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10489
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10489/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10489/comments
https://api.github.com/repos/huggingface/transformers/issues/10489/events
https://github.com/huggingface/transformers/pull/10489
820,418,410
MDExOlB1bGxSZXF1ZXN0NTgzMzY1MzYw
10,489
Fix typos
{ "login": "WybeKoper", "id": 40920213, "node_id": "MDQ6VXNlcjQwOTIwMjEz", "avatar_url": "https://avatars.githubusercontent.com/u/40920213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WybeKoper", "html_url": "https://github.com/WybeKoper", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? I fixed a couple of typos in comments. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10489/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10489", "html_url": "https://github.com/huggingface/transformers/pull/10489", "diff_url": "https://github.com/huggingface/transformers/pull/10489.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10489.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10488
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10488/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10488/comments
https://api.github.com/repos/huggingface/transformers/issues/10488/events
https://github.com/huggingface/transformers/pull/10488
820,403,249
MDExOlB1bGxSZXF1ZXN0NTgzMzUzMTE2
10,488
Smp grad accum
{ "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,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? This PR adds support for gradient accumulation in `SageMakerTrainer`. It has been tested on the glue script with success (with and without gradient accumulation passed along).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10488/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10488", "html_url": "https://github.com/huggingface/transformers/pull/10488", "diff_url": "https://github.com/huggingface/transformers/pull/10488.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10488.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10487
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10487/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10487/comments
https://api.github.com/repos/huggingface/transformers/issues/10487/events
https://github.com/huggingface/transformers/pull/10487
820,394,352
MDExOlB1bGxSZXF1ZXN0NTgzMzQ1Nzg3
10,487
remap MODEL_FOR_QUESTION_ANSWERING_MAPPING classes to names auto-generated file
{ "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,614
1,614
1,614
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/10467 currently Trainer loads `models.auto.modeling_auto` which loads **all** modeling files, which is absolutely not needed most of the time. At times it could have unwanted side-effects, loading modeling files that require some 3rd party modules that ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10487/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10487", "html_url": "https://github.com/huggingface/transformers/pull/10487", "diff_url": "https://github.com/huggingface/transformers/pull/10487.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10487.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10486
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10486/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10486/comments
https://api.github.com/repos/huggingface/transformers/issues/10486/events
https://github.com/huggingface/transformers/issues/10486
820,336,870
MDU6SXNzdWU4MjAzMzY4NzA=
10,486
Trainer not logging to WandB in SageMaker
{ "login": "alexf-a", "id": 12577961, "node_id": "MDQ6VXNlcjEyNTc3OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/12577961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexf-a", "html_url": "https://github.com/alexf-a", "followers_url": "https://api.github.com/users/alexf-...
[]
closed
false
null
[]
[ "Are you sure `wandb` is installed in the container you are using for training? There can't be any report if it's not installed and initialized.", "Yup, it's installed. Here is the requirements file that goes into the container\r\n\r\n```\r\nboto3==1.16.32\r\npeewee==3.13.3\r\npandas==1.0.5\r\ntorch==1.6.0\r\nnu...
1,614
1,620
1,620
NONE
null
- `transformers` version: 4.3.0 - wandb version: 0.10.20 - Platform: SageMaker hosted training with PyTorch estimator. - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No @stas00 @sgugger I am using a SageMaker training environment to train `BertForSequenceClassification`. To ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10486/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10485
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10485/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10485/comments
https://api.github.com/repos/huggingface/transformers/issues/10485/events
https://github.com/huggingface/transformers/issues/10485
820,324,145
MDU6SXNzdWU4MjAzMjQxNDU=
10,485
Constrained decoding?
{ "login": "kailashkarthiks", "id": 78363282, "node_id": "MDQ6VXNlcjc4MzYzMjgy", "avatar_url": "https://avatars.githubusercontent.com/u/78363282?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kailashkarthiks", "html_url": "https://github.com/kailashkarthiks", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I think you should take a look at `prefix_allowed_tokens_fn` on the [`generate` method](https://huggingface.co/transformers/main_classes/model.html?highlight=generate#transformers.generation_utils.GenerationMixin.generate). \r\n\r\nIt let's you create a function to constrain the generation based on previously gene...
1,614
1,623
1,614
NONE
null
Is it possible to implement constraints on the beam during decoding using a seq2seq model? [NeuroLogic Decoding](https://arxiv.org/abs/2010.12884), [Constrained Abstractive Summarization](https://arxiv.org/abs/2010.12723) I see that there is a Callback feature in the library - but AFAIK it only lets modify the train...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10485/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10484
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10484/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10484/comments
https://api.github.com/repos/huggingface/transformers/issues/10484/events
https://github.com/huggingface/transformers/issues/10484
820,311,946
MDU6SXNzdWU4MjAzMTE5NDY=
10,484
Corrupted Relative Attention in T5 Decoder
{ "login": "Slash0BZ", "id": 6762144, "node_id": "MDQ6VXNlcjY3NjIxNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6762144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Slash0BZ", "html_url": "https://github.com/Slash0BZ", "followers_url": "https://api.github.com/users/Slash...
[]
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...
[ "Uploaded full dataset and trained model: https://drive.google.com/drive/u/1/folders/1A7PIG1E98uuGUi8mDA2m_6T_oQp8XDhF\r\n\r\nYou can reproduce the issue by simply evaluating the test set using the trained model and observe the behavior with the aforementioned sets of decoder input ids. I suspect the issue is the s...
1,614
1,652
1,623
NONE
null
## Environment info platform: Mac/Ubuntu 14 transformers==2.11.0 torch==1.4.0 (GPU) python 3.6 I know this is an old version but it supports important experiments in a paper under review. Would appreciate to know what's wrong. I checked the commit log and I don't think any following commits resolve it. ### Who...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10484/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10483
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10483/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10483/comments
https://api.github.com/repos/huggingface/transformers/issues/10483/events
https://github.com/huggingface/transformers/pull/10483
820,281,236
MDExOlB1bGxSZXF1ZXN0NTgzMjUwNzEy
10,483
add shift on BartForCausalLM
{ "login": "voidful", "id": 10904842, "node_id": "MDQ6VXNlcjEwOTA0ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/10904842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/voidful", "html_url": "https://github.com/voidful", "followers_url": "https://api.github.com/users/voidfu...
[]
closed
false
null
[]
[]
1,614
1,615
1,615
CONTRIBUTOR
null
# What does this PR do? Fixes #10480 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-reque...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10483/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10483", "html_url": "https://github.com/huggingface/transformers/pull/10483", "diff_url": "https://github.com/huggingface/transformers/pull/10483.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10483.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10482
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10482/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10482/comments
https://api.github.com/repos/huggingface/transformers/issues/10482/events
https://github.com/huggingface/transformers/issues/10482
820,258,586
MDU6SXNzdWU4MjAyNTg1ODY=
10,482
[examples] should all examples support the predict stage?
{ "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": 1936351150, "node_id": "MDU6TGFiZWwxOTM2MzUxMTUw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Examples", "name": "Examples", "color": "d4c5f9", "default": false, "description": "Which is related to examples in general" } ]
closed
false
{ "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...
[ { "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", "follower...
[ "I think we should have it on all scripts except the language-modeling ones -> it doesn't make much sense there.", "@bhadreshpsavani, please feel free to make this part of your project or not. Please do not feel obliged as you can see a small need quickly expands into a much bigger one.\r\n\r\nIf not, then comple...
1,614
1,620
1,616
CONTRIBUTOR
null
This is part of the ongoing effort to sync the example scripts. In https://github.com/huggingface/transformers/issues/10437#issuecomment-789090858 it was flagged that some scripts have test/predict, whereas others don't. Should we: A. have all scripts have train/eval/predict B. only have predict where it's desi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10482/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10481
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10481/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10481/comments
https://api.github.com/repos/huggingface/transformers/issues/10481/events
https://github.com/huggingface/transformers/pull/10481
820,115,813
MDExOlB1bGxSZXF1ZXN0NTgzMTEzNjgx
10,481
feat(docs): navigate with left/right arrow keys
{ "login": "ydcjeff", "id": 32727188, "node_id": "MDQ6VXNlcjMyNzI3MTg4", "avatar_url": "https://avatars.githubusercontent.com/u/32727188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydcjeff", "html_url": "https://github.com/ydcjeff", "followers_url": "https://api.github.com/users/ydcjef...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
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/10481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10481/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10481", "html_url": "https://github.com/huggingface/transformers/pull/10481", "diff_url": "https://github.com/huggingface/transformers/pull/10481.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10481.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10480
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10480/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10480/comments
https://api.github.com/repos/huggingface/transformers/issues/10480/events
https://github.com/huggingface/transformers/issues/10480
819,978,837
MDU6SXNzdWU4MTk5Nzg4Mzc=
10,480
Different result in AutoModelForCausalLM
{ "login": "voidful", "id": 10904842, "node_id": "MDQ6VXNlcjEwOTA0ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/10904842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/voidful", "html_url": "https://github.com/voidful", "followers_url": "https://api.github.com/users/voidfu...
[]
closed
false
null
[]
[ "Hi @voidful \r\n\r\nThe reason we need to shift labels in roberta because the `labels` start with the `decoder_start_token_id` (`pad` or `bos`),\r\nwhich are then passed directly to the decoder as `decoder_input_ids`, which is the reason we need to shift the `labels` when calculating the loss\r\n\r\nNow in BART, `...
1,614
1,615
1,615
CONTRIBUTOR
null
# 🚀 Feature request Models inside AutoModelForCausalLM have different behavior on loss calculation. In BartForCausalLM there is no shift in loss calculation https://github.com/huggingface/transformers/blob/b013842244df7be96b8cc841491bd1e35e475e36/src/transformers/models/bart/modeling_bart.py#L1745 ``` loss_fct...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10480/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10479
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10479/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10479/comments
https://api.github.com/repos/huggingface/transformers/issues/10479/events
https://github.com/huggingface/transformers/issues/10479
819,925,876
MDU6SXNzdWU4MTk5MjU4NzY=
10,479
Question regarding training of BartForConditionalGeneration
{ "login": "bnaman50", "id": 5251592, "node_id": "MDQ6VXNlcjUyNTE1OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5251592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bnaman50", "html_url": "https://github.com/bnaman50", "followers_url": "https://api.github.com/users/bnama...
[]
closed
false
null
[]
[ "~Please ask on discuss.huggingface.co so that others can see your answer!~", "Thanks for the prompt reply, @sshleifer. I wasn't aware of the discussion page. \r\nIn that case, should I close the issue since it is just a query question?\r\n\r\nThanks, \r\nNaman", "- I got confused. This is a reasonable place fo...
1,614
1,651
1,620
NONE
null
Hello Guys, I am trying to fine-tune the BART summarization model but due to the lack of big dataset, having some difficulties with the fine-tuning. Thus, I decided to look at the trainig process of BartForConditionalGeneration model in detail. I came across this article, [Introducing BART](https://sshleifer.git...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10479/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10479/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10478
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10478/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10478/comments
https://api.github.com/repos/huggingface/transformers/issues/10478/events
https://github.com/huggingface/transformers/issues/10478
819,911,664
MDU6SXNzdWU4MTk5MTE2NjQ=
10,478
generate() decoder_input_ids padding
{ "login": "LittlePea13", "id": 26126169, "node_id": "MDQ6VXNlcjI2MTI2MTY5", "avatar_url": "https://avatars.githubusercontent.com/u/26126169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LittlePea13", "html_url": "https://github.com/LittlePea13", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The issue was discussed at https://github.com/huggingface/transformers/pull/10552, and this is expected behaviour. If one wants to generate using `decoder_input_ids` with different lengths, the suggested approach is to use `padding_side` as `left` on the tokenizer.\r\nFor a custom solution if one wants to preserve...
1,614
1,618
1,616
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.4.0.dev0 - Platform: Linux-5.4.0-66-generic-x86_64-with-debian-buster-sid - Python version: 3.7.9 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10478/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/10478/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10477
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10477/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10477/comments
https://api.github.com/repos/huggingface/transformers/issues/10477/events
https://github.com/huggingface/transformers/issues/10477
819,872,806
MDU6SXNzdWU4MTk4NzI4MDY=
10,477
Facing NCCL error on Multi-GPU training(on single machine) using run_glue.py script
{ "login": "aditya-malte", "id": 20294625, "node_id": "MDQ6VXNlcjIwMjk0NjI1", "avatar_url": "https://avatars.githubusercontent.com/u/20294625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aditya-malte", "html_url": "https://github.com/aditya-malte", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @sgugger ", "This seems like a problem in your environment install for NCCL: if your script can run on two GPUs there is nothing in the code to change to make it run on four GPUs so this is not a bug in the training script or transformers. I have never seen that particular NCCL error so I'm afraid I can't rea...
1,614
1,628
1,614
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: Linux-4.19.0-14-cloud-amd64-x86_64-with-debian-buster-sid - Python version: 3.7.9 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10477/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10476
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10476/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10476/comments
https://api.github.com/repos/huggingface/transformers/issues/10476/events
https://github.com/huggingface/transformers/issues/10476
819,804,301
MDU6SXNzdWU4MTk4MDQzMDE=
10,476
The size of CoNLL-2003 is not consistant with the official release.
{ "login": "h-peng17", "id": 39556019, "node_id": "MDQ6VXNlcjM5NTU2MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/39556019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h-peng17", "html_url": "https://github.com/h-peng17", "followers_url": "https://api.github.com/users/h-p...
[]
closed
false
null
[]
[ "Hi there, \r\n\r\nThe training scripts load the dataset using the `datasets` library, so this issue is related to the `datasets` lib, you can open it in that repo https://github.com/huggingface/datasets.", "Thank you!" ]
1,614
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: - - Python version: - - PyTorch version (GPU?): - - Tensorflow version (GPU?): - - Using GPU i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10476/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10475
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10475/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10475/comments
https://api.github.com/repos/huggingface/transformers/issues/10475/events
https://github.com/huggingface/transformers/pull/10475
819,699,425
MDExOlB1bGxSZXF1ZXN0NTgyNzY5OTAy
10,475
Fixes compatibility bug when using grouped beam search and constrained decoding together
{ "login": "mnschmit", "id": 2377507, "node_id": "MDQ6VXNlcjIzNzc1MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/2377507?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mnschmit", "html_url": "https://github.com/mnschmit", "followers_url": "https://api.github.com/users/mnsch...
[]
closed
false
null
[]
[ "Thanks a lot!" ]
1,614
1,614
1,614
CONTRIBUTOR
null
Fixes #10415 ## Who can review? @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10475/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10475", "html_url": "https://github.com/huggingface/transformers/pull/10475", "diff_url": "https://github.com/huggingface/transformers/pull/10475.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10475.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10474
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10474/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10474/comments
https://api.github.com/repos/huggingface/transformers/issues/10474/events
https://github.com/huggingface/transformers/issues/10474
819,696,766
MDU6SXNzdWU4MTk2OTY3NjY=
10,474
Continue pre-training using the example code "run_mlm.py"
{ "login": "pavlion", "id": 35861990, "node_id": "MDQ6VXNlcjM1ODYxOTkw", "avatar_url": "https://avatars.githubusercontent.com/u/35861990?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pavlion", "html_url": "https://github.com/pavlion", "followers_url": "https://api.github.com/users/pavlio...
[]
closed
false
null
[]
[ "Hi there,\r\n\r\nthe `run_mlm` script expects an unlabeled text dataset, i.e a dataset with the column `text` in it, if there is no `text` column then it assumes that the first column is the text column.\r\n\r\nHere `sst2` is a classification dataset and the first column is `idx`. \r\nSo you could change the scrip...
1,614
1,615
1,615
NONE
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.10 (Ubuntu 18.04) - Python version: 3.8.8 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-up in script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10474/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10473
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10473/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10473/comments
https://api.github.com/repos/huggingface/transformers/issues/10473/events
https://github.com/huggingface/transformers/issues/10473
819,660,963
MDU6SXNzdWU4MTk2NjA5NjM=
10,473
Issue with converting my own BERT TF2 checkpoint to PyTorch and loading the converted PyTorch checkpoint for training
{ "login": "jalajthanaki", "id": 12840374, "node_id": "MDQ6VXNlcjEyODQwMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/12840374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jalajthanaki", "html_url": "https://github.com/jalajthanaki", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "You've converted them successfully in PyTorch, so you should be left with a `pytorch_model.bin` alongside a `config.json`, is that right?\r\n\r\nI recommend reading the [quicktour entry related to using models](https://huggingface.co/transformers/quicktour.html#using-the-model) in order to get a sense of how one c...
1,614
1,615
1,615
NONE
null
Hi, I’m using huggingface to train my own bert model. I have checkpoints which are in TensorFlow2 and I have converted them successfully in PyTorch. The checkpoint conversion script has created **_.bin_** file which is having following subdirectories and pkl file. ![dfa9d353b4e25888726ebae99c19c048aaa9d4e4](https...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10473/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10472
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10472/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10472/comments
https://api.github.com/repos/huggingface/transformers/issues/10472/events
https://github.com/huggingface/transformers/issues/10472
819,621,689
MDU6SXNzdWU4MTk2MjE2ODk=
10,472
Needed a feature to convert facebook mbart many - many model to ONNX runtime inorder to reduce the inference time
{ "login": "Vimal0307", "id": 41289592, "node_id": "MDQ6VXNlcjQxMjg5NTky", "avatar_url": "https://avatars.githubusercontent.com/u/41289592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vimal0307", "html_url": "https://github.com/Vimal0307", "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,614
1,619
1,619
NONE
null
We need a feature which makes the facebook mbart many - many model to convert to ONNX runtime which reduces the inference time, current mbart many-many model takes 9 secs to translate and we need to quantize it further to reduce the inference time
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10472/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10471
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10471/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10471/comments
https://api.github.com/repos/huggingface/transformers/issues/10471/events
https://github.com/huggingface/transformers/issues/10471
819,614,899
MDU6SXNzdWU4MTk2MTQ4OTk=
10,471
Question: change location of cache datasets
{ "login": "ioana-blue", "id": 17202292, "node_id": "MDQ6VXNlcjE3MjAyMjky", "avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ioana-blue", "html_url": "https://github.com/ioana-blue", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "One more thing (maybe this is a bug): why are the datasets stuff cached in ~/.cache/huggingface/datasets when I have both the env var set up AND I specify a cache dir with --cache_dir when I run my scripts? The pretrained models go in the --cache_dir specified but the datasets don't. This is confusing (and maybe b...
1,614
1,614
1,614
NONE
null
This is not a bug, it's a question. I don't have too much space allowed in my home dir and I have to store most stuff elsewhere. I noticed that the library caches a lot of stuff under ~/.cache/huggingface (in particular under datasets). How do I change the location of the cache dir? I have `export TRANSFORMERS_CACHE=.....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10471/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/10471/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10470
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10470/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10470/comments
https://api.github.com/repos/huggingface/transformers/issues/10470/events
https://github.com/huggingface/transformers/issues/10470
819,554,879
MDU6SXNzdWU4MTk1NTQ4Nzk=
10,470
(Sorry I can not visit the forum) BORT question: pre-training-using-knowledge-distillation is better than pre-training-only for downstream tasks?
{ "login": "guotong1988", "id": 4702353, "node_id": "MDQ6VXNlcjQ3MDIzNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guotong1988", "html_url": "https://github.com/guotong1988", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "https://github.com/alexa/bort/issues/10" ]
1,614
1,614
1,614
CONTRIBUTOR
null
The paper shows the MLM accuarcy comparision. ![image](https://user-images.githubusercontent.com/4702353/109590213-87ba6900-7b46-11eb-9fea-f046d23abeb2.png) What is the **downstream tasks'** performance comparison for pre-training-using-knowledge-distillation and pre-training-only to the end? Thank you very ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10470/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10470/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10469
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10469/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10469/comments
https://api.github.com/repos/huggingface/transformers/issues/10469/events
https://github.com/huggingface/transformers/issues/10469
819,526,454
MDU6SXNzdWU4MTk1MjY0NTQ=
10,469
The described function in docs was not implemented in source code
{ "login": "yww211", "id": 32888325, "node_id": "MDQ6VXNlcjMyODg4MzI1", "avatar_url": "https://avatars.githubusercontent.com/u/32888325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yww211", "html_url": "https://github.com/yww211", "followers_url": "https://api.github.com/users/yww211/fo...
[]
closed
false
null
[]
[ "Ah, indeed! cc @sgugger" ]
1,614
1,614
1,614
NONE
null
https://github.com/huggingface/transformers/blob/0c2325198fd638e5d1f0c7dcbdd8bf7f14c0ff7d/src/transformers/file_utils.py#L1512 The method of `update` in `ModelOutput` described as below, https://huggingface.co/transformers/main_classes/output.html?highlight=modeloutput#transformers.file_utils.ModelOutput.update bu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10469/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10468
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10468/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10468/comments
https://api.github.com/repos/huggingface/transformers/issues/10468/events
https://github.com/huggingface/transformers/issues/10468
819,416,755
MDU6SXNzdWU4MTk0MTY3NTU=
10,468
run_ner.py training data file format
{ "login": "pranav-s", "id": 9393002, "node_id": "MDQ6VXNlcjkzOTMwMDI=", "avatar_url": "https://avatars.githubusercontent.com/u/9393002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pranav-s", "html_url": "https://github.com/pranav-s", "followers_url": "https://api.github.com/users/prana...
[]
closed
false
null
[]
[ "Hi @pranav-s \r\n\r\nWe only support the `json` and `csv` files in the examples. To convert your text files to the `json` format, you could use this `datasets` script as references, which converts the `conll` text files to the `datasets` format.\r\nhttps://github.com/huggingface/datasets/blob/master/datasets/conll...
1,614
1,624
1,614
NONE
null
# 🚀 Feature request Would it be possible to support text files as input files for the run_ner.py script similar to what was supported in examples/legacy/token-classification/run_ner.py ? This, I believe is the CoNLL-2003 format. The current version of the run_ner.py script in /examples/token-classification appears ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10468/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10467
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10467/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10467/comments
https://api.github.com/repos/huggingface/transformers/issues/10467/events
https://github.com/huggingface/transformers/issues/10467
819,398,254
MDU6SXNzdWU4MTkzOTgyNTQ=
10,467
modeling files loaded when they aren't being asked to be loaded
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "I'm not sure there is a way to workaround `Trainer` loading all models since it needs the `MODEL_FOR_QUESTION_ANSWERING_MAPPING` to get the names of the labels (those models have different label names that are not `labels`). The auto models then loads every model in the lib, which we can't work around without rewr...
1,614
1,614
1,614
CONTRIBUTOR
null
``` File "/gpfsdswork/projects/rech/ajs/uiz98zp/stas/transformers-master/src/transformers/trainer_seq2seq.py", line 22, in <module> from .trainer import Trainer File "/gpfsdswork/projects/rech/ajs/uiz98zp/stas/transformers-master/src/transformers/trainer.py", line 65, in <module> from .trainer import Tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10467/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10466
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10466/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10466/comments
https://api.github.com/repos/huggingface/transformers/issues/10466/events
https://github.com/huggingface/transformers/pull/10466
819,370,887
MDExOlB1bGxSZXF1ZXN0NTgyNDg5Nzgz
10,466
Fix the bug in constructing the all_hidden_states of DeBERTa v2
{ "login": "felixgwu", "id": 7753366, "node_id": "MDQ6VXNlcjc3NTMzNjY=", "avatar_url": "https://avatars.githubusercontent.com/u/7753366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felixgwu", "html_url": "https://github.com/felixgwu", "followers_url": "https://api.github.com/users/felix...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
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/10466/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10466/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10466", "html_url": "https://github.com/huggingface/transformers/pull/10466", "diff_url": "https://github.com/huggingface/transformers/pull/10466.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10466.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10465
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10465/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10465/comments
https://api.github.com/repos/huggingface/transformers/issues/10465/events
https://github.com/huggingface/transformers/issues/10465
819,364,229
MDU6SXNzdWU4MTkzNjQyMjk=
10,465
Tflite conversion error for TFMT5ForConditionalGeneration model
{ "login": "abhijeetchauhan", "id": 11993662, "node_id": "MDQ6VXNlcjExOTkzNjYy", "avatar_url": "https://avatars.githubusercontent.com/u/11993662?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhijeetchauhan", "html_url": "https://github.com/abhijeetchauhan", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nCurrently, most of the TF models are not compliant with TFLite. Sorry for the inconvenience, if you want to help on this, you can propose a PR to fix this, this will be more than welcome!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this ...
1,614
1,619
1,619
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: Version: 4.4.0.dev0 - Platform: Not sure what this means - Python version: 3 - PyTorch version (GPU?): - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10465/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10464
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10464/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10464/comments
https://api.github.com/repos/huggingface/transformers/issues/10464/events
https://github.com/huggingface/transformers/pull/10464
819,153,496
MDExOlB1bGxSZXF1ZXN0NTgyMjk5ODMy
10,464
[Deepspeed] Allow HF optimizer and scheduler to be passed to deepspeed
{ "login": "cli99", "id": 17418037, "node_id": "MDQ6VXNlcjE3NDE4MDM3", "avatar_url": "https://avatars.githubusercontent.com/u/17418037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cli99", "html_url": "https://github.com/cli99", "followers_url": "https://api.github.com/users/cli99/follow...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "OK, 2 tests added and no, this doesn't work w/o neither the default optimizer nor the default scheduler. e.g. if you comment out the `del ` lines in the tests then we are using DS optim/sched and things are back to normal.\r\n\r\nI didn't have time to investigate as it's late, so just sharing the outputs at the mo...
1,614
1,615
1,615
CONTRIBUTOR
null
# Use HF optimizer and/or scheduler unless specified in deepspeed config If HF is already creating an optimizer and LR scheduler, we should not try to match that config/implementation in a ds_config.json instead we pass it to deepspeed.initialize(..., lr_scheduler=hf_lr_scheduler) * [x] This PR checks if ds_confi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10464/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10464", "html_url": "https://github.com/huggingface/transformers/pull/10464", "diff_url": "https://github.com/huggingface/transformers/pull/10464.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10464.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10463/comments
https://api.github.com/repos/huggingface/transformers/issues/10463/events
https://github.com/huggingface/transformers/issues/10463
819,153,223
MDU6SXNzdWU4MTkxNTMyMjM=
10,463
Script for squad_v2 for custom data not working
{ "login": "BatMrE", "id": 48859022, "node_id": "MDQ6VXNlcjQ4ODU5MDIy", "avatar_url": "https://avatars.githubusercontent.com/u/48859022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BatMrE", "html_url": "https://github.com/BatMrE", "followers_url": "https://api.github.com/users/BatMrE/fo...
[]
closed
false
null
[]
[ "hi @BatMrE \r\n\r\ncould you try the new `run_qa.py` example script and let us know if you still face the issue. You can find the new script here \r\nhttps://github.com/huggingface/transformers/tree/master/examples/question-answering", "> hi @BatMrE\r\n> \r\n> could you try the new `run_qa.py` example script and...
1,614
1,619
1,619
NONE
null
**Environment info** transformers version: 4.3.3 Platform: Linux-4.15.0-91-generic-x86_64-with-debian-buster-sid Python version: 3.7.6 Using GPU in script?: True Using distributed or parallel set-up in script?: True **Who can help** @gowtham1997 @patil-suraj I am running the script from docs to train and e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10463/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/10463/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10462/comments
https://api.github.com/repos/huggingface/transformers/issues/10462/events
https://github.com/huggingface/transformers/pull/10462
819,074,896
MDExOlB1bGxSZXF1ZXN0NTgyMjM0NTkz
10,462
Add I-BERT to README
{ "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
[]
[]
1,614
1,614
1,614
MEMBER
null
This PR adds I-BERT to the readme, it was forgotten.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10462/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10462", "html_url": "https://github.com/huggingface/transformers/pull/10462", "diff_url": "https://github.com/huggingface/transformers/pull/10462.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10462.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10461/comments
https://api.github.com/repos/huggingface/transformers/issues/10461/events
https://github.com/huggingface/transformers/pull/10461
819,008,600
MDExOlB1bGxSZXF1ZXN0NTgyMTc5NjY4
10,461
pass correct head mask to cross-attention layer
{ "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
[]
[ "I see, then this looks a bit confusing to me, other seq2seq models (BART, Marian, BlendSmall) pass `encoder_layer_head_mask` to cross attention\r\n\r\nhttps://github.com/huggingface/transformers/blob/9248e27037ce7f7c9359802e6fdf819a1e227a18/src/transformers/models/bart/modeling_bart.py#L419\r\n\r\nhttps://github.c...
1,614
1,614
1,614
MEMBER
null
# What does this PR do? MBart, Blender, and Pegaus models decoder layers pass `layer_head_mask` head mask to cross attention layer, which is incorrect. This PR passes the correct `encoder_layer_head_mask` to cross-attention layer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10461/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10461", "html_url": "https://github.com/huggingface/transformers/pull/10461", "diff_url": "https://github.com/huggingface/transformers/pull/10461.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10461.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10460/comments
https://api.github.com/repos/huggingface/transformers/issues/10460/events
https://github.com/huggingface/transformers/issues/10460
818,923,860
MDU6SXNzdWU4MTg5MjM4NjA=
10,460
How to Reduce the inference time of Facebook/many to many model?
{ "login": "sankarsiva123", "id": 58412261, "node_id": "MDQ6VXNlcjU4NDEyMjYx", "avatar_url": "https://avatars.githubusercontent.com/u/58412261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sankarsiva123", "html_url": "https://github.com/sankarsiva123", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,619
1,619
NONE
null
Facebook/many to many model takes 9s on cpu to translate , how to reduce the inference time on cpu ? It will be helpful if an method is suggested .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10460/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10459/comments
https://api.github.com/repos/huggingface/transformers/issues/10459/events
https://github.com/huggingface/transformers/issues/10459
818,920,048
MDU6SXNzdWU4MTg5MjAwNDg=
10,459
[Wav2Vec2] Improve SpecAugment function by converting numpy based function to pytorch based function
{ "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://...
[ { "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
[]
[ "@patrickvonplaten You mean it function definition will become def _compute_mask_indices(\r\n shape: Tuple[int, int],\r\n mask_prob: float,\r\n mask_length: int,\r\n attention_mask: Optional[torch.Tensor] = None,\r\n min_masks: int = 0,\r\n) -> torch.tensor:\r\n\r\n?? Of course internal working also...
1,614
1,621
1,621
MEMBER
null
# 🚀 Feature request As can be seen here: https://github.com/huggingface/transformers/blob/11655fafdd42eb56ad94e09ecd84d4dc2d1041ae/src/transformers/models/wav2vec2/modeling_wav2vec2.py#L47, the function `_compute_mask_indices` (responsible for spec augment) of Wav2Vec2 is written in numpy which means that the fu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10459/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/10459/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10458/comments
https://api.github.com/repos/huggingface/transformers/issues/10458/events
https://github.com/huggingface/transformers/pull/10458
818,742,216
MDExOlB1bGxSZXF1ZXN0NTgxOTU0NTQw
10,458
Work towards fixing Flax tests
{ "login": "avital", "id": 37586, "node_id": "MDQ6VXNlcjM3NTg2", "avatar_url": "https://avatars.githubusercontent.com/u/37586?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avital", "html_url": "https://github.com/avital", "followers_url": "https://api.github.com/users/avital/followers", ...
[]
closed
false
null
[]
[ "/cc @patrickvonplaten for review", "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/tra...
1,614
1,618
1,618
CONTRIBUTOR
null
I still get failures that seem due to missing HTTP artifacts, e.g. E OSError: Can't load weights for 'roberta-large'. Make sure that: E E - 'roberta-large' is a correct model identifier listed on 'https://huggingface.co/models' E E - or 'roberta-large' is the correct pat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10458/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10458", "html_url": "https://github.com/huggingface/transformers/pull/10458", "diff_url": "https://github.com/huggingface/transformers/pull/10458.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10458.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10457/comments
https://api.github.com/repos/huggingface/transformers/issues/10457/events
https://github.com/huggingface/transformers/pull/10457
818,656,840
MDExOlB1bGxSZXF1ZXN0NTgxODgyNzQy
10,457
[Wav2Vec2] Remove unused config
{ "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,614
1,614
1,614
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/10457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10457/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10457", "html_url": "https://github.com/huggingface/transformers/pull/10457", "diff_url": "https://github.com/huggingface/transformers/pull/10457.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10457.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10456/comments
https://api.github.com/repos/huggingface/transformers/issues/10456/events
https://github.com/huggingface/transformers/issues/10456
818,607,680
MDU6SXNzdWU4MTg2MDc2ODA=
10,456
How to Improve inference time of facebook/mbart many to many model?
{ "login": "Vimal0307", "id": 41289592, "node_id": "MDQ6VXNlcjQxMjg5NTky", "avatar_url": "https://avatars.githubusercontent.com/u/41289592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vimal0307", "html_url": "https://github.com/Vimal0307", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,614
1,614
1,614
NONE
null
If we tried to run translation service on facebook mbart many to many on cpu it take 9 secs to translate, how do we reduce the inference time further
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10456/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10455/comments
https://api.github.com/repos/huggingface/transformers/issues/10455/events
https://github.com/huggingface/transformers/pull/10455
818,584,632
MDExOlB1bGxSZXF1ZXN0NTgxODIyMTk0
10,455
[Wav2Vec2FeatureExtractor] smal fixes
{ "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,614
1,614
1,614
MEMBER
null
# What does this PR do? This PR adds the `return_attention_mask` argument to `Wav2Vec2FeatureExtractor.__call__` method.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10455/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10455", "html_url": "https://github.com/huggingface/transformers/pull/10455", "diff_url": "https://github.com/huggingface/transformers/pull/10455.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10455.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10454/comments
https://api.github.com/repos/huggingface/transformers/issues/10454/events
https://github.com/huggingface/transformers/issues/10454
818,574,613
MDU6SXNzdWU4MTg1NzQ2MTM=
10,454
How can I make the logging utils log to a file as well?
{ "login": "howardlau1999", "id": 5250490, "node_id": "MDQ6VXNlcjUyNTA0OTA=", "avatar_url": "https://avatars.githubusercontent.com/u/5250490?v=4", "gravatar_id": "", "url": "https://api.github.com/users/howardlau1999", "html_url": "https://github.com/howardlau1999", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "I just realize that I can enable the propagation and add the file handler to logging.root", "> I just realize that I can enable the propagation and add the file handler to logging.root\r\n\r\nhow? can you please provide the example code, if possible.", "> > I just realize that I can enable the propagation and ...
1,614
1,694
1,614
NONE
null
# 🚀 Feature request I want to make the logging utils log to a file in addition to the console. But I can't find an API that lets me add a handler to the logging utils.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10454/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/10454/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10453/comments
https://api.github.com/repos/huggingface/transformers/issues/10453/events
https://github.com/huggingface/transformers/issues/10453
818,565,627
MDU6SXNzdWU4MTg1NjU2Mjc=
10,453
pytorch Albert quantization error
{ "login": "Zjq9409", "id": 62974595, "node_id": "MDQ6VXNlcjYyOTc0NTk1", "avatar_url": "https://avatars.githubusercontent.com/u/62974595?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zjq9409", "html_url": "https://github.com/Zjq9409", "followers_url": "https://api.github.com/users/Zjq940...
[]
closed
false
null
[]
[ "I also meet the bug,I find that self.dense has been through prune_linear_layer() and return a nn.Linear as it should be,\r\n```\r\n>>> m = torch.nn.Linear(1,2)\r\n>>> m.weight.t\r\n<built-in method t of Parameter object at 0x7fcb7c3a45f0>\r\n>>> m.weight.t()\r\ntensor([[-0.0714, 0.7815]], grad_fn=<TBackward>)\r\n...
1,614
1,619
1,619
NONE
null
I use huggingface transformers 'albert_chinese_base',but in pytorch quantization,The following problem occurred: File "test_simple.py", line 186, in <module> model_pt_quantized(input_ids=model_inputs["input_ids"], token_type_ids=model_inputs["token_type_ids"], attention_mask=model_inputs["attention_mask"]) Fi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10453/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10452/comments
https://api.github.com/repos/huggingface/transformers/issues/10452/events
https://github.com/huggingface/transformers/issues/10452
818,557,358
MDU6SXNzdWU4MTg1NTczNTg=
10,452
BartForConditionalGeneration breaks with label smoothing loss
{ "login": "mingruimingrui", "id": 18568364, "node_id": "MDQ6VXNlcjE4NTY4MzY0", "avatar_url": "https://avatars.githubusercontent.com/u/18568364?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mingruimingrui", "html_url": "https://github.com/mingruimingrui", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Another possible solution would be to change the behavior of `PreTrainedTokenizer.prepare_seq2seq_batch`, by adding something like a `return_decoder_input_ids` flag.\r\n\r\nPros\r\n- Backward compatibility also maintained\r\n- Only a handful of changes has to be made\r\n\r\nCons\r\n- This change can complicate mat...
1,614
1,614
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.3 - The other parameters are irrelevant ### Who can help @patrickvonplaten @sgugger ## Information I apologize for not using the provided template for this issue. By generating entries with `PreTrainedTokenizer.prepare_seq2seq_batch`, collating with ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10452/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10452/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10451/comments
https://api.github.com/repos/huggingface/transformers/issues/10451/events
https://github.com/huggingface/transformers/issues/10451
818,451,998
MDU6SXNzdWU4MTg0NTE5OTg=
10,451
BART for generating sequence of length more than 1024 tokens
{ "login": "silentghoul-spec", "id": 58596410, "node_id": "MDQ6VXNlcjU4NTk2NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/58596410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/silentghoul-spec", "html_url": "https://github.com/silentghoul-spec", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hi @silentghoul-spec \r\n\r\nfor BART the maximum sequence length is 1024, so it can't process text larger than 1024 tokens.\r\nYou could use the `LED` model for long document summarization, here's a notebook which demonstrates how to use LED https://github.com/patrickvonplaten/notebooks/blob/master/Fine_tune_Long...
1,614
1,614
1,614
CONTRIBUTOR
null
I was using pretraining code given in transformers/examples/seq2seq to finetune on my custom dataset containing summaries of the text of greater than 1024 tokens. But I am getting an error regarding index out of bounds error. Is it possible to fine-tune BART to generate summaries of more than 1024 tokens? I have added ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10451/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10450/comments
https://api.github.com/repos/huggingface/transformers/issues/10450/events
https://github.com/huggingface/transformers/issues/10450
818,271,504
MDU6SXNzdWU4MTgyNzE1MDQ=
10,450
OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5'] When I try to use my model
{ "login": "MLDovakin", "id": 78375175, "node_id": "MDQ6VXNlcjc4Mzc1MTc1", "avatar_url": "https://avatars.githubusercontent.com/u/78375175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MLDovakin", "html_url": "https://github.com/MLDovakin", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Please check if the `pytorch_model.bin` file is available in your cloned repo. I can see that file on the hub, so there might have been some mistake when cloning the repo.", "@patil-suraj when cloning the repository, this file is located in the folder\r\n", "This issue has been automatically marked as stale b...
1,614
1,651
1,618
NONE
null
an error occurred while importing my model from a folder. I cloned my repository and wanted to use the model, I got an error https://huggingface.co/Fidlobabovic/beta-kvantorium-simple-small Do I need to change files in my repository? What should I fix in code or model files? #7370 #9667 ```` from transformers i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10450/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10450/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10449/comments
https://api.github.com/repos/huggingface/transformers/issues/10449/events
https://github.com/huggingface/transformers/issues/10449
818,270,454
MDU6SXNzdWU4MTgyNzA0NTQ=
10,449
pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [1,0,0] Assertion `t >= 0 && t < n_classes` failed.
{ "login": "yigit353", "id": 852489, "node_id": "MDQ6VXNlcjg1MjQ4OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/852489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yigit353", "html_url": "https://github.com/yigit353", "followers_url": "https://api.github.com/users/yigit35...
[]
closed
false
null
[]
[ "I think this means you have a label outside of boundaries from the error message but I can't be sure: `CUDA error: device-side assert triggered` are very tricky since they are thrown not when they appear but when there is a synchronization between all the CUDA processes.\r\n\r\nThe very best way to debug those err...
1,614
1,614
1,614
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.3 - Platform: Linux-5.4.0-65-generic-x86_64-with-debian-buster-sid - Python version: 3.7.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10449/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10448/comments
https://api.github.com/repos/huggingface/transformers/issues/10448/events
https://github.com/huggingface/transformers/issues/10448
818,261,426
MDU6SXNzdWU4MTgyNjE0MjY=
10,448
When I try to import my model I run into an error "TypeError: PyMetaspace.__new__() got an unexpected keyword argument: str_rep"
{ "login": "MLDovakin", "id": 78375175, "node_id": "MDQ6VXNlcjc4Mzc1MTc1", "avatar_url": "https://avatars.githubusercontent.com/u/78375175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MLDovakin", "html_url": "https://github.com/MLDovakin", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Maybe @n1t0 knows what might be happening here.", "@n1t0 LysandreJik spoked call you ", "Dose this problem fixed? I also got the same problem, I trained a SentencePieceBPETokenizer, use save() api to persist it as a tokenizer.json file, but got this error while loading. \r\n\r\nI dig into the rust code, and f...
1,614
1,617
1,617
NONE
null
In the Hugging Face repository I have my own model Fidlobabovic / beta-kvantorium-simple-small https://huggingface.co/Fidlobabovic/beta-kvantorium-simple-small/tree/main #7370 #10148 When I try to import it, I get an error. What can I do to fix it? Overwrite model files or rename them? What should I write for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10448/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/10448/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10447/comments
https://api.github.com/repos/huggingface/transformers/issues/10447/events
https://github.com/huggingface/transformers/issues/10447
818,255,178
MDU6SXNzdWU4MTgyNTUxNzg=
10,447
changing the way checkpoint is done in the new release
{ "login": "dorost1234", "id": 79165106, "node_id": "MDQ6VXNlcjc5MTY1MTA2", "avatar_url": "https://avatars.githubusercontent.com/u/79165106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dorost1234", "html_url": "https://github.com/dorost1234", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I am not sure if I understand this correctly, how would the `Trainer` know if the last model is different from the actual last checkpoint, and if the model is only saved when the best eval accuracy reached, how would you save the last model to `save_path_folder`?\r\n\r\nAlso if you are saving the last model (and o...
1,614
1,619
1,619
NONE
null
Hi Currently HuggingFace library checks the path for the latest checkpoint and then starts the training from there, this approach is not working due to following reason: - lets assume you train the model with limit of 1 checkpoint and then you checkpoint only when the best eval accuracy is achieved, then if library l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10447/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10446/comments
https://api.github.com/repos/huggingface/transformers/issues/10446/events
https://github.com/huggingface/transformers/issues/10446
818,248,865
MDU6SXNzdWU4MTgyNDg4NjU=
10,446
AttributeError: 'Trainer' object has no attribute 'log_metrics'
{ "login": "MariaFjodorowa", "id": 32707120, "node_id": "MDQ6VXNlcjMyNzA3MTIw", "avatar_url": "https://avatars.githubusercontent.com/u/32707120?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MariaFjodorowa", "html_url": "https://github.com/MariaFjodorowa", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi there. As is mentioned at the very beginning of the [examples README](https://github.com/huggingface/transformers/tree/master/examples#important-note), running the examples requires an install from source.\r\n\r\nIf you want the examples associated with v4.3.3, you can find them [here](https://github.com/huggin...
1,614
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.1+cu101 (True) - Tensorflow version (GPU?): 2.4.1 (True) - Using GPU in script?: True - Using distributed or parallel set-up in script?: False ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10446/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10446/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10445/comments
https://api.github.com/repos/huggingface/transformers/issues/10445/events
https://github.com/huggingface/transformers/pull/10445
818,238,354
MDExOlB1bGxSZXF1ZXN0NTgxNTQwMjI4
10,445
[IBert] Correct link to paper
{ "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,614
1,614
1,614
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/10445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10445/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10445", "html_url": "https://github.com/huggingface/transformers/pull/10445", "diff_url": "https://github.com/huggingface/transformers/pull/10445.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10445.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10444/comments
https://api.github.com/repos/huggingface/transformers/issues/10444/events
https://github.com/huggingface/transformers/issues/10444
818,182,424
MDU6SXNzdWU4MTgxODI0MjQ=
10,444
TypeError: can only concatenate str (not "int") to str
{ "login": "omerarshad", "id": 16164105, "node_id": "MDQ6VXNlcjE2MTY0MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omerarshad", "html_url": "https://github.com/omerarshad", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nif the `text_column` and `summary_column` arguments are not specified when running the script, it is assumed that the first column in a csv file contains the full text and the second column the corresponding summaries. From the error message, it seems your csv file has integers in the first column. ", ...
1,614
1,619
1,619
NONE
null
While running run_seq2seq.py for summarization task on my own CSV, i get following error: All the weights of BartForConditionalGeneration were initialized from the model checkpoint at sshleifer/distilbart-cnn-12-6. If your task is similar to the task the model of the checkpoint was trained on, you can already us...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10444/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10443/comments
https://api.github.com/repos/huggingface/transformers/issues/10443/events
https://github.com/huggingface/transformers/pull/10443
818,169,051
MDExOlB1bGxSZXF1ZXN0NTgxNDg4MzMy
10,443
Adds terms to Glossary
{ "login": "darigovresearch", "id": 30328618, "node_id": "MDQ6VXNlcjMwMzI4NjE4", "avatar_url": "https://avatars.githubusercontent.com/u/30328618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darigovresearch", "html_url": "https://github.com/darigovresearch", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? Wanted a definition of what a transformer is since it is not in the glossary, @cronoik provided one that required two other terms so this pull request makes those changes so more people can understand if they are new to the field. Previous discussion can be found here - https://github.com/hu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10443/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/10443/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10443", "html_url": "https://github.com/huggingface/transformers/pull/10443", "diff_url": "https://github.com/huggingface/transformers/pull/10443.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10443.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10442/comments
https://api.github.com/repos/huggingface/transformers/issues/10442/events
https://github.com/huggingface/transformers/issues/10442
818,149,242
MDU6SXNzdWU4MTgxNDkyNDI=
10,442
Bug in Electra Example
{ "login": "david-waterworth", "id": 5028974, "node_id": "MDQ6VXNlcjUwMjg5NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/david-waterworth", "html_url": "https://github.com/david-waterworth", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Ah, good point! I'll edit it now, thanks for letting us know.", "Just fixed it in [hf@cf81dc](https://huggingface.co/google/electra-small-discriminator/commit/cf81dc100ac08ff43eb688cb1e3e7d69a822f359), I added you as a co-author too.", "Thanks @LysandreJik, out of interest did you get the same results as me - ...
1,614
1,614
1,614
NONE
null
The description for Electra (https://huggingface.co/google/electra-small-discriminator) contains code the example below. The last line fails, I think instead of predictions.tolist() it should be predictions.squeeze() as predictions is 1xN Also the example doesn't seem to detect the corrupted tokens. ``` from tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10442/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10441/comments
https://api.github.com/repos/huggingface/transformers/issues/10441/events
https://github.com/huggingface/transformers/issues/10441
818,128,276
MDU6SXNzdWU4MTgxMjgyNzY=
10,441
TypeError: __init__() got an unexpected keyword argument 'model' in `run_seq2seq.py` example when using on our own files
{ "login": "amirveyseh", "id": 7426897, "node_id": "MDQ6VXNlcjc0MjY4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7426897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amirveyseh", "html_url": "https://github.com/amirveyseh", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I have the same exact problem. Even if you skip that part, it keeps happening in other parts of the code. It seems that file hasn't been updated with the last changes.", "any solution for this? issue persists", "This is because of the old version of `transformers`, upgrading to master should resolve this issue...
1,614
1,614
1,614
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.3 - Platform: Linux-4.15.0-109-generic-x86_64-with-debian-buster-sid - Python version: 3.6.13 - PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10441/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10441/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10440
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10440/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10440/comments
https://api.github.com/repos/huggingface/transformers/issues/10440/events
https://github.com/huggingface/transformers/pull/10440
818,113,275
MDExOlB1bGxSZXF1ZXN0NTgxNDQ2MzQw
10,440
Checkpoint refactoring for Multiple Models
{ "login": "danielpatrickhug", "id": 38571110, "node_id": "MDQ6VXNlcjM4NTcxMTEw", "avatar_url": "https://avatars.githubusercontent.com/u/38571110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielpatrickhug", "html_url": "https://github.com/danielpatrickhug", "followers_url": "https://...
[]
closed
false
null
[]
[ "> Thanks a lot for the PR!\r\n> \r\n> We can do the TF models in another PR, I'm completely fine with that. Regarding your other comments:\r\n> \r\n> * funnel is a special case indeed, so it's fine to leave it as it for now.\r\n> * for squeezebert, you can just use \"squeezebert/squeezebert-uncased\" everywhere\r\...
1,614
1,614
1,614
CONTRIBUTOR
null
Hi, thank you for providing an example @sgugger Linked to #10193, this PR refactors the checkpoint names in one private constant. A couple notes: - I refactored most of the modeling files, however I excluded the modeling_tf_*.py files for now. - The bare Distilbert foward pass has two add_code_sample_docstrings d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10440/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10440/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10440", "html_url": "https://github.com/huggingface/transformers/pull/10440", "diff_url": "https://github.com/huggingface/transformers/pull/10440.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10440.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10439/comments
https://api.github.com/repos/huggingface/transformers/issues/10439/events
https://github.com/huggingface/transformers/issues/10439
818,056,928
MDU6SXNzdWU4MTgwNTY5Mjg=
10,439
Option to output "test_preds_seq2seq.txt" text file with each checkpoint generated in "run_seq2seq.py"
{ "login": "kingpalethe", "id": 11775831, "node_id": "MDQ6VXNlcjExNzc1ODMx", "avatar_url": "https://avatars.githubusercontent.com/u/11775831?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kingpalethe", "html_url": "https://github.com/kingpalethe", "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,614
1,619
1,619
NONE
null
I had previously raised an issue in a mistaken belief that this functionality _used_ to exist in Transformers. Current behavior: The "test_preds_seq2seq.txt" file is created once, at the end of the last epoch. For many Seq2Seq tasks, at least for mine, it would be very useful to get these predictions at each che...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10439/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10438/comments
https://api.github.com/repos/huggingface/transformers/issues/10438/events
https://github.com/huggingface/transformers/issues/10438
818,044,874
MDU6SXNzdWU4MTgwNDQ4NzQ=
10,438
Setting max_length for model training produces error
{ "login": "neel04", "id": 11617870, "node_id": "MDQ6VXNlcjExNjE3ODcw", "avatar_url": "https://avatars.githubusercontent.com/u/11617870?v=4", "gravatar_id": "", "url": "https://api.github.com/users/neel04", "html_url": "https://github.com/neel04", "followers_url": "https://api.github.com/users/neel04/fo...
[]
closed
false
null
[]
[ "The RoBERTa model takes maximum lengths of 512 tokens, and you are giving it inputs padded (or truncated) to a length of 4072. This is why you get this error.", "Hmm... well, I was able to train and infer with `roberta-base` without any errors (though the output was very bad).\r\nIt seems that the only way to pr...
1,614
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.1+cu101 (False) - Tensorflow version (GPU?): 2.4.1 (False) - Using GPU in script?: True/False - Using distributed or parallel set-up in script?:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10438/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10437/comments
https://api.github.com/repos/huggingface/transformers/issues/10437/events
https://github.com/huggingface/transformers/issues/10437
817,975,503
MDU6SXNzdWU4MTc5NzU1MDM=
10,437
[Trainer] add --max_train_samples --max_val_samples --max_test_samples
{ "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": 2155169140, "node_id": "MDU6TGFiZWwyMTU1MTY5MTQw", "url": "https://api.github.com/repos/huggingface/transformers/labels/trainer", "name": "trainer", "color": "2ef289", "default": false, "description": "" } ]
closed
false
{ "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...
[ { "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", "follower...
[ "Yes, that would be a nice refactor in `Trainer`! I believe this can be done when we create the dataloaders, to keep the original datasets untouched.", "@bhadreshpsavani, would you like to try this slightly more complex task? \r\n\r\nStep 1 is to take `run_seq2seq.py` and move the functionality that handles `--ma...
1,614
1,615
1,615
CONTRIBUTOR
null
As we were planning to add `--max_train_samples --max_val_samples --max_test_samples` to all examples https://github.com/huggingface/transformers/issues/10423, I thought is there any reason why we don't expand the Trainer to handle that? It surely would be useful to be able to truncate the dataset at the point of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10437/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10436/comments
https://api.github.com/repos/huggingface/transformers/issues/10436/events
https://github.com/huggingface/transformers/pull/10436
817,968,027
MDExOlB1bGxSZXF1ZXN0NTgxMzY1NDQw
10,436
updated logging and saving metrics
{ "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
[]
[ "Please run `make style` and commit to appease to `check_code_quality` CI job" ]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? I have updated redundant code for saving and logging metrics in the example scripts <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10436/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10436", "html_url": "https://github.com/huggingface/transformers/pull/10436", "diff_url": "https://github.com/huggingface/transformers/pull/10436.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10436.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10435/comments
https://api.github.com/repos/huggingface/transformers/issues/10435/events
https://github.com/huggingface/transformers/issues/10435
817,919,300
MDU6SXNzdWU4MTc5MTkzMDA=
10,435
Confused about the time of forword
{ "login": "dy1998", "id": 27282615, "node_id": "MDQ6VXNlcjI3MjgyNjE1", "avatar_url": "https://avatars.githubusercontent.com/u/27282615?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dy1998", "html_url": "https://github.com/dy1998", "followers_url": "https://api.github.com/users/dy1998/fo...
[]
closed
false
null
[]
[ "I assume that that's how Python works, if you run the same thing again, the result will be cached. If you had provided different inputs, then the time would be the same. ", "> I assume that that's how Python works, if you run the same thing again, the result will be cached. If you had provided different inputs, ...
1,614
1,619
1,619
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:3.0.0 - Platform: ubuntu 1604 - Python version: 3.7 - PyTorch version (GPU?):1.2.0 gpu - Tensorflow version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10435/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10434/comments
https://api.github.com/repos/huggingface/transformers/issues/10434/events
https://github.com/huggingface/transformers/issues/10434
817,886,685
MDU6SXNzdWU4MTc4ODY2ODU=
10,434
TF Dataset Pipeline throws `RuntimeError: Already borrowed` when tokenizing
{ "login": "DarshanDeshpande", "id": 39432636, "node_id": "MDQ6VXNlcjM5NDMyNjM2", "avatar_url": "https://avatars.githubusercontent.com/u/39432636?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DarshanDeshpande", "html_url": "https://github.com/DarshanDeshpande", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nI do not suggest to convert your sentence on the fly but you should do it beforehand. Here the issue you get is because of `sentence = sentence.numpy().decode('utf-8')`, your sentences should not be loaded in a tf datasets before to be processed.\r\n\r\nI recommend you to read your file normally, con...
1,614
1,614
1,614
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: master (4.4.0dev0) - Platform: Google colab - Python version: 3.7 - PyTorch version (GPU?): None - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10434/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10434/timeline
completed
null
null