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/8321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8321/comments
https://api.github.com/repos/huggingface/transformers/issues/8321/events
https://github.com/huggingface/transformers/issues/8321
736,854,753
MDU6SXNzdWU3MzY4NTQ3NTM=
8,321
tensorboard.compat.tensorflow_stub.errors.AlreadyExistsError: Directory already exists
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Well it seems to tell you that your tensorboard directory already exists? Try with a different directory?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
Hi I am running finetune_trainer.py on cloud with TPUs, here is the error, I appreciate your help thanks ```json { "textPayload": "Traceback (most recent call last):\n File \"/root/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py\", line 330, in _mp_start_fn\n _s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8321/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8320/comments
https://api.github.com/repos/huggingface/transformers/issues/8320/events
https://github.com/huggingface/transformers/pull/8320
736,749,398
MDExOlB1bGxSZXF1ZXN0NTE1OTA4NzU0
8,320
Corrected tpu typo in examples readme
{ "login": "GuillemGSubies", "id": 37592763, "node_id": "MDQ6VXNlcjM3NTkyNzYz", "avatar_url": "https://avatars.githubusercontent.com/u/37592763?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GuillemGSubies", "html_url": "https://github.com/GuillemGSubies", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Confirming the failure is spurious. Thanks a lot for your fix!" ]
1,604
1,604
1,604
CONTRIBUTOR
null
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-requests), Pull Request section? - [ ] Was th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8320/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8320", "html_url": "https://github.com/huggingface/transformers/pull/8320", "diff_url": "https://github.com/huggingface/transformers/pull/8320.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8320.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8319/comments
https://api.github.com/repos/huggingface/transformers/issues/8319/events
https://github.com/huggingface/transformers/issues/8319
736,716,181
MDU6SXNzdWU3MzY3MTYxODE=
8,319
Does Tokenizer provide parameters to split the number?
{ "login": "wulaoshi", "id": 27938964, "node_id": "MDQ6VXNlcjI3OTM4OTY0", "avatar_url": "https://avatars.githubusercontent.com/u/27938964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wulaoshi", "html_url": "https://github.com/wulaoshi", "followers_url": "https://api.github.com/users/wul...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8319/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8318/comments
https://api.github.com/repos/huggingface/transformers/issues/8318/events
https://github.com/huggingface/transformers/pull/8318
736,647,162
MDExOlB1bGxSZXF1ZXN0NTE1ODI0MTAz
8,318
[s2s] test_bash_script.py - actually learn something
{ "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
[]
[ "It's ready to merge" ]
1,604
1,604
1,604
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/6049 this PR replaces the original `test_train_mbart_cc25_enro_script` test with mostly new guts doing the following: * [x] switches to downloading and caching a bigger custom dataset, which is a subset of the full wmt_en_ro. I created https://cdn-d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8318/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8318", "html_url": "https://github.com/huggingface/transformers/pull/8318", "diff_url": "https://github.com/huggingface/transformers/pull/8318.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8318.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8317
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8317/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8317/comments
https://api.github.com/repos/huggingface/transformers/issues/8317/events
https://github.com/huggingface/transformers/issues/8317
736,599,507
MDU6SXNzdWU3MzY1OTk1MDc=
8,317
FutureWarning: This config doesn't use attention memories, a core feature of XLNet even though I'm using mem_len
{ "login": "zainsarwar865", "id": 66789976, "node_id": "MDQ6VXNlcjY2Nzg5OTc2", "avatar_url": "https://avatars.githubusercontent.com/u/66789976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zainsarwar865", "html_url": "https://github.com/zainsarwar865", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[ { "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "htt...
[ "Any solutions to this?\r\n\r\nThanks!", "Hey, how are you setting `mem_len=384`? I am under the impression that the default `run_generation` script doesn't allow you to change the model from the default configuration, which would explain the warning.", "Here is how I am setting it\r\n`model = model_class.from_...
1,604
1,604
1,604
NONE
null
So every time I try to run xl-net using the run_generation.py script, I get the warning : `FutureWarning: This config doesn't use attention memories, a core feature of XLNet. Consider setting mem_len to a non-zero value, for example xlnet = XLNetLMHeadModel.from_pretrained('xlnet-base-cased'', mem_len=1024), for accura...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8317/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8316/comments
https://api.github.com/repos/huggingface/transformers/issues/8316/events
https://github.com/huggingface/transformers/issues/8316
736,589,640
MDU6SXNzdWU3MzY1ODk2NDA=
8,316
No loss in model output for TFElectraForPreTraining
{ "login": "alibi123", "id": 51895254, "node_id": "MDQ6VXNlcjUxODk1MjU0", "avatar_url": "https://avatars.githubusercontent.com/u/51895254?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alibi123", "html_url": "https://github.com/alibi123", "followers_url": "https://api.github.com/users/ali...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
No loss in model output for TFElectraForPreTraining, even though labels are provided. This is from docs for ELECTRA: `loss (optional, returned when labels is provided, tf.Tensor of shape (1,)) – Total loss of the ELECTRA objective.` The problem is that I want to get loss and logits, but model outputs only logits. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8316/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8315
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8315/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8315/comments
https://api.github.com/repos/huggingface/transformers/issues/8315/events
https://github.com/huggingface/transformers/pull/8315
736,577,451
MDExOlB1bGxSZXF1ZXN0NTE1NzY2MjE3
8,315
[s2s] test_distributed_eval
{ "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
[]
[ "Fyi the example tests don't currently run on the multi-gpu setup, as pretty much none of the examples tests were made to run on a multi-gpu setup.\r\n\r\nWe can look into adding them to the CI.", "> Fyi the example tests don't currently run on the multi-gpu setup, as pretty much none of the examples tests were m...
1,604
1,604
1,604
CONTRIBUTOR
null
This PR: * [x] adds a helper function `get_gpu_count()`, which returns the number of available gpus (regardless of whether torch or tf is used) (otherwise we have to do all the `if _torch_available: import torch` rigmarole. * [x] adds a basic test for `run_distributed_eval.py` Things I wasn't sure about: - I p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8315/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8315", "html_url": "https://github.com/huggingface/transformers/pull/8315", "diff_url": "https://github.com/huggingface/transformers/pull/8315.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8315.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8314
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8314/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8314/comments
https://api.github.com/repos/huggingface/transformers/issues/8314/events
https://github.com/huggingface/transformers/pull/8314
736,573,962
MDExOlB1bGxSZXF1ZXN0NTE1NzYzMzMz
8,314
[QA examples] fix inconsistent tokenization in _improve_answer_span
{ "login": "xiye17", "id": 43059752, "node_id": "MDQ6VXNlcjQzMDU5NzUy", "avatar_url": "https://avatars.githubusercontent.com/u/43059752?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiye17", "html_url": "https://github.com/xiye17", "followers_url": "https://api.github.com/users/xiye17/fo...
[]
closed
false
null
[]
[ "@LysandreJik Not sure who I should ping to review this :) btw I am not sure what's the issue with the code quality here. ", "Hello, we're in the midst of deprecating that method and shifting the methods to `datasets` instead. Could you hold on until we have the updated approach, which should land sometimes withi...
1,604
1,619
1,619
CONTRIBUTOR
null
Basically, I am trying to fix the QA preprocessing steps when using BPE-based tokenizers (Roberta, Bart, Longformer) The prior _improve_answer_span has a bug because the way it tokenizes the answer_text is different from the way context is handled. So when the original context is '1987', and the old input ans_span i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8314/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8314", "html_url": "https://github.com/huggingface/transformers/pull/8314", "diff_url": "https://github.com/huggingface/transformers/pull/8314.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8314.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8313
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8313/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8313/comments
https://api.github.com/repos/huggingface/transformers/issues/8313/events
https://github.com/huggingface/transformers/issues/8313
736,551,670
MDU6SXNzdWU3MzY1NTE2NzA=
8,313
OOMKilled with exit code 137 with finetune_trainer.py
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I even set batch_size to 1 and still the error is there. any suggestion? ", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
Hi I am trying to train on WMT with TPUs using seq2seq_trainer.py, and I always get "OOMKilled with exit code 137" on the line when it tries to use xm.spawn to run the main function on multiple TPUs. I decreased the batch size as much as possible, still the error is there. Do you have an idea why this is happening? th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8313/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8312
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8312/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8312/comments
https://api.github.com/repos/huggingface/transformers/issues/8312/events
https://github.com/huggingface/transformers/pull/8312
736,517,415
MDExOlB1bGxSZXF1ZXN0NTE1NzE3OTMy
8,312
Create README.md
{ "login": "ktrapeznikov", "id": 4052002, "node_id": "MDQ6VXNlcjQwNTIwMDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4052002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ktrapeznikov", "html_url": "https://github.com/ktrapeznikov", "followers_url": "https://api.github.com...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
model card for ktrapeznikov/gpt2-medium-topic-news
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8312/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8312/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8312", "html_url": "https://github.com/huggingface/transformers/pull/8312", "diff_url": "https://github.com/huggingface/transformers/pull/8312.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8312.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8311
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8311/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8311/comments
https://api.github.com/repos/huggingface/transformers/issues/8311/events
https://github.com/huggingface/transformers/issues/8311
736,501,527
MDU6SXNzdWU3MzY1MDE1Mjc=
8,311
error 'ascii' codec can't decode byte 0xc3 in position 6550: ordinal not in range(128)\n", when running finetune_trainer.py on multiple tpus
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
Hi I am running finetune_trainer.py on multiple tpus getting the following error, thank you for your help { "textPayload": "Traceback (most recent call last):\n File \"/root/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py\", line 330, in _mp_start_fn\n _start_fn...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8311/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8310
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8310/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8310/comments
https://api.github.com/repos/huggingface/transformers/issues/8310/events
https://github.com/huggingface/transformers/issues/8310
736,479,364
MDU6SXNzdWU3MzY0NzkzNjQ=
8,310
Running seq2seq_trainer with iterable datasets
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Maybe @patil-suraj has an idea!", "Hi\r\nI really appreciate assisting me with this question, I am still struggling with it, could you tell me some pointers, how to add the handling capability of iterative datasets to finetune_trainer.py codes. thanks @patil-suraj ", "This issue has been automatically marked ...
1,604
1,610
1,610
NONE
null
Hi Looking into https://github.com/huggingface/transformers/blob/master/examples/seq2seq/seq2seq_trainer.py line 117, if the dataset is iterative, then the code does not return a distributed sampler so in case one wants to train on TPUs on multiple cores with iterable datasets, I was wondering if you could assist me h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8310/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8309
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8309/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8309/comments
https://api.github.com/repos/huggingface/transformers/issues/8309/events
https://github.com/huggingface/transformers/pull/8309
736,411,790
MDExOlB1bGxSZXF1ZXN0NTE1NjMwMjQ0
8,309
examples/docs: caveat that PL examples don't work on TPU
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
"Note that this approach does not work for examples that use `pytorch-lightning`."
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8309/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8309", "html_url": "https://github.com/huggingface/transformers/pull/8309", "diff_url": "https://github.com/huggingface/transformers/pull/8309.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8309.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8308
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8308/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8308/comments
https://api.github.com/repos/huggingface/transformers/issues/8308/events
https://github.com/huggingface/transformers/pull/8308
736,394,824
MDExOlB1bGxSZXF1ZXN0NTE1NjE2MDY1
8,308
Clean up data collators and datasets
{ "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,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? This PR cleans a bit the `DataCollatorForLanguageModeling` by: - making sure it keeps additional labels (such a next sentence labels) - use the `tokenizer.pad` function when possible, rewrite the function that was doing the padding when it's not (to handle padding on the left as well as the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8308/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8308/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8308", "html_url": "https://github.com/huggingface/transformers/pull/8308", "diff_url": "https://github.com/huggingface/transformers/pull/8308.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8308.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8307
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8307/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8307/comments
https://api.github.com/repos/huggingface/transformers/issues/8307/events
https://github.com/huggingface/transformers/issues/8307
736,364,546
MDU6SXNzdWU3MzYzNjQ1NDY=
8,307
run_mlm.py: error: argument
{ "login": "Shafi2016", "id": 56795978, "node_id": "MDQ6VXNlcjU2Nzk1OTc4", "avatar_url": "https://avatars.githubusercontent.com/u/56795978?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shafi2016", "html_url": "https://github.com/Shafi2016", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Note that the old script is still available [here](https://github.com/huggingface/transformers/blob/master/examples/contrib/legacy/run_language_modeling.py).\r\n\r\nThe new one expects slightly different arguments:\r\n- you should remove the `mlm` flag now, since the script has been split in several others\r\n- `t...
1,604
1,619
1,619
NONE
null
I just found today that transformers/examples/language-modeling/run_language_modeling.py" has now been changed to transformers/examples/language-modeling. Everything fine for me when was using run_language_modeling.py. But with the new change, I am getting the error that, **run_mlm.py: error: argument --mlm_probabilit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8307/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8306
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8306/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8306/comments
https://api.github.com/repos/huggingface/transformers/issues/8306/events
https://github.com/huggingface/transformers/issues/8306
736,359,262
MDU6SXNzdWU3MzYzNTkyNjI=
8,306
Tokenizers save_pretrained broken when defining vocab and merges file arguments (v3.1)
{ "login": "totogot", "id": 73946588, "node_id": "MDQ6VXNlcjczOTQ2NTg4", "avatar_url": "https://avatars.githubusercontent.com/u/73946588?v=4", "gravatar_id": "", "url": "https://api.github.com/users/totogot", "html_url": "https://github.com/totogot", "followers_url": "https://api.github.com/users/totogo...
[]
closed
false
null
[]
[ "I cannot reproduce the error on master with\r\n```\r\ntransformers 4.0.0rc1\r\ntokenizers 0.9.4\r\n```", "@thomwolf I think it must be specific to the particular version of transformers (v3.1)", "This issue has been automatically marked as stale because it has not had recent activity. If ...
1,604
1,619
1,619
NONE
null
## Problem Information Since the upgrade to transformers v3, it appears that issues arise when defining a RoBERTa or BART tokenizer using the vocab_file and merges_file arguments. Previously defining the tokenizer, by supplying these two arguments resulted in a correctly configured tokenizer and enabled the toke...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8306/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8305
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8305/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8305/comments
https://api.github.com/repos/huggingface/transformers/issues/8305/events
https://github.com/huggingface/transformers/issues/8305
736,319,567
MDU6SXNzdWU3MzYzMTk1Njc=
8,305
Resource exhausted when training in loop
{ "login": "emillykkejensen", "id": 8842355, "node_id": "MDQ6VXNlcjg4NDIzNTU=", "avatar_url": "https://avatars.githubusercontent.com/u/8842355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/emillykkejensen", "html_url": "https://github.com/emillykkejensen", "followers_url": "https://api.g...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-4.15.0-109-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.5 - PyTorch version (GPU?): 1.4.0 (True) - Tensorflow version (GPU?): 2.3.1 (True) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8305/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8305/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8304
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8304/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8304/comments
https://api.github.com/repos/huggingface/transformers/issues/8304/events
https://github.com/huggingface/transformers/issues/8304
736,316,064
MDU6SXNzdWU3MzYzMTYwNjQ=
8,304
Exception: process 0 terminated with exit code 17 when using xla_spawn
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[]
closed
false
null
[]
[ "Hi! Usually this error is preceded by another message. The exception with exit code 17 is not the error in itself. Please paste the full error stack trace here, alongside the command you used to launch your script.", "Hi Lysandre, here is the full error I get on the google cloud it is\nterminated because of this...
1,604
1,608
1,608
NONE
null
Hi I am calling finetune_trainer with xla_spawn command, on TPU, I am getting this error on wmt, any idea on this? thanks ``` Traceback (most recent call last): File "/root/anaconda3/envs/pytorch/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/root/anaconda3/envs/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8304/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8303
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8303/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8303/comments
https://api.github.com/repos/huggingface/transformers/issues/8303/events
https://github.com/huggingface/transformers/issues/8303
736,314,232
MDU6SXNzdWU3MzYzMTQyMzI=
8,303
How can we freeze the last few layers of a BERT model using tf 2.0(or higher)
{ "login": "soumya997", "id": 54326088, "node_id": "MDQ6VXNlcjU0MzI2MDg4", "avatar_url": "https://avatars.githubusercontent.com/u/54326088?v=4", "gravatar_id": "", "url": "https://api.github.com/users/soumya997", "html_url": "https://github.com/soumya997", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
How can we freeze the last few layers of a BERT model using tf 2.0(or higher)? I just want to take the pre-trained layers and train the last few layers for fine-tuning on my own data in min time.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8303/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8302
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8302/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8302/comments
https://api.github.com/repos/huggingface/transformers/issues/8302/events
https://github.com/huggingface/transformers/pull/8302
736,288,375
MDExOlB1bGxSZXF1ZXN0NTE1NTI4Mzc2
8,302
Fix path to old run_language_modeling.py script
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
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/8302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8302/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8302", "html_url": "https://github.com/huggingface/transformers/pull/8302", "diff_url": "https://github.com/huggingface/transformers/pull/8302.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8302.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8301
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8301/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8301/comments
https://api.github.com/repos/huggingface/transformers/issues/8301/events
https://github.com/huggingface/transformers/pull/8301
736,260,309
MDExOlB1bGxSZXF1ZXN0NTE1NTA1NDE2
8,301
Speedup doc build
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? This PR speeds the doc build by pinning the version of sphinx to 3.2.1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8301/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8301", "html_url": "https://github.com/huggingface/transformers/pull/8301", "diff_url": "https://github.com/huggingface/transformers/pull/8301.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8301.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8300
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8300/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8300/comments
https://api.github.com/repos/huggingface/transformers/issues/8300/events
https://github.com/huggingface/transformers/pull/8300
736,247,314
MDExOlB1bGxSZXF1ZXN0NTE1NDk0Njcz
8,300
adding model cards for distilled models
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "> I never know which tags are auto-generated, so please correct me if I did something useless!\r\n\r\nlooks good to me in terms of the tags 👍 " ]
1,604
1,604
1,604
MEMBER
null
# Model cards for distilled models As discussed on Slack, a bunch of model cards for distilled models (at least the ones I contributed to). cc @julien-c I never know which tags are auto-generated, so please correct me if I did something useless!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8300/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8300", "html_url": "https://github.com/huggingface/transformers/pull/8300", "diff_url": "https://github.com/huggingface/transformers/pull/8300.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8300.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8299
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8299/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8299/comments
https://api.github.com/repos/huggingface/transformers/issues/8299/events
https://github.com/huggingface/transformers/pull/8299
736,233,269
MDExOlB1bGxSZXF1ZXN0NTE1NDgyOTMy
8,299
Model card: T5-base fine-tuned on QASC
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Pretty cool!", "Thank you so much, @julien-c :) More models are coming ;)" ]
1,604
1,604
1,604
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/8299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8299/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8299", "html_url": "https://github.com/huggingface/transformers/pull/8299", "diff_url": "https://github.com/huggingface/transformers/pull/8299.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8299.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8298
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8298/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8298/comments
https://api.github.com/repos/huggingface/transformers/issues/8298/events
https://github.com/huggingface/transformers/pull/8298
736,210,952
MDExOlB1bGxSZXF1ZXN0NTE1NDY0Mzkw
8,298
Fix validation file loading in scripts
{ "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,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? As pointed out in #8295, the validation file was not properly loaded in all the examples scripts (one typo copy-pasted several times). This PR fixes that. <!-- Remove if not applicable --> Fixes #8295
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8298/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8298", "html_url": "https://github.com/huggingface/transformers/pull/8298", "diff_url": "https://github.com/huggingface/transformers/pull/8298.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8298.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8297
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8297/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8297/comments
https://api.github.com/repos/huggingface/transformers/issues/8297/events
https://github.com/huggingface/transformers/issues/8297
736,197,456
MDU6SXNzdWU3MzYxOTc0NTY=
8,297
[s2s] 1 GPU test for run_distributed_eval
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" } ]
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...
[ "wdyt @stas00 ", "I will work on that, thank you.", "A minor correction to the command (corrected `data_dir`):\r\n```\r\npython -m torch.distributed.launch --nproc_per_node=2 run_distributed_eval.py --model_name Helsinki-NLP/opus-mt-en-ro --save_dir test_data/opus_wmt_en_ro_gens --data_dir test_data/wmt_en_ro\r...
1,604
1,604
1,604
CONTRIBUTOR
null
Add test coverage for run_distributed_eval.py that can run on 1 GPU. The command: ```bash python -m torch.distributed.launch --nproc_per_node=1 run_distributed_eval.py --model_name Helsinki-NLP/opus-mt-en-ro --save_dir opus_wmt_en_ro_gens --data_dir wmt_en_ro ``` works on 1 GPU. After adding test coverage, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8297/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8296
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8296/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8296/comments
https://api.github.com/repos/huggingface/transformers/issues/8296/events
https://github.com/huggingface/transformers/pull/8296
736,190,384
MDExOlB1bGxSZXF1ZXN0NTE1NDQ3MzU1
8,296
Update README.md
{ "login": "hassoudi", "id": 6810258, "node_id": "MDQ6VXNlcjY4MTAyNTg=", "avatar_url": "https://avatars.githubusercontent.com/u/6810258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hassoudi", "html_url": "https://github.com/hassoudi", "followers_url": "https://api.github.com/users/hasso...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "I have a newer pull req", "I have a newer pull req" ]
1,604
1,604
1,604
CONTRIBUTOR
null
fix website address # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8296/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8296/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8296", "html_url": "https://github.com/huggingface/transformers/pull/8296", "diff_url": "https://github.com/huggingface/transformers/pull/8296.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8296.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8295
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8295/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8295/comments
https://api.github.com/repos/huggingface/transformers/issues/8295/events
https://github.com/huggingface/transformers/issues/8295
736,180,917
MDU6SXNzdWU3MzYxODA5MTc=
8,295
Validation data in `run_mlm.py` is the same as train data
{ "login": "GuillemGSubies", "id": 37592763, "node_id": "MDQ6VXNlcjM3NTkyNzYz", "avatar_url": "https://avatars.githubusercontent.com/u/37592763?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GuillemGSubies", "html_url": "https://github.com/GuillemGSubies", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Very good catch! Thanks for pointing it out, the PR mentioned above should fix this." ]
1,604
1,604
1,604
CONTRIBUTOR
null
Inspecting the script I found the following: https://github.com/huggingface/transformers/blob/cb966e640b8b9d0f6e9c06c1655d078a917e5196/examples/language-modeling/run_mlm.py#L204 Am I missing something? Otherwise, I could send a PR.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8295/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8294
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8294/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8294/comments
https://api.github.com/repos/huggingface/transformers/issues/8294/events
https://github.com/huggingface/transformers/pull/8294
736,165,588
MDExOlB1bGxSZXF1ZXN0NTE1NDI2NjM0
8,294
pipelines: Tentative fix for AutoModel for PegasusConfig.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "After thinking about it a bit, I don't think the `PegasusForConditionalGeneration` should be going there. The `MODEL_MAPPING` is a mapping to all the headless models, i.e., the models that output hidden states without processing them in a head.\r\n\r\nIntroducing `PegasusForConditionalGeneration` would result in a...
1,604
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? Original error lies in `pipeline(task='summarization', model='google/pegasus-xsum')`. - Code fails while trying to infer framework from model_name (str). - It attempts to determine framework by running `AutoModel.from_pretrained(..)` then `TFAutoModel.from_pretrained(...)` and decides by see...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8294/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8294", "html_url": "https://github.com/huggingface/transformers/pull/8294", "diff_url": "https://github.com/huggingface/transformers/pull/8294.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8294.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8293
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8293/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8293/comments
https://api.github.com/repos/huggingface/transformers/issues/8293/events
https://github.com/huggingface/transformers/pull/8293
736,160,368
MDExOlB1bGxSZXF1ZXN0NTE1NDIyMjk1
8,293
[Generate Test] fix greedy generate test
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "Ping @LysandreJik " ]
1,604
1,604
1,604
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/8293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8293/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8293", "html_url": "https://github.com/huggingface/transformers/pull/8293", "diff_url": "https://github.com/huggingface/transformers/pull/8293.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8293.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8292
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8292/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8292/comments
https://api.github.com/repos/huggingface/transformers/issues/8292/events
https://github.com/huggingface/transformers/issues/8292
736,139,385
MDU6SXNzdWU3MzYxMzkzODU=
8,292
Fine Tune Bert Ner using TFBertForTokenClassification.from_pretrained
{ "login": "aks2193", "id": 7678330, "node_id": "MDQ6VXNlcjc2NzgzMzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7678330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aks2193", "html_url": "https://github.com/aks2193", "followers_url": "https://api.github.com/users/aks2193/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "What is your `metrics`?", "```py\r\noptimizer= AdamWeightDecay(\r\n learning_rate=5e-5,\r\n beta_1=0.9,\r\n beta_2=0.999,\r\n weight_decay_rate=0.01,\r\n epsilon=1e-6,\r\n exclude_from_weight_decay=['layer_norm', 'bias'])\r\noptimizer._HAS_AGGREGATE_GRAD = False\r\nloss=tf.keras.losses.SparseCa...
1,604
1,610
1,610
NONE
null
Hey, I am new to the transformers Bert Training world and am trying to fine tune Bert model for NER on a coNll like dataset. But its not training the model and giving the below error ValueError: No gradients provided for any variable: ['tf_bert_for_token_classification_8/classifier/kernel:0', 'tf_bert_for_token_c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8292/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8291
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8291/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8291/comments
https://api.github.com/repos/huggingface/transformers/issues/8291/events
https://github.com/huggingface/transformers/issues/8291
736,122,787
MDU6SXNzdWU3MzYxMjI3ODc=
8,291
could you please give me a torch example of xlm-roberta-(base/large) for multilingual-text question?
{ "login": "wmathor", "id": 32392878, "node_id": "MDQ6VXNlcjMyMzkyODc4", "avatar_url": "https://avatars.githubusercontent.com/u/32392878?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wmathor", "html_url": "https://github.com/wmathor", "followers_url": "https://api.github.com/users/wmatho...
[]
closed
false
null
[]
[]
1,604
1,605
1,605
CONTRIBUTOR
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8291/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8290
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8290/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8290/comments
https://api.github.com/repos/huggingface/transformers/issues/8290/events
https://github.com/huggingface/transformers/issues/8290
736,103,678
MDU6SXNzdWU3MzYxMDM2Nzg=
8,290
finetuning T5 on translation on TPU, questions about clarifying the setup
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "in the main page of examples you mention one can pass any script to run it on tpu, but inside the seq2seq it seems one needs to use finetune_trainer and not finetune.py for tpus, I am confused which one to use, thanks for your help", "@sshleifer @patil-suraj Maybe we could improve the documentation here", "Hi,...
1,604
1,604
1,604
NONE
null
Hi, I'd like to run finetune.py with wmt dataset in TPU to train from scratch not finetune. I appreciate the response to some questions: 1) Why there are two versions of fine-tuning using Seq2SeqTrainer and finetune.py and which one is suitable for my usecase? 2) Seq2SeqTrainer does not support predict on TPU, is th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8290/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8289
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8289/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8289/comments
https://api.github.com/repos/huggingface/transformers/issues/8289/events
https://github.com/huggingface/transformers/issues/8289
736,073,206
MDU6SXNzdWU3MzYwNzMyMDY=
8,289
Why do I use XLMRobertaTokenizer and return an error on token_type_ids?
{ "login": "wmathor", "id": 32392878, "node_id": "MDQ6VXNlcjMyMzkyODc4", "avatar_url": "https://avatars.githubusercontent.com/u/32392878?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wmathor", "html_url": "https://github.com/wmathor", "followers_url": "https://api.github.com/users/wmatho...
[]
closed
false
null
[]
[ "I also have this question" ]
1,604
1,640
1,604
CONTRIBUTOR
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8289/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8288
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8288/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8288/comments
https://api.github.com/repos/huggingface/transformers/issues/8288/events
https://github.com/huggingface/transformers/issues/8288
736,058,142
MDU6SXNzdWU3MzYwNTgxNDI=
8,288
Training T5-large model for Question Answering
{ "login": "dulanafdo", "id": 67677823, "node_id": "MDQ6VXNlcjY3Njc3ODIz", "avatar_url": "https://avatars.githubusercontent.com/u/67677823?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dulanafdo", "html_url": "https://github.com/dulanafdo", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "This notebook should help: https://github.com/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
Are there are any specific documents that I can follow, to do the training of the t5 model for Question answering? I found this (https://huggingface.co/transformers/custom_datasets.html#qa-squad) on your website and it is not allowing me to use t5 model instead of DistilBert.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8288/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8287
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8287/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8287/comments
https://api.github.com/repos/huggingface/transformers/issues/8287/events
https://github.com/huggingface/transformers/pull/8287
736,029,261
MDExOlB1bGxSZXF1ZXN0NTE1MzE0MDAw
8,287
Fix typo in language-modeling README.md
{ "login": "gpengzhi", "id": 16913241, "node_id": "MDQ6VXNlcjE2OTEzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/16913241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gpengzhi", "html_url": "https://github.com/gpengzhi", "followers_url": "https://api.github.com/users/gpe...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
# What does this PR do? Fix the typo in `README.md` in the `language-modeling` folder. <!-- Remove if not applicable --> Fixes # (issue) ## 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 guideli...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8287/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8287", "html_url": "https://github.com/huggingface/transformers/pull/8287", "diff_url": "https://github.com/huggingface/transformers/pull/8287.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8287.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8286/comments
https://api.github.com/repos/huggingface/transformers/issues/8286/events
https://github.com/huggingface/transformers/pull/8286
736,006,333
MDExOlB1bGxSZXF1ZXN0NTE1Mjk0OTE1
8,286
Improve QA pipeline error handling
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
# What does this PR do? - The issue is that with previous code we would have the following: ```python qa_pipeline = (...) qa_pipeline(question="Where was he born ?", context="") -> IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1) ``` The goal here is to improve this to act...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8286/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8286", "html_url": "https://github.com/huggingface/transformers/pull/8286", "diff_url": "https://github.com/huggingface/transformers/pull/8286.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8286.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8285/comments
https://api.github.com/repos/huggingface/transformers/issues/8285/events
https://github.com/huggingface/transformers/issues/8285
735,971,462
MDU6SXNzdWU3MzU5NzE0NjI=
8,285
RAG performance on Open-NQ dataset much lower than expected
{ "login": "gaobo1987", "id": 63237333, "node_id": "MDQ6VXNlcjYzMjM3MzMz", "avatar_url": "https://avatars.githubusercontent.com/u/63237333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaobo1987", "html_url": "https://github.com/gaobo1987", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoest...
[ { "login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.git...
[ "Maybe @lhoestq @patrickvonplaten have an idea", "Hey @gaobo1987,\r\n\r\nWe checked that the models match the performance as reported in the paper. \r\n\r\nDid you run the model as stated in https://github.com/huggingface/transformers/blob/master/examples/rag/README.md ? ", "Which index did you use exactly with...
1,604
1,619
1,619
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8285/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8284/comments
https://api.github.com/repos/huggingface/transformers/issues/8284/events
https://github.com/huggingface/transformers/issues/8284
735,841,973
MDU6SXNzdWU3MzU4NDE5NzM=
8,284
[rag] missing a working End-to-end evaluation example
{ "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": 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" } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "@stas00 \r\n\r\nCan you please write a test code for **finetune.sh**. ", "As you can see I'm waiting for this ticket to be addressed before I'm able to write the tests. \r\n\r\nPerhaps you can address that, and then I will have all the info needed to write the tests.", "Until then please file a normal issue ab...
1,604
1,616
1,616
CONTRIBUTOR
null
I'm going to try to write tests for `examples/rag` (https://github.com/huggingface/transformers/issues/7715), but first I'm trying to figure out how it works. Would it be possible to add a full `End-to-end evaluation` invocation example in https://github.com/huggingface/transformers/blob/master/examples/rag/README.m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8284/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8283/comments
https://api.github.com/repos/huggingface/transformers/issues/8283/events
https://github.com/huggingface/transformers/pull/8283
735,823,879
MDExOlB1bGxSZXF1ZXN0NTE1MTQzNzE1
8,283
[tokenizers] convert_to_tensors: don't reconvert when the type is already right
{ "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
[]
[ "ping", "Looks good to me. Thanks for handling this one @stas00 and sorry for the delay." ]
1,604
1,605
1,605
CONTRIBUTOR
null
I was trying to fix this warning: ``` src/transformers/tokenization_utils_base.py:608: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor). tensor = as_tensor(value) `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8283/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8283", "html_url": "https://github.com/huggingface/transformers/pull/8283", "diff_url": "https://github.com/huggingface/transformers/pull/8283.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8283.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8282/comments
https://api.github.com/repos/huggingface/transformers/issues/8282/events
https://github.com/huggingface/transformers/pull/8282
735,766,008
MDExOlB1bGxSZXF1ZXN0NTE1MDk2OTk3
8,282
[blenderbot] regex fix
{ "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,604
1,604
1,604
CONTRIBUTOR
null
This PR fixes: ``` src/transformers/tokenization_blenderbot.py:163: DeprecationWarning: invalid escape sequence \s token = re.sub("\s{2,}", " ", token) ``` @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8282/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8282", "html_url": "https://github.com/huggingface/transformers/pull/8282", "diff_url": "https://github.com/huggingface/transformers/pull/8282.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8282.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8281/comments
https://api.github.com/repos/huggingface/transformers/issues/8281/events
https://github.com/huggingface/transformers/pull/8281
735,759,534
MDExOlB1bGxSZXF1ZXN0NTE1MDkxOTQ5
8,281
Create README.md
{ "login": "RamonMamon", "id": 35195972, "node_id": "MDQ6VXNlcjM1MTk1OTcy", "avatar_url": "https://avatars.githubusercontent.com/u/35195972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RamonMamon", "html_url": "https://github.com/RamonMamon", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[ { "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.gith...
[ "Very cool. Is possible, can you add metadata as described in https://huggingface.co/docs#what-metadata-can-i-add-to-my-model-card?" ]
1,604
1,607
1,607
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/8281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8281/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8281", "html_url": "https://github.com/huggingface/transformers/pull/8281", "diff_url": "https://github.com/huggingface/transformers/pull/8281.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8281.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8280/comments
https://api.github.com/repos/huggingface/transformers/issues/8280/events
https://github.com/huggingface/transformers/issues/8280
735,748,699
MDU6SXNzdWU3MzU3NDg2OTk=
8,280
Translation finetuning error : TypeError: '>' not supported between instances of 'function' and 'int'
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[]
closed
false
null
[]
[ "The issue solved with setting --gpus 1 explicitly. thanks. " ]
1,604
1,604
1,604
NONE
null
Dear huggingface team, I'd like to train from scratch T5 on wmt19 (de-en), and I see these instructions in your page: - you provided the script for finetune mbart_cc25, could I just change the model path and it works out of the box for training T5 on a translation task? any changes needed? - when you use sortish s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8280/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8279/comments
https://api.github.com/repos/huggingface/transformers/issues/8279/events
https://github.com/huggingface/transformers/issues/8279
735,743,498
MDU6SXNzdWU3MzU3NDM0OTg=
8,279
Finetuning T5 on translation wmt19(de-en)
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
NONE
null
Dear huggingface team, I'd like to train from scratch T5 on wmt19 (de-en), and I see these instructions in your page: you provided the script for finetune mbart_cc25, could I just change the model path and it works out of the box for training T5 on a translation task? I also gets these errors running the provided ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8279/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8278/comments
https://api.github.com/repos/huggingface/transformers/issues/8278/events
https://github.com/huggingface/transformers/issues/8278
735,735,585
MDU6SXNzdWU3MzU3MzU1ODU=
8,278
[commit #29b536a]AttributeError: module 'numpy.random' has no attribute 'Generator'
{ "login": "ksjae", "id": 17930170, "node_id": "MDQ6VXNlcjE3OTMwMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/17930170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ksjae", "html_url": "https://github.com/ksjae", "followers_url": "https://api.github.com/users/ksjae/follow...
[]
closed
false
null
[]
[ "Another error:\r\n```\r\n---------------------------------------------------------------------------\r\nImportError Traceback (most recent call last)\r\n<ipython-input-7-279c49635b32> in <module>\r\n----> 1 import transformers\r\n\r\n/scratch/a1204a01/.conda/envs/notebook/lib/python3....
1,604
1,604
1,604
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: commit #29b536a - Platform: Linux - Python version: 3.7.4 - PyTorch version (GPU?): 1.4.0 - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8278/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8278/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8277/comments
https://api.github.com/repos/huggingface/transformers/issues/8277/events
https://github.com/huggingface/transformers/issues/8277
735,685,565
MDU6SXNzdWU3MzU2ODU1NjU=
8,277
SqueezeBert does not appear to properly generate text
{ "login": "huu4ontocord", "id": 8900094, "node_id": "MDQ6VXNlcjg5MDAwOTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8900094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/huu4ontocord", "html_url": "https://github.com/huu4ontocord", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hello! First of all, you're using the `squeezebert-mnli` checkpoint, which is a checkpoint that was fine-tuned on the MNLI dataset. It cannot be used to do masked language modeling.\r\n\r\nI believe you should be using the `squeezebert-uncased` checkpoint instead.\r\n\r\nHowever, even when using that checkpoint wi...
1,604
1,605
1,605
NONE
null
## Environment info Google Colab Using CPU with High Ram ### Who can help @sgugger @forresti @LysandreJik ## Information Model I am using: Squeezebert-uncased, squeezebert-mnli, etc. The problem arises when using: Trying to generate the likely output of the input sequence and predicting masked tokens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8277/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8276/comments
https://api.github.com/repos/huggingface/transformers/issues/8276/events
https://github.com/huggingface/transformers/pull/8276
735,676,331
MDExOlB1bGxSZXF1ZXN0NTE1MDI1MTcw
8,276
Support various BERT relative position embeddings (2nd)
{ "login": "zhiheng-huang", "id": 9144018, "node_id": "MDQ6VXNlcjkxNDQwMTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9144018?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhiheng-huang", "html_url": "https://github.com/zhiheng-huang", "followers_url": "https://api.github....
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @zhiheng-huang,\r\n\r\nit would be great if you could take a look at the failing tests :-) ", "Hey @patrickvonplaten, I fixed all failed tests except check_code_quality. Currently the relative embedding is implemented for BERT only. In check_code_quality, `utils/check_copies.py` tries to copy the relative em...
1,604
1,606
1,606
CONTRIBUTOR
null
# What does this PR do? Creating a new PR for https://github.com/huggingface/transformers/pull/8108 to keep cleaner git history/commits. The default BERT model `bert-base-uncased` was pre-trained with absolute position embeddings. We provide three pre-trained models which were pre-trained on the same training dat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8276/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8276", "html_url": "https://github.com/huggingface/transformers/pull/8276", "diff_url": "https://github.com/huggingface/transformers/pull/8276.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8276.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8275/comments
https://api.github.com/repos/huggingface/transformers/issues/8275/events
https://github.com/huggingface/transformers/pull/8275
735,640,571
MDExOlB1bGxSZXF1ZXN0NTE0OTk1ODY1
8,275
[CIs] Better reports everywhere
{ "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
[]
[ "And and update on proposing this multiple report files feature to be a core feature in pytest https://github.com/pytest-dev/pytest/issues/7972 - one of the developers vetoed it, so I guess it will remain just here for now. It makes no sense for this not to be a core feature of pytest, as we are just splitting the ...
1,604
1,604
1,604
CONTRIBUTOR
null
Continuing the work in https://github.com/huggingface/transformers/pull/8110 and https://github.com/huggingface/transformers/pull/8163 this PR does the following: * [x] rename `pytest --make_reports` to `pytest --make-reports` for consistency with the rest of `pytest` opts that don't use `_` * [x] move the `--make_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8275/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8275", "html_url": "https://github.com/huggingface/transformers/pull/8275", "diff_url": "https://github.com/huggingface/transformers/pull/8275.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8275.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8274
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8274/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8274/comments
https://api.github.com/repos/huggingface/transformers/issues/8274/events
https://github.com/huggingface/transformers/pull/8274
735,636,813
MDExOlB1bGxSZXF1ZXN0NTE0OTkyNzI0
8,274
Data collator for token classification
{ "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
[]
[ "I just tried it, and noticed that it doesn't work if `features` is `List[Dict[str, torch.Tensor]]`,\r\nbecause `tokenizer.pad()` will set `return_tensors` to `pt` if `input_ids` is `torch.Tensor` and `return_tensors` is `None`.\r\n\r\nFor example my dataset looked like this.\r\n```python\r\ndef __getitem__(self, ...
1,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? This PR adds a `DataCollatorForTokenClassification`, very similar to `DataCollatorWithPadding` but whose job is to pad the labels to the same size as the inputs. In passing, it adds tests of `DataCollatorWithPadding` and cleans all the tests of various data collators that were marked as slow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8274/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8274/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8274", "html_url": "https://github.com/huggingface/transformers/pull/8274", "diff_url": "https://github.com/huggingface/transformers/pull/8274.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8274.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8273
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8273/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8273/comments
https://api.github.com/repos/huggingface/transformers/issues/8273/events
https://github.com/huggingface/transformers/pull/8273
735,598,698
MDExOlB1bGxSZXF1ZXN0NTE0OTYyMDE4
8,273
add evaluate doc - trainer.evaluate returns 'epoch' from training
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "@sgugger changes are made...", "Thanks!" ]
1,604
1,604
1,604
CONTRIBUTOR
null
Improved documentation - see #8184
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8273/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8273", "html_url": "https://github.com/huggingface/transformers/pull/8273", "diff_url": "https://github.com/huggingface/transformers/pull/8273.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8273.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8272
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8272/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8272/comments
https://api.github.com/repos/huggingface/transformers/issues/8272/events
https://github.com/huggingface/transformers/issues/8272
735,587,857
MDU6SXNzdWU3MzU1ODc4NTc=
8,272
Saving and reloading DistilBertForTokenClassification fine-tuned model
{ "login": "smith-nathanh", "id": 9698634, "node_id": "MDQ6VXNlcjk2OTg2MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9698634?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smith-nathanh", "html_url": "https://github.com/smith-nathanh", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "I'm encountering the same problem. Were you able to solve it?", "Could you add the following lines:\r\n\r\n```py\r\nfrom transformers import logging as hf_logging\r\n\r\nhf_logging.set_verbosity_info()\r\n```\r\nbefore reloading the model, and paste the results here?\r\n\r\ncc @sgugger ", "loading configuratio...
1,604
1,689
1,619
NONE
null
I am trying to reload a fine-tuned DistilBertForTokenClassification model. I am using transformers 3.4.0 and pytorch version 1.6.0+cu101. After using the Trainer to train the downloaded model, I save the model with trainer.save_model() and during my trouble shooting I saved the model in a **different** directory via mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8272/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/8272/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8271
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8271/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8271/comments
https://api.github.com/repos/huggingface/transformers/issues/8271/events
https://github.com/huggingface/transformers/issues/8271
735,583,869
MDU6SXNzdWU3MzU1ODM4Njk=
8,271
Low accuracy after load custom pretrained model in a text binary classification problem
{ "login": "Smolky", "id": 1757190, "node_id": "MDQ6VXNlcjE3NTcxOTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1757190?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Smolky", "html_url": "https://github.com/Smolky", "followers_url": "https://api.github.com/users/Smolky/foll...
[]
closed
false
null
[]
[ "The problem is mine. As other user suggest me in Stackoverflow, I have to save the model this way\r\n```\r\nmodel.save_pretrained (\"my-model\")`\r\n```" ]
1,604
1,604
1,604
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.4.0 - Platform: Linux-4.15.0-122-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - Py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8271/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/8271/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8270
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8270/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8270/comments
https://api.github.com/repos/huggingface/transformers/issues/8270/events
https://github.com/huggingface/transformers/pull/8270
735,561,538
MDExOlB1bGxSZXF1ZXN0NTE0OTMxOTAy
8,270
improve documentation of training_args.py
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "Thanks a lot!" ]
1,604
1,604
1,604
CONTRIBUTOR
null
Documentation for the following fields has been improved: - do_train - do_eval - do_predict Also see #8179
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8270/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8270/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8270", "html_url": "https://github.com/huggingface/transformers/pull/8270", "diff_url": "https://github.com/huggingface/transformers/pull/8270.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8270.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8269
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8269/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8269/comments
https://api.github.com/repos/huggingface/transformers/issues/8269/events
https://github.com/huggingface/transformers/pull/8269
735,551,996
MDExOlB1bGxSZXF1ZXN0NTE0OTI0MTAy
8,269
[wip/s2s/pl] attempt to sync metrics in DDP
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
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,604
1,619
1,619
CONTRIBUTOR
null
This is broken. Attempted to add `AverageMetric` where you just dump python floats and they get averaged and the end, but not working on DDP. ### Failing command (fails quickly at val sanity check) ```bash cd examples/seq2seq wget https://cdn-datasets.huggingface.co/translation/wmt_en_ro.tar.gz tar -xzvf ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8269/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8269/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8269", "html_url": "https://github.com/huggingface/transformers/pull/8269", "diff_url": "https://github.com/huggingface/transformers/pull/8269.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8269.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8268
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8268/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8268/comments
https://api.github.com/repos/huggingface/transformers/issues/8268/events
https://github.com/huggingface/transformers/pull/8268
735,508,015
MDExOlB1bGxSZXF1ZXN0NTE0ODg4MTQy
8,268
Clean Trainer tests and datasets dep
{ "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,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? This PR removes the installation of datasets from master and uses the dependency already in `testing` instead. It also cleans up a bit the tests in Trainer by: - using the decorator `requires_datasets` when needed - using a temp dir for the output of one test, to avoid some files to be crea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8268/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8268/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8268", "html_url": "https://github.com/huggingface/transformers/pull/8268", "diff_url": "https://github.com/huggingface/transformers/pull/8268.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8268.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8267
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8267/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8267/comments
https://api.github.com/repos/huggingface/transformers/issues/8267/events
https://github.com/huggingface/transformers/pull/8267
735,507,114
MDExOlB1bGxSZXF1ZXN0NTE0ODg3Mzk0
8,267
[Seq2Seq] Make Seq2SeqArguments an independent file
{ "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,604
1,604
1,604
MEMBER
null
# What does this PR do? By putting all `Seq2SeqTrainingArguments` logic in a separate file, the `Seq2SeqTrainer` and `Seq2SeqTrainingArguments` can be used as standalone files without having to download any additional files because of other dependencies.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8267/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8267/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8267", "html_url": "https://github.com/huggingface/transformers/pull/8267", "diff_url": "https://github.com/huggingface/transformers/pull/8267.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8267.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8266
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8266/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8266/comments
https://api.github.com/repos/huggingface/transformers/issues/8266/events
https://github.com/huggingface/transformers/pull/8266
735,486,126
MDExOlB1bGxSZXF1ZXN0NTE0ODcwMDI0
8,266
german medbert model details
{ "login": "smanjil", "id": 11598535, "node_id": "MDQ6VXNlcjExNTk4NTM1", "avatar_url": "https://avatars.githubusercontent.com/u/11598535?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smanjil", "html_url": "https://github.com/smanjil", "followers_url": "https://api.github.com/users/smanji...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
# What does this PR do? - added details for German MedBERT ## 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-co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8266/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8266/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8266", "html_url": "https://github.com/huggingface/transformers/pull/8266", "diff_url": "https://github.com/huggingface/transformers/pull/8266.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8266.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8265
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8265/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8265/comments
https://api.github.com/repos/huggingface/transformers/issues/8265/events
https://github.com/huggingface/transformers/issues/8265
735,482,720
MDU6SXNzdWU3MzU0ODI3MjA=
8,265
Is there a pre-trained BERT model with the sequence length of 2048?
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
Hello, I want to use the pre-trained BERT model because I do not want to train the entire BERT model to analyze my data. Is there a pre-trained BERT model with sequence length 2048? or are all pre-trained BERT model only have the sequence length of 512? Thank you.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8265/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8265/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8264
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8264/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8264/comments
https://api.github.com/repos/huggingface/transformers/issues/8264/events
https://github.com/huggingface/transformers/pull/8264
735,475,747
MDExOlB1bGxSZXF1ZXN0NTE0ODYxNTQ1
8,264
New TensorFlow trainer version
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "# 1. Input data\r\n\r\n> The PyTorch side of the library (and all the PyTorch scripts) have datasets that eventually yield dictionaries containing all inputs of the model as well as the labels. In an ideal world, it would be great if we could leverage that format easily for TF as well (so that the same script can ...
1,604
1,686
1,619
CONTRIBUTOR
null
Hello, This PR is a proposal for an updated version of the current TensorFlow trainer. This new trainer brings the following improvements: - Uses the Keras methods `.compile()` + `.fit()` instead of the custom training loop. This change brings a better integration with TensorFlow and the different strategies that...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8264/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8264/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8264", "html_url": "https://github.com/huggingface/transformers/pull/8264", "diff_url": "https://github.com/huggingface/transformers/pull/8264.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8264.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8263/comments
https://api.github.com/repos/huggingface/transformers/issues/8263/events
https://github.com/huggingface/transformers/issues/8263
735,465,801
MDU6SXNzdWU3MzU0NjU4MDE=
8,263
GPT2 is not jit-traceable
{ "login": "gcompagnoni", "id": 60468746, "node_id": "MDQ6VXNlcjYwNDY4NzQ2", "avatar_url": "https://avatars.githubusercontent.com/u/60468746?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gcompagnoni", "html_url": "https://github.com/gcompagnoni", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi! I believe those are warnings and not errors? Does it change the expected results when tracing the model?", "You are right, despite the warnings (and my - limited - understanding of what should work inside tracing), the output of the compiled model with different inputs are comparable to the base ones. \r\n\r...
1,604
1,644
1,604
CONTRIBUTOR
null
## Information I would like to use Pytorch tracing on a pretrained GPT2 model, but I run into these warnings for the attention layers: ``` python3.8/site-packages/transformers/modeling_gpt2.py:164: TracerWarning: Converting a tensor to a Python float might cause the trace to be incorrect. We can't record the data ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8263/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8263/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8262/comments
https://api.github.com/repos/huggingface/transformers/issues/8262/events
https://github.com/huggingface/transformers/pull/8262
735,461,691
MDExOlB1bGxSZXF1ZXN0NTE0ODUwMDM4
8,262
[distributed testing] forward the worker stderr to the parent process
{ "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,604
1,604
1,604
CONTRIBUTOR
null
As discussed on slack, this PR: * on distributed failure reproduces the combined `stderr` of the worker processes in the exception of the test invoking the distributed process This is so that the CI's new optimized reports will include the full error message. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8262/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8262/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8262", "html_url": "https://github.com/huggingface/transformers/pull/8262", "diff_url": "https://github.com/huggingface/transformers/pull/8262.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8262.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8261/comments
https://api.github.com/repos/huggingface/transformers/issues/8261/events
https://github.com/huggingface/transformers/issues/8261
735,422,752
MDU6SXNzdWU3MzU0MjI3NTI=
8,261
Encoder Decoder Model
{ "login": "arditobryan", "id": 63985091, "node_id": "MDQ6VXNlcjYzOTg1MDkx", "avatar_url": "https://avatars.githubusercontent.com/u/63985091?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arditobryan", "html_url": "https://github.com/arditobryan", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Maybe I found out, is it:\r\n\r\n```\r\nfor i, sample_output in enumerate(generated):\r\n print(\"{}: {}\".format(i, tokenizer.decode(sample_output, skip_special_tokens=True)))\r\n```\r\n?", "You can also make use of `tokenizer.batch_decode(...)`" ]
1,604
1,604
1,604
NONE
null
Hi, I am following the instructions written on the HuggingFace website to use an encoder-decoder model: from transformers import EncoderDecoderModel, BertTokenizer import torch ``` tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') model = EncoderDecoderModel.from_encoder_decoder_pretrained('be...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8261/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8260/comments
https://api.github.com/repos/huggingface/transformers/issues/8260/events
https://github.com/huggingface/transformers/pull/8260
735,382,732
MDExOlB1bGxSZXF1ZXN0NTE0Nzg0OTM4
8,260
[fix] Skip tatoeba tests if Tatoeba-Challenge not cloned
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8260/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8260", "html_url": "https://github.com/huggingface/transformers/pull/8260", "diff_url": "https://github.com/huggingface/transformers/pull/8260.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8260.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8259/comments
https://api.github.com/repos/huggingface/transformers/issues/8259/events
https://github.com/huggingface/transformers/issues/8259
735,322,010
MDU6SXNzdWU3MzUzMjIwMTA=
8,259
Disable default sigmoid function for single label classification Inference API
{ "login": "Jiaxin-Pei", "id": 42936410, "node_id": "MDQ6VXNlcjQyOTM2NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/42936410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jiaxin-Pei", "html_url": "https://github.com/Jiaxin-Pei", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Hi! Right now the sigmoid function is applied when the pipeline detects that there is a single label. You would like the option to disable the sigmoid function in that case?", "@LysandreJik \r\nSorry for my late reply.\r\nYes, cuz when people are doing regression tasks using the single-label SequenceClassificati...
1,604
1,610
1,610
CONTRIBUTOR
null
# 🚀 Feature request Allow people to disable the default sigmoid function in TextClassificationPipeline (maybe via model cards?). ## Motivation When we use the sequence classification model (e.g. RobertaForSequenceClassification) for regression tasks, the output may have different ranges other than [0,1], it w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8259/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8258/comments
https://api.github.com/repos/huggingface/transformers/issues/8258/events
https://github.com/huggingface/transformers/pull/8258
735,311,081
MDExOlB1bGxSZXF1ZXN0NTE0NzI2NTg5
8,258
Create README.md
{ "login": "Jiaxin-Pei", "id": 42936410, "node_id": "MDQ6VXNlcjQyOTM2NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/42936410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jiaxin-Pei", "html_url": "https://github.com/Jiaxin-Pei", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Add model card for pedropei/question-intimacy" ]
1,604
1,604
1,604
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/8258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8258/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8258", "html_url": "https://github.com/huggingface/transformers/pull/8258", "diff_url": "https://github.com/huggingface/transformers/pull/8258.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8258.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8257/comments
https://api.github.com/repos/huggingface/transformers/issues/8257/events
https://github.com/huggingface/transformers/pull/8257
735,308,707
MDExOlB1bGxSZXF1ZXN0NTE0NzI0NTk5
8,257
Create README.md
{ "login": "Jiaxin-Pei", "id": 42936410, "node_id": "MDQ6VXNlcjQyOTM2NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/42936410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jiaxin-Pei", "html_url": "https://github.com/Jiaxin-Pei", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
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/8257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8257/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8257", "html_url": "https://github.com/huggingface/transformers/pull/8257", "diff_url": "https://github.com/huggingface/transformers/pull/8257.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8257.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8256
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8256/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8256/comments
https://api.github.com/repos/huggingface/transformers/issues/8256/events
https://github.com/huggingface/transformers/pull/8256
735,272,556
MDExOlB1bGxSZXF1ZXN0NTE0Njk0NTc4
8,256
[FIX] TextGenerationPipeline is currently broken.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "Ran all pipeline tests with @slow too to make sure:\r\n\r\n```\r\n==================================================================== warnings summary ====================================================================\r\n.venv/lib/python3.8/site-packages/tensorflow/python/autograph/utils/testing.py:21\r\n /hom...
1,604
1,604
1,604
CONTRIBUTOR
null
# What does this PR do? It's most likely due to #8180. What's missing is a multi vs single string handler at the beginning of the pipe. And also there was no testing of this pipeline. This also changes Conversational pipeline tests which seemed to have also test failures This was linked to having state within the inp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8256/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8256", "html_url": "https://github.com/huggingface/transformers/pull/8256", "diff_url": "https://github.com/huggingface/transformers/pull/8256.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8256.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8255
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8255/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8255/comments
https://api.github.com/repos/huggingface/transformers/issues/8255/events
https://github.com/huggingface/transformers/pull/8255
735,268,053
MDExOlB1bGxSZXF1ZXN0NTE0NjkwODkx
8,255
Create README.md
{ "login": "hasantanvir79", "id": 17002992, "node_id": "MDQ6VXNlcjE3MDAyOTky", "avatar_url": "https://avatars.githubusercontent.com/u/17002992?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hasantanvir79", "html_url": "https://github.com/hasantanvir79", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "why is the model card not visible under transformer/model_cards/tartuNLP/EstBERT/README.md link?\r\n\r\nI am quite new to git thingy :S " ]
1,604
1,604
1,604
CONTRIBUTOR
null
Initial commit # 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, ple...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8255/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8255/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8255", "html_url": "https://github.com/huggingface/transformers/pull/8255", "diff_url": "https://github.com/huggingface/transformers/pull/8255.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8255.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8254
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8254/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8254/comments
https://api.github.com/repos/huggingface/transformers/issues/8254/events
https://github.com/huggingface/transformers/pull/8254
735,222,491
MDExOlB1bGxSZXF1ZXN0NTE0NjUyOTUy
8,254
[Seq2Seq] Correct import in Seq2Seq Trainer
{ "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,604
1,604
1,604
MEMBER
null
# What does this PR do? Correct import as mentioned by @stas00 here: https://github.com/huggingface/transformers/pull/8194#discussion_r515690821 Pinging @stas00 for review as well here. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8254/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8254/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8254", "html_url": "https://github.com/huggingface/transformers/pull/8254", "diff_url": "https://github.com/huggingface/transformers/pull/8254.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8254.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8253
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8253/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8253/comments
https://api.github.com/repos/huggingface/transformers/issues/8253/events
https://github.com/huggingface/transformers/issues/8253
735,176,368
MDU6SXNzdWU3MzUxNzYzNjg=
8,253
when the txt file has 5GB, a Killed prompt appears.
{ "login": "ismymajia", "id": 17922949, "node_id": "MDQ6VXNlcjE3OTIyOTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/17922949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ismymajia", "html_url": "https://github.com/ismymajia", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "What is your machine's specs? It's probably an out of memory error.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
I am running run_language_modeling.py, python run_language_modeling.py \ --output_dir ${model_dir} \ --tokenizer_name $data_dir/wordpiece-custom.json \ --config_name $data_dir/config.json \ --train_data_file "$data_dir/train.txt" \ --eval_data_file $data_dir/valid.txt \ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8253/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8252
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8252/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8252/comments
https://api.github.com/repos/huggingface/transformers/issues/8252/events
https://github.com/huggingface/transformers/pull/8252
735,160,416
MDExOlB1bGxSZXF1ZXN0NTE0NjAxODEw
8,252
Updated Reformer to use caching during generation
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Great catch!", "Let's merge that quickly so that I can integrate it into https://github.com/huggingface/transformers/pull/6949/files#diff-b7601d397d5d60326ce61a9c91beaa2afa026014141052b32b07e1d044fbbe17", "Actually, we would have to add in two spots of this `generate` version. Considering that we will merge th...
1,604
1,604
1,604
CONTRIBUTOR
null
# What does this PR do? The current reformer implementation supports caching of buckets and states, but this is not used during generation. Running a generation example in debugging mode, such as ```python from transformers import ReformerModelWithLMHead, ReformerTokenizer model = ReformerModelWithLMHead.from_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8252/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8252/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8252", "html_url": "https://github.com/huggingface/transformers/pull/8252", "diff_url": "https://github.com/huggingface/transformers/pull/8252.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8252.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8251
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8251/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8251/comments
https://api.github.com/repos/huggingface/transformers/issues/8251/events
https://github.com/huggingface/transformers/issues/8251
735,143,038
MDU6SXNzdWU3MzUxNDMwMzg=
8,251
Train BERT with CLI commands
{ "login": "Stimmot", "id": 29411999, "node_id": "MDQ6VXNlcjI5NDExOTk5", "avatar_url": "https://avatars.githubusercontent.com/u/29411999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Stimmot", "html_url": "https://github.com/Stimmot", "followers_url": "https://api.github.com/users/Stimmo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "It's probably tokenizing. How big is your dataset?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
I have downloaded the HuggingFace BERT model from the transformer repository found [here][1] and would like to train the model on custom NER labels by using the run_ner.py script as it is referenced [here][2] in the section "Named Entity Recognition". I define model ("bert-base-german-cased"), data_dir ("Data/senten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8251/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8250
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8250/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8250/comments
https://api.github.com/repos/huggingface/transformers/issues/8250/events
https://github.com/huggingface/transformers/issues/8250
735,089,509
MDU6SXNzdWU3MzUwODk1MDk=
8,250
tokenizer.vocab key and values is change begin line 261?
{ "login": "zepen", "id": 18568380, "node_id": "MDQ6VXNlcjE4NTY4Mzgw", "avatar_url": "https://avatars.githubusercontent.com/u/18568380?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zepen", "html_url": "https://github.com/zepen", "followers_url": "https://api.github.com/users/zepen/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
transformers version 3.0.0 ```python tokenizer = BertTokenizer.from_pretrained('bert-base-chinese') for v, i in tokenizer.vocab.items(): print(v, i) ``` ![image](https://user-images.githubusercontent.com/18568380/97958832-04cc1080-1de9-11eb-8c2b-0463c902853e.png) i find key and values maybe wrong posit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8250/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8249
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8249/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8249/comments
https://api.github.com/repos/huggingface/transformers/issues/8249/events
https://github.com/huggingface/transformers/pull/8249
734,819,061
MDExOlB1bGxSZXF1ZXN0NTE0MzE2NzE5
8,249
[ray] Support `n_jobs` for Ray hyperparameter search on CPUs
{ "login": "richardliaw", "id": 4529381, "node_id": "MDQ6VXNlcjQ1MjkzODE=", "avatar_url": "https://avatars.githubusercontent.com/u/4529381?v=4", "gravatar_id": "", "url": "https://api.github.com/users/richardliaw", "html_url": "https://github.com/richardliaw", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,604
1,619
1,619
COLLABORATOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8249/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8249/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8249", "html_url": "https://github.com/huggingface/transformers/pull/8249", "diff_url": "https://github.com/huggingface/transformers/pull/8249.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8249.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8248
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8248/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8248/comments
https://api.github.com/repos/huggingface/transformers/issues/8248/events
https://github.com/huggingface/transformers/pull/8248
734,778,665
MDExOlB1bGxSZXF1ZXN0NTE0MjgzODYx
8,248
Model card: GPT-2 fine-tuned on CommonGen
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,604
1,604
1,604
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/8248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8248/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8248", "html_url": "https://github.com/huggingface/transformers/pull/8248", "diff_url": "https://github.com/huggingface/transformers/pull/8248.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8248.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8247
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8247/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8247/comments
https://api.github.com/repos/huggingface/transformers/issues/8247/events
https://github.com/huggingface/transformers/pull/8247
734,765,097
MDExOlB1bGxSZXF1ZXN0NTE0MjcyNzAx
8,247
Model card: CodeBERT fine-tuned for Insecure Code Detection
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "You can add the dataset(s) id(s) even for datasets not currently implemented in the `datasets` lib. That way, it will prompt us, or someone from the community, to add it at some point :)\r\n\r\nActually, did you take a look at how to implement a new `dataset`, @mrm8488? We can help, cc @lhoestq @thomwolf ", "I d...
1,604
1,604
1,604
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/8247/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8247/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8247", "html_url": "https://github.com/huggingface/transformers/pull/8247", "diff_url": "https://github.com/huggingface/transformers/pull/8247.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8247.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8246
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8246/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8246/comments
https://api.github.com/repos/huggingface/transformers/issues/8246/events
https://github.com/huggingface/transformers/pull/8246
734,758,267
MDExOlB1bGxSZXF1ZXN0NTE0MjY3MTg2
8,246
[Notebooks] Add new encoder-decoder notebooks
{ "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,604
1,604
1,604
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/8246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8246/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8246", "html_url": "https://github.com/huggingface/transformers/pull/8246", "diff_url": "https://github.com/huggingface/transformers/pull/8246.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8246.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8245
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8245/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8245/comments
https://api.github.com/repos/huggingface/transformers/issues/8245/events
https://github.com/huggingface/transformers/pull/8245
734,744,096
MDExOlB1bGxSZXF1ZXN0NTE0MjU2MTc3
8,245
Add XLMProphetNetTokenizer to tokenization auto
{ "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,604
1,604
1,604
MEMBER
null
Closes #8196
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8245/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8245/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8245", "html_url": "https://github.com/huggingface/transformers/pull/8245", "diff_url": "https://github.com/huggingface/transformers/pull/8245.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8245.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8244
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8244/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8244/comments
https://api.github.com/repos/huggingface/transformers/issues/8244/events
https://github.com/huggingface/transformers/issues/8244
734,741,759
MDU6SXNzdWU3MzQ3NDE3NTk=
8,244
_shift_right when to use
{ "login": "rabeehkarimimahabadi", "id": 73364383, "node_id": "MDQ6VXNlcjczMzY0Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehkarimimahabadi", "html_url": "https://github.com/rabeehkarimimahabadi", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @rabeehkarimimahabadi, it's a convenience function that is used if `input_ids` and `labels` are provided but no `decoder_input_ids`. In this case this function automatically creates the correct `decoder_input_ids` as described here: https://huggingface.co/transformers/model_doc/t5.html?highlight=t5#training", ...
1,604
1,610
1,610
NONE
null
Hi In modeling_t5 there is a function called shift_right I wonder when it needs to be used, for which tasks? I sometimes see T5 finetuning without using it, not sure when this is suitable to use it thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8244/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/8244/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8243
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8243/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8243/comments
https://api.github.com/repos/huggingface/transformers/issues/8243/events
https://github.com/huggingface/transformers/pull/8243
734,732,010
MDExOlB1bGxSZXF1ZXN0NTE0MjQ2MzMy
8,243
[EncoderDecoder] fix encoder decoder config model type bug
{ "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,604
1,604
1,604
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/8243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8243/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8243", "html_url": "https://github.com/huggingface/transformers/pull/8243", "diff_url": "https://github.com/huggingface/transformers/pull/8243.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8243.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8242
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8242/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8242/comments
https://api.github.com/repos/huggingface/transformers/issues/8242/events
https://github.com/huggingface/transformers/issues/8242
734,701,421
MDU6SXNzdWU3MzQ3MDE0MjE=
8,242
Error converting tensorflow checkpoints
{ "login": "chainesanbuenaventura", "id": 64162284, "node_id": "MDQ6VXNlcjY0MTYyMjg0", "avatar_url": "https://avatars.githubusercontent.com/u/64162284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chainesanbuenaventura", "html_url": "https://github.com/chainesanbuenaventura", "followers_...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I ran into the same problem", "> I ran into the same problem\r\n\r\nbut I didn't get the error", "Hi @nikhilbyte @chainesanbuenaventura \r\n\r\nAny updates? I also have the same problem while converting TensorFlow model to PyTorch model?\r\n\r\nThanks\r\n", "This issue has been automatically marked as stale ...
1,604
1,619
1,619
NONE
null
# ❓ Questions & Help I'm trying to convert a BERT Tensorflow checkpoint to hugging face model ## Details ``` !transformers-cli convert \ --model_type bert \ --tf_checkpoint C:\Users\sacl\Panasonic-AI\POC\pretraining\content\PatentBERT\model.ckpt-181172 \ --config C:\Users\sacl\Panasonic-AI\POC\pretrain...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8242/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8242/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8241
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8241/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8241/comments
https://api.github.com/repos/huggingface/transformers/issues/8241/events
https://github.com/huggingface/transformers/pull/8241
734,697,397
MDExOlB1bGxSZXF1ZXN0NTE0MjE4MDg0
8,241
Update model cards of deepset/roberta-base-squad2 v1 and v2
{ "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": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,604
1,604
1,604
CONTRIBUTOR
null
Update model cards since deepset/roberta-base-squad2 is now being superced by deepset/robert-base-squad2-v2
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8241/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/8241/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8241", "html_url": "https://github.com/huggingface/transformers/pull/8241", "diff_url": "https://github.com/huggingface/transformers/pull/8241.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8241.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8240
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8240/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8240/comments
https://api.github.com/repos/huggingface/transformers/issues/8240/events
https://github.com/huggingface/transformers/pull/8240
734,665,126
MDExOlB1bGxSZXF1ZXN0NTE0MTkxNTMz
8,240
Add line by line option to mlm/plm scripts
{ "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
[]
[ "Hi, I am currently executing the **run_mlm.py** file, because I do not know the entire code structure very well, and I am a little confused about the 262 lines of code in the **run_mlm.py** file. It is line 262 in the figure below. \r\n![2020-11-03 19-21-40屏幕截图](https://user-images.githubusercontent.com/39059793/9...
1,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? The old `run_language_modeling` script was supporting the option to choose `line_by_line` or not for the datasets in MLM/PLM. This PR adds that option to `run_mlm` and `run_plm`. It also updates the README to present those options and adds a flag to disable dynamic batching on TPU: TPUs need ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8240/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8240", "html_url": "https://github.com/huggingface/transformers/pull/8240", "diff_url": "https://github.com/huggingface/transformers/pull/8240.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8240.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8239
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8239/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8239/comments
https://api.github.com/repos/huggingface/transformers/issues/8239/events
https://github.com/huggingface/transformers/pull/8239
734,605,107
MDExOlB1bGxSZXF1ZXN0NTE0MTQxNTI1
8,239
Fix TensorBoardCallback for older versions of PyTorch
{ "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,604
1,604
1,604
COLLABORATOR
null
# What does this PR do? It looks like the olad `SummaryWriter` class from `tensorboardX` does not have all the methods of the more recent class in PyTorch, this PR just checks the method is there before using it. Fixes #8202
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8239/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8239/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8239", "html_url": "https://github.com/huggingface/transformers/pull/8239", "diff_url": "https://github.com/huggingface/transformers/pull/8239.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8239.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8238
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8238/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8238/comments
https://api.github.com/repos/huggingface/transformers/issues/8238/events
https://github.com/huggingface/transformers/pull/8238
734,597,284
MDExOlB1bGxSZXF1ZXN0NTE0MTM1MDcw
8,238
Patch reports
{ "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,604
1,604
1,604
MEMBER
null
Patches the reports failures introduced by #8007. Removes the examples tests from the multi-gpu tests for now. Tests the pipelines in the TF suite.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8238/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8238", "html_url": "https://github.com/huggingface/transformers/pull/8238", "diff_url": "https://github.com/huggingface/transformers/pull/8238.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8238.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8237
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8237/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8237/comments
https://api.github.com/repos/huggingface/transformers/issues/8237/events
https://github.com/huggingface/transformers/pull/8237
734,586,377
MDExOlB1bGxSZXF1ZXN0NTE0MTI2MDU5
8,237
Fix bad import with PyTorch <= 1.4.1
{ "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
[]
[ "FYI `SAVE_STATE_WARNING` has been removed 3 days ago: pytorch/pytorch#46813\r\n\r\nSo `transformers` needs to be recoded not to use that constant.\r\n\r\nLooking at its use, this probably would suffice:\r\n\r\n```\r\n--- a/src/transformers/trainer_pt_utils.py\r\n+++ b/src/transformers/trainer_pt_utils.py\r\n@@ -34...
1,604
1,607
1,604
COLLABORATOR
null
# What does this PR do? `trainer_pt_utils` imports `SAVE_STATE_WARNING` from PyTorch, which only exists in 1.5.0 or later. This fixes that problem. Fixes #8232
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8237/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8237/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8237", "html_url": "https://github.com/huggingface/transformers/pull/8237", "diff_url": "https://github.com/huggingface/transformers/pull/8237.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8237.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8236
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8236/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8236/comments
https://api.github.com/repos/huggingface/transformers/issues/8236/events
https://github.com/huggingface/transformers/issues/8236
734,570,663
MDU6SXNzdWU3MzQ1NzA2NjM=
8,236
Weird Behavior in Finetuning Pegasus on a Custom Dataset/Longer Summaries Generated
{ "login": "bharathc346", "id": 53350528, "node_id": "MDQ6VXNlcjUzMzUwNTI4", "avatar_url": "https://avatars.githubusercontent.com/u/53350528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bharathc346", "html_url": "https://github.com/bharathc346", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Great Q!\r\nwe added `min_length=32` to many pegasus configs. Set `min_length=0` to fallback to the old behavior.\r\nYou shouldn't need to re-train." ]
1,604
1,604
1,604
NONE
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-4.4.0-186-generic-x86_64-with-debian-stretch-sid - Python version: 3.7.7 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): NA - Using GPU in script?: Yes - Using distributed or parallel set-up in script?:No ### Who can hel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8236/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8236/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8235
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8235/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8235/comments
https://api.github.com/repos/huggingface/transformers/issues/8235/events
https://github.com/huggingface/transformers/pull/8235
734,497,776
MDExOlB1bGxSZXF1ZXN0NTE0MDUyNDMw
8,235
doc: fix typo
{ "login": "monperrus", "id": 803666, "node_id": "MDQ6VXNlcjgwMzY2Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/803666?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monperrus", "html_url": "https://github.com/monperrus", "followers_url": "https://api.github.com/users/monp...
[]
closed
false
null
[]
[]
1,604
1,604
1,604
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/8235/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8235/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8235", "html_url": "https://github.com/huggingface/transformers/pull/8235", "diff_url": "https://github.com/huggingface/transformers/pull/8235.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8235.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8234
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8234/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8234/comments
https://api.github.com/repos/huggingface/transformers/issues/8234/events
https://github.com/huggingface/transformers/issues/8234
734,483,682
MDU6SXNzdWU3MzQ0ODM2ODI=
8,234
filelock hangs for example script "run_language_modeling.py"
{ "login": "theo-m", "id": 17948980, "node_id": "MDQ6VXNlcjE3OTQ4OTgw", "avatar_url": "https://avatars.githubusercontent.com/u/17948980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/theo-m", "html_url": "https://github.com/theo-m", "followers_url": "https://api.github.com/users/theo-m/fo...
[]
closed
false
null
[]
[ "Pinging @sgugger", "How long did you let the script hang for? It's probably tokenizing your dataset, which might take a while. Did you try with smaller files to see if it still hanged?", "Hi @LysandreJik, I did try with a single 30MB file as reported, still hanging. It's hanging for hours. \r\nLately I've thou...
1,604
1,604
1,604
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-3.10.0-957.27.2.el7.x86_64-x86_64-with-centos-7.8.2003-Core - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: yes - Using distributed or parallel set-up in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8234/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8234/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8233
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8233/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8233/comments
https://api.github.com/repos/huggingface/transformers/issues/8233/events
https://github.com/huggingface/transformers/issues/8233
734,436,687
MDU6SXNzdWU3MzQ0MzY2ODc=
8,233
Contributing trained Greek<->English NMT models implemented with fairseq
{ "login": "lighteternal", "id": 22905968, "node_id": "MDQ6VXNlcjIyOTA1OTY4", "avatar_url": "https://avatars.githubusercontent.com/u/22905968?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lighteternal", "html_url": "https://github.com/lighteternal", "followers_url": "https://api.github.c...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "We'd love to help you share your models! Both @sshleifer and @stas00 worked on MT models and used Fairseq recently so might be able to help.", "If I'm not mistaken the only difference between [wmt19](https://github.com/pytorch/fairseq/blob/master/examples/wmt19/README.md) and iwslt is the configuration of the la...
1,604
1,604
1,604
NONE
null
Hi there, quick question that I couldn't answer by searching the docs: I trained an EL-EN (Greek to English) and an EN-EL machine translation model using the fairseq implementation of the `transformer_iwslt_de_en `architecture on ~6GB of parallel corpora. Given that the models report a better BLEU score compared to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8233/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8233/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8232
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8232/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8232/comments
https://api.github.com/repos/huggingface/transformers/issues/8232/events
https://github.com/huggingface/transformers/issues/8232
734,422,578
MDU6SXNzdWU3MzQ0MjI1Nzg=
8,232
ImportError: cannot import name 'SAVE_STATE_WARNING' from 'torch.optim.lr_scheduler'
{ "login": "yuchenlin", "id": 10104354, "node_id": "MDQ6VXNlcjEwMTA0MzU0", "avatar_url": "https://avatars.githubusercontent.com/u/10104354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuchenlin", "html_url": "https://github.com/yuchenlin", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Oh I didn't check when they added this. Do you know if PyTorch 1.4.0 is the last version without it? Will add a fix this morning.", "thank you for the quick fix.", "`SAVE_STATE_WARNING` has been removed 3 days ago: https://github.com/pytorch/pytorch/pull/46813\r\n\r\nNeed to update https://github.com/huggingfa...
1,604
1,607
1,607
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: ubuntu 18.04 - Python version: 3.7 - PyTorch version (GPU?): 1.4.0 - Tensorflow version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8232/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/8232/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8231
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8231/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8231/comments
https://api.github.com/repos/huggingface/transformers/issues/8231/events
https://github.com/huggingface/transformers/pull/8231
734,372,830
MDExOlB1bGxSZXF1ZXN0NTEzOTQ3ODE0
8,231
Tf longformer for sequence classification
{ "login": "elk-cloner", "id": 5828101, "node_id": "MDQ6VXNlcjU4MjgxMDE=", "avatar_url": "https://avatars.githubusercontent.com/u/5828101?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elk-cloner", "html_url": "https://github.com/elk-cloner", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "@elk-cloner - thanks a lot for taking a look into this! \r\n\r\nWould be awesome to fix the TFLongformer related tests. There seem to be some obvious bug: `UnboundLocalError: local variable 'input_ids' referenced before assignment` . \r\n\r\nI'll do a longer review once these tests are fixed :-) Lemme know if you ...
1,604
1,605
1,605
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/8231/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8231/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8231", "html_url": "https://github.com/huggingface/transformers/pull/8231", "diff_url": "https://github.com/huggingface/transformers/pull/8231.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8231.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8230
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8230/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8230/comments
https://api.github.com/repos/huggingface/transformers/issues/8230/events
https://github.com/huggingface/transformers/pull/8230
734,364,526
MDExOlB1bGxSZXF1ZXN0NTEzOTQwOTY1
8,230
Fixed emmental example.
{ "login": "madlag", "id": 272253, "node_id": "MDQ6VXNlcjI3MjI1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/272253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madlag", "html_url": "https://github.com/madlag", "followers_url": "https://api.github.com/users/madlag/follow...
[]
closed
false
null
[]
[ "looks good to me!", "looks good to me too!", "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/hug...
1,604
1,619
1,619
CONTRIBUTOR
null
Added information about loading of squad data in README. Fixed BertLayerNorm which disappeared some time ago, replace with torch.nn.LayerNorm (which was buggy long time ago it seems).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8230/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8230/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8230", "html_url": "https://github.com/huggingface/transformers/pull/8230", "diff_url": "https://github.com/huggingface/transformers/pull/8230.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8230.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8229
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8229/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8229/comments
https://api.github.com/repos/huggingface/transformers/issues/8229/events
https://github.com/huggingface/transformers/issues/8229
734,239,498
MDU6SXNzdWU3MzQyMzk0OTg=
8,229
is it possible to extract the attention weights on test inputs when the pretrained model is fine-tuned on custom data?
{ "login": "hittle2015", "id": 10519611, "node_id": "MDQ6VXNlcjEwNTE5NjEx", "avatar_url": "https://avatars.githubusercontent.com/u/10519611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hittle2015", "html_url": "https://github.com/hittle2015", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
NONE
null
# ❓ Questions & Help I am wondering if it's possible to look into the attention weights on test data when the fine-tuned model is running. I tried to look for some docs for help but could not find useful guidance. Any pointers will be appreciated. Thanks a lot in advance. <!-- The GitHub issue tracker is primarly i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8229/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8229/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8228
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8228/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8228/comments
https://api.github.com/repos/huggingface/transformers/issues/8228/events
https://github.com/huggingface/transformers/issues/8228
734,162,194
MDU6SXNzdWU3MzQxNjIxOTQ=
8,228
segmentation fault (core dumped) proxychains4 python xxx.py
{ "login": "Jasonsey", "id": 26242648, "node_id": "MDQ6VXNlcjI2MjQyNjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/26242648?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jasonsey", "html_url": "https://github.com/Jasonsey", "followers_url": "https://api.github.com/users/Jas...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,604
1,610
1,610
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.4.0 - Platform: ubuntu 18.04 - Python version: 3.6 - PyTorch version (GPU?): 1.4.0 GPU - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8228/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/8228/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8227
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8227/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8227/comments
https://api.github.com/repos/huggingface/transformers/issues/8227/events
https://github.com/huggingface/transformers/issues/8227
734,124,984
MDU6SXNzdWU3MzQxMjQ5ODQ=
8,227
convert_graph_to_onnx.py and associated example notebook are broken for TensorFlow
{ "login": "amaiya", "id": 47191980, "node_id": "MDQ6VXNlcjQ3MTkxOTgw", "avatar_url": "https://avatars.githubusercontent.com/u/47191980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amaiya", "html_url": "https://github.com/amaiya", "followers_url": "https://api.github.com/users/amaiya/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "## Environment Info\r\n- `transformers` version: 3.4.0\r\n- Platform: Linux-4.15.0-108-generic-x86_64-with-Ubuntu-18.04-bionic\r\n- Python version: 3.6.9\r\n- PyTorch version (GPU?): 1.6.0+cpu (False)\r\n- Tensorflow version (GPU?): 2.3.1 (False)\r\n\r\nAlso, reproduced on Google Colab, as indicated above.\r\n\r\n...
1,604
1,648
1,610
NONE
null
## Information The `convert_graph_to_onnx.py` file and the associated [example notebook](https://github.com/huggingface/transformers/blob/master/notebooks/04-onnx-export.ipynb) appear to be broken for TensorFlow. For ONNX-exported TensorFlow models, **only input tokens of length 5 are accepted**. Other inputs (e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8227/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8227/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8226
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8226/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8226/comments
https://api.github.com/repos/huggingface/transformers/issues/8226/events
https://github.com/huggingface/transformers/pull/8226
734,121,135
MDExOlB1bGxSZXF1ZXN0NTEzNzM4MTM3
8,226
[bart] 2 SinusoidalPositionalEmbedding fixes
{ "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,604
1,604
1,604
CONTRIBUTOR
null
This PR: * `embedding_dim` param for `SinusoidalPositionalEmbedding` can now be odd. * fixes a bug "RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place operation" appearing in pytorch-1.8+ (this var requires no grad, so make it so before we do anything grad-related with it). Fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8226/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8226", "html_url": "https://github.com/huggingface/transformers/pull/8226", "diff_url": "https://github.com/huggingface/transformers/pull/8226.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8226.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8225
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8225/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8225/comments
https://api.github.com/repos/huggingface/transformers/issues/8225/events
https://github.com/huggingface/transformers/issues/8225
734,078,745
MDU6SXNzdWU3MzQwNzg3NDU=
8,225
When would pegasus be able to be exported in ONNX format?
{ "login": "phosfuldev", "id": 37611258, "node_id": "MDQ6VXNlcjM3NjExMjU4", "avatar_url": "https://avatars.githubusercontent.com/u/37611258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phosfuldev", "html_url": "https://github.com/phosfuldev", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "@patil-suraj has a partial solution that he just posted to the forums. he might be able to extend that to Pegasus/BART ", "I'm on it! Will ping here once I get it working.\r\n\r\n@phosfuldev, you can refer to this post to see how T5 is exported to onnx\r\nhttps://discuss.huggingface.co/t/speeding-up-t5-inference...
1,604
1,619
1,619
NONE
null
It seems like it's not available now, I got this error: `Error while converting the model: Unrecognized configuration class <class 'transformers.configuration_pegasus.PegasusConfig'> for this kind of AutoModel: AutoModel. Model type should be one of RetriBertConfig, T5Config, DistilBertConfig, AlbertConfig, Camembert...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8225/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8225/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8224
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8224/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8224/comments
https://api.github.com/repos/huggingface/transformers/issues/8224/events
https://github.com/huggingface/transformers/pull/8224
734,053,593
MDExOlB1bGxSZXF1ZXN0NTEzNjg2NTk3
8,224
Add encoder-decoder word embeddings tying by default
{ "login": "alexyalunin", "id": 23011284, "node_id": "MDQ6VXNlcjIzMDExMjg0", "avatar_url": "https://avatars.githubusercontent.com/u/23011284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexyalunin", "html_url": "https://github.com/alexyalunin", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@alexyalunin - this is a great PR, thanks a lot! In general the function does exactly what I had in mind :-) I added some changes that I'd suggest we apply.\r\n\r\nAlso it would be great if we could add a test analogues to this one: https://github.com/huggingface/transformers/blob/93354bc7790ecf768690745db2407b754...
1,604
1,619
1,619
NONE
null
As discussed in #8158 config has `tie_encoder_decoder_word_embeds =True` parameter. `_tie_encoder_decoder_word_embeddings ` is called when Encoder Decoder model is initialized, if sizes are the same, the encoder word embedding matrix is assigned to decoder one, this may cause unexpected behavior if e.g. user chooses to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8224/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8224/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8224", "html_url": "https://github.com/huggingface/transformers/pull/8224", "diff_url": "https://github.com/huggingface/transformers/pull/8224.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8224.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8223
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8223/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8223/comments
https://api.github.com/repos/huggingface/transformers/issues/8223/events
https://github.com/huggingface/transformers/pull/8223
734,024,431
MDExOlB1bGxSZXF1ZXN0NTEzNjY0NjYx
8,223
Create README.md
{ "login": "yfpeng", "id": 2766437, "node_id": "MDQ6VXNlcjI3NjY0Mzc=", "avatar_url": "https://avatars.githubusercontent.com/u/2766437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yfpeng", "html_url": "https://github.com/yfpeng", "followers_url": "https://api.github.com/users/yfpeng/foll...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,604
1,604
1,604
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/8223/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8223/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8223", "html_url": "https://github.com/huggingface/transformers/pull/8223", "diff_url": "https://github.com/huggingface/transformers/pull/8223.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8223.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8222
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8222/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8222/comments
https://api.github.com/repos/huggingface/transformers/issues/8222/events
https://github.com/huggingface/transformers/issues/8222
734,004,431
MDU6SXNzdWU3MzQwMDQ0MzE=
8,222
Why is the accuracy rate of pre-trained GPT-2 model only ~26%?
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[]
closed
false
null
[]
[ "Hi, we try to keep the github issues for bugs only. Could you open a thread on the [forum](https://discuss.huggingface.co) instead? Thank you!" ]
1,604
1,604
1,604
NONE
null
Hello, I have been trying to analyze HellaSwag dataset with the pre-trained GPT2DoubleHeadsModel. I fine-tuned the model by disabling any change fin weights of the main body (12 layers + embedding layer) while training weights of the multiple-choice head with moderate learning rate. My understanding is that, since ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8222/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8222/timeline
completed
null
null