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/10433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10433/comments
https://api.github.com/repos/huggingface/transformers/issues/10433/events
https://github.com/huggingface/transformers/issues/10433
817,820,447
MDU6SXNzdWU4MTc4MjA0NDc=
10,433
About the speed when return_dict is set to True
{ "login": "ridiculouz", "id": 56992804, "node_id": "MDQ6VXNlcjU2OTkyODA0", "avatar_url": "https://avatars.githubusercontent.com/u/56992804?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ridiculouz", "html_url": "https://github.com/ridiculouz", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "No, it shouldn't!", "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/...
1,614
1,619
1,619
NONE
null
Hi! I just want to know whether or not the speed is slower in model forward function like roberta or bert when return_dict=True.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10433/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10432/comments
https://api.github.com/repos/huggingface/transformers/issues/10432/events
https://github.com/huggingface/transformers/issues/10432
817,804,871
MDU6SXNzdWU4MTc4MDQ4NzE=
10,432
Adding Longformer Encoder Decoder support for T5
{ "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
[]
[ "So it looks like using sliding chunk mult is not the way to go. I can't figure out what's happening to the attn_scores and how it is shaped to be able to apply the position bias to it.\r\n\r\n\r\n```\r\n # POSITION_BIAS here: stack 2*one_sided_attn_window_size+1 worth of bias in the last dimension\r\n ...
1,614
1,619
1,619
NONE
null
# 🚀 Adding Longformer Encoder Decoder support for T5 LED is great for doing long form encoder decoder of documents, but it is based only on BART. T5 has certain advantages, such as being designed for multi tasks (QA, summarization, etc.) and having relative positioning. T5 uses relative positioning which maps w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10432/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10431/comments
https://api.github.com/repos/huggingface/transformers/issues/10431/events
https://github.com/huggingface/transformers/pull/10431
817,783,925
MDExOlB1bGxSZXF1ZXN0NTgxMjIxODM3
10,431
Fix conda-build
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
Fix the tokenizer version so that conda can correctly build packages
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10431/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10431", "html_url": "https://github.com/huggingface/transformers/pull/10431", "diff_url": "https://github.com/huggingface/transformers/pull/10431.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10431.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10430/comments
https://api.github.com/repos/huggingface/transformers/issues/10430/events
https://github.com/huggingface/transformers/issues/10430
817,699,483
MDU6SXNzdWU4MTc2OTk0ODM=
10,430
Inference with Finetuned BERT Model outputting odd results
{ "login": "singhn27", "id": 1694751, "node_id": "MDQ6VXNlcjE2OTQ3NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1694751?v=4", "gravatar_id": "", "url": "https://api.github.com/users/singhn27", "html_url": "https://github.com/singhn27", "followers_url": "https://api.github.com/users/singh...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nis it possible to ask this question on the [forum](https://discuss.huggingface.co/) rather than here? Since this question is a perfect use case for that.\r\n\r\nThank you. ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be ...
1,614
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.5.1 - Platform: Linux-4.14.203-116.332.amzn1.x86_64-x86_64-with-glibc2.10 - Python version: 3.7.6 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10430/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10429/comments
https://api.github.com/repos/huggingface/transformers/issues/10429/events
https://github.com/huggingface/transformers/issues/10429
817,694,937
MDU6SXNzdWU4MTc2OTQ5Mzc=
10,429
Trainer's load_best_model_at_end argument results in error with DistributedDataParallel
{ "login": "abhishek0318", "id": 22981267, "node_id": "MDQ6VXNlcjIyOTgxMjY3", "avatar_url": "https://avatars.githubusercontent.com/u/22981267?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishek0318", "html_url": "https://github.com/abhishek0318", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Could you explain a bit more the code you are running as well as the exact command you are using for launch? We can't help if we can't reproduce your bug and running:\r\n```\r\npython -m torch.distributed.launch --nproc_per_node 2 examples/text-classification/run_glue.py \\\r\n --model_name_or_path bert-base-unca...
1,614
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.0 - Platform: Linux - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 (CUDA Version: 11.2) - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10429/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10428/comments
https://api.github.com/repos/huggingface/transformers/issues/10428/events
https://github.com/huggingface/transformers/pull/10428
817,692,475
MDExOlB1bGxSZXF1ZXN0NTgxMTQyOTIw
10,428
[run_seq2seq.py] restore functionality: saving to test_generations.txt
{ "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
[]
[ "Ah, I re-read it closer, you're correct. I just remembered the part about the `test_generations.txt` but didn't bother to check out the full story. My bad. I will study it and follow up once I understand it better. ", "I went back to `finetune_trainer.py` from December and checked that it was just saving `test_g...
1,614
1,614
1,614
CONTRIBUTOR
null
This PR restores the original functionality that for some reason was modified. Fixes: https://github.com/huggingface/transformers/issues/10381 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10428/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10428", "html_url": "https://github.com/huggingface/transformers/pull/10428", "diff_url": "https://github.com/huggingface/transformers/pull/10428.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10428.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10427/comments
https://api.github.com/repos/huggingface/transformers/issues/10427/events
https://github.com/huggingface/transformers/pull/10427
817,677,097
MDExOlB1bGxSZXF1ZXN0NTgxMTI5MDgz
10,427
[examples] better model 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...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
As a continued effort to make examples easy to read and synchronizing them all to use the same look and feel, this PR tries to improve `run_seq2seq.py` as a model and then future PRs will sync other examples with it. * [x] makes the helper methods work for rank0 internally - simplifying the caller * [x] abstracts t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10427/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10427", "html_url": "https://github.com/huggingface/transformers/pull/10427", "diff_url": "https://github.com/huggingface/transformers/pull/10427.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10427.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10426/comments
https://api.github.com/repos/huggingface/transformers/issues/10426/events
https://github.com/huggingface/transformers/pull/10426
817,675,353
MDExOlB1bGxSZXF1ZXN0NTgxMTI3NjQ2
10,426
[WIP] CLIP
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "Awesome effort. Is the current version already compatible with (now merged) #10594 ?", "Thanks @dribnet \r\n\r\nI haven't added a feature extractor class for CLIP yet. We first need to finish the `ImageFeatureExtractor` (#01608)\r\nThen the `ClipFeatureExtractor` can inherit from that. This PR will be ready to m...
1,614
1,619
1,619
MEMBER
null
# What does this PR do? This PR adds OpenAI's CLIP model. original repo: https://github.com/openai/CLIP initial demo: https://colab.research.google.com/drive/1hwiCuKvw7hwSlE8yv7J1dh280PlYgPef?usp=sharing
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10426/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/10426/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10426", "html_url": "https://github.com/huggingface/transformers/pull/10426", "diff_url": "https://github.com/huggingface/transformers/pull/10426.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10426.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10425/comments
https://api.github.com/repos/huggingface/transformers/issues/10425/events
https://github.com/huggingface/transformers/issues/10425
817,631,722
MDU6SXNzdWU4MTc2MzE3MjI=
10,425
RAG and retrieved documents
{ "login": "calderma", "id": 18285670, "node_id": "MDQ6VXNlcjE4Mjg1Njcw", "avatar_url": "https://avatars.githubusercontent.com/u/18285670?v=4", "gravatar_id": "", "url": "https://api.github.com/users/calderma", "html_url": "https://github.com/calderma", "followers_url": "https://api.github.com/users/cal...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,614
1,614
1,614
NONE
null
I pretrained a rag model using the "finetune_rag.py" script and it generates pretty good results for my (knowledge intensive) use case, certainly better than the straight finetuned BART model i was using before. I am using my own custom datasource generated from use_own_knowledge_dataset.py. One curious thing that is h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10425/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10425/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10424/comments
https://api.github.com/repos/huggingface/transformers/issues/10424/events
https://github.com/huggingface/transformers/pull/10424
817,569,644
MDExOlB1bGxSZXF1ZXN0NTgxMDQwNzM2
10,424
Refactor checkpoint name in BERT and MobileBERT
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? Linked to #10193, this PR gives an example on how to refactor the checkpoint names in one private constant and use the `# Copied from` syntax to make the task-specific models that are copies of each other properly watched by our tooling. It adds the option in check-copies to: - put multip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10424/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10424", "html_url": "https://github.com/huggingface/transformers/pull/10424", "diff_url": "https://github.com/huggingface/transformers/pull/10424.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10424.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10423/comments
https://api.github.com/repos/huggingface/transformers/issues/10423/events
https://github.com/huggingface/transformers/issues/10423
817,565,907
MDU6SXNzdWU4MTc1NjU5MDc=
10,423
[examples] add --max_train_samples --max_val_samples --max_test_samples cl args to all scripts
{ "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": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @stas00,\r\nCan I work on this?", "Yes please! Thank you, @bhadreshpsavani ", "I was just thinking about this and why do we not have this functionality in the Trainer in first place? then perhaps none of this will be needed.\r\n\r\nI'm asking here: https://github.com/huggingface/transformers/issues/10437\r\...
1,614
1,615
1,615
CONTRIBUTOR
null
As a part of an effort to make all examples have the same look and feel this issue requests to sync the support for these 3 cl args in `run_seq2seq.py`: ``` --max_train_samples 5 --max_val_samples 5 --max_test_samples 5 ``` into: 1. all other `examples/*/run_*.py` 2. `templates/adding_a_new_example_script` Par...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10423/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10422/comments
https://api.github.com/repos/huggingface/transformers/issues/10422/events
https://github.com/huggingface/transformers/pull/10422
817,522,054
MDExOlB1bGxSZXF1ZXN0NTgxMDAxMTcw
10,422
Layoutlm tf
{ "login": "atahmasb", "id": 25216362, "node_id": "MDQ6VXNlcjI1MjE2MzYy", "avatar_url": "https://avatars.githubusercontent.com/u/25216362?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atahmasb", "html_url": "https://github.com/atahmasb", "followers_url": "https://api.github.com/users/ata...
[]
closed
false
null
[]
[ "Very nice! Can you let us know when you want us to review/give feedback/help? Thanks!", "> Very nice! Can you let us know when you want us to review/give feedback/help? Thanks!\r\n\r\nthanks! I need to upload the TF model file to the hub and run another check to make sure it gives the same results as the PT vers...
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10422/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/10422/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10422", "html_url": "https://github.com/huggingface/transformers/pull/10422", "diff_url": "https://github.com/huggingface/transformers/pull/10422.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10422.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10421/comments
https://api.github.com/repos/huggingface/transformers/issues/10421/events
https://github.com/huggingface/transformers/pull/10421
817,514,809
MDExOlB1bGxSZXF1ZXN0NTgwOTk1MjI4
10,421
updated metrics saving and logging
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I want to mention one thing here while testing the file I found that,\r\nFor files `run_clm.py, run_mlm.py, run_plm.py, run_ner.py, run glue.py`\r\nThe logs are as expected like this\r\n```\r\n02/26/2021 20:31:22 - INFO - __main__ - ***** eval metrics *****\r\n02/26/2021 20:31:22 - INFO - __main__ - HasAns_e...
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? I have updated redundant code for saving and logging metrics in the example scripts <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10421/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/10421/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10421", "html_url": "https://github.com/huggingface/transformers/pull/10421", "diff_url": "https://github.com/huggingface/transformers/pull/10421.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10421.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10420/comments
https://api.github.com/repos/huggingface/transformers/issues/10420/events
https://github.com/huggingface/transformers/issues/10420
817,405,736
MDU6SXNzdWU4MTc0MDU3MzY=
10,420
Unable to convert Facebook/mbart-many-to-many model to onxx
{ "login": "sankarsiva123", "id": 58412261, "node_id": "MDQ6VXNlcjU4NDEyMjYx", "avatar_url": "https://avatars.githubusercontent.com/u/58412261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sankarsiva123", "html_url": "https://github.com/sankarsiva123", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I do not think mBART can be converted to ONNX as of now.", "Hi Thanks for the information.\r\nFacebook/many-to-many takes 9s seconds for translation on cpu , is there a way to reduce the inference time ?", "Hi @sankarsiva123, have you tried HF's API inference ?\r\n\r\n9s per inference seems a bit off: https://...
1,614
1,619
1,619
NONE
null
When I tried to convert Facebook/mbart-many-to-many model . I am unable to convert I am getting issue. Pls help me to convert this model to ONXX
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10420/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10419/comments
https://api.github.com/repos/huggingface/transformers/issues/10419/events
https://github.com/huggingface/transformers/pull/10419
817,402,457
MDExOlB1bGxSZXF1ZXN0NTgwOTAxMjM1
10,419
[LED] Correct Docs
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10419/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10419", "html_url": "https://github.com/huggingface/transformers/pull/10419", "diff_url": "https://github.com/huggingface/transformers/pull/10419.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10419.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10418/comments
https://api.github.com/repos/huggingface/transformers/issues/10418/events
https://github.com/huggingface/transformers/issues/10418
817,396,368
MDU6SXNzdWU4MTczOTYzNjg=
10,418
Slow evaluation using Trainer with TPUs in Colab
{ "login": "finiteautomata", "id": 167943, "node_id": "MDQ6VXNlcjE2Nzk0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/167943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/finiteautomata", "html_url": "https://github.com/finiteautomata", "followers_url": "https://api.github...
[]
closed
false
null
[]
[ "The notebook won't execute on TPU, you need to spawn a function on multiple processes for this (`xm.spawn(train_function)`). That function should contain all the training code including the `Trainer`, but `Trainer.train` by itself won't spawn multiple processes.\r\n\r\nThe recommended way to train on TPU is to fol...
1,614
1,618
1,614
NONE
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0a0+7a178a8 (False) - Tensorflow version (GPU?): 2.4.1 (False) - Using GPU in script?: TPU - Using distributed or parallel set-up in script?: NO ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10418/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10417/comments
https://api.github.com/repos/huggingface/transformers/issues/10417/events
https://github.com/huggingface/transformers/pull/10417
817,384,747
MDExOlB1bGxSZXF1ZXN0NTgwODg2NTIy
10,417
Dont use sigmoid when num_labels==1
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Sorry, I don't really understand this - could give a bit more context?", "@patrickvonplaten Please see this https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/modeling_bert.py#L1515\r\nor any `XForSequenceClassification` model", "This is a very big breaking change. What do you...
1,614
1,651
1,619
MEMBER
null
It seems like we use MSELoss when num_labels==1 in config, i.e. a single column regression problem. But in text_classification pipeline, this is considered as a classification problem and uses sigmoid. This PR fixes that issue.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10417/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10417", "html_url": "https://github.com/huggingface/transformers/pull/10417", "diff_url": "https://github.com/huggingface/transformers/pull/10417.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10417.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10416/comments
https://api.github.com/repos/huggingface/transformers/issues/10416/events
https://github.com/huggingface/transformers/pull/10416
817,344,217
MDExOlB1bGxSZXF1ZXN0NTgwODUyNjA4
10,416
Add BERTForMultiLabel Classification or Regression
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "moving to new pr" ]
1,614
1,651
1,617
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10416/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10416", "html_url": "https://github.com/huggingface/transformers/pull/10416", "diff_url": "https://github.com/huggingface/transformers/pull/10416.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10416.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10415/comments
https://api.github.com/repos/huggingface/transformers/issues/10415/events
https://github.com/huggingface/transformers/issues/10415
817,291,312
MDU6SXNzdWU4MTcyOTEzMTI=
10,415
Bug when combining grouped beam search and constrained prefix decoding
{ "login": "mnschmit", "id": 2377507, "node_id": "MDQ6VXNlcjIzNzc1MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/2377507?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mnschmit", "html_url": "https://github.com/mnschmit", "followers_url": "https://api.github.com/users/mnsch...
[]
closed
false
null
[]
[ "Hey @mnschmit,\r\n\r\nthanks for your bug report! Yes, you're right -> I think we should indeed replace `num_beams` by `num_beams // num_beam_groups`. Do you want to open a PR to fix it? :-) Otherwise, I can do it as well" ]
1,614
1,614
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.3 - Platform: Linux-5.8.0-38-generic-x86_64-with-glibc2.29 - Python version: 3.8.5 - PyTorch version (GPU?): 1.5.1+cu101 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: yes - Using distributed or parallel set-up in script?: no ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10415/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10414/comments
https://api.github.com/repos/huggingface/transformers/issues/10414/events
https://github.com/huggingface/transformers/pull/10414
817,284,602
MDExOlB1bGxSZXF1ZXN0NTgwODAyMjUw
10,414
Add Ray Tune hyperparameter search integration test
{ "login": "krfricke", "id": 14904111, "node_id": "MDQ6VXNlcjE0OTA0MTEx", "avatar_url": "https://avatars.githubusercontent.com/u/14904111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krfricke", "html_url": "https://github.com/krfricke", "followers_url": "https://api.github.com/users/krf...
[]
closed
false
null
[]
[ "Oh, that makes sense. Does this happen in the repo? Is this something I can help with, or do you have to configure it?", "I'm currently working on these scheduled tests, I'll enable these while I do so. Thanks!" ]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? Currently, only Optuna HP search is tested in integration tests. This PR duplicates and adjusts the test for the Ray backend. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor gu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10414/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10414", "html_url": "https://github.com/huggingface/transformers/pull/10414", "diff_url": "https://github.com/huggingface/transformers/pull/10414.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10414.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10413/comments
https://api.github.com/repos/huggingface/transformers/issues/10413/events
https://github.com/huggingface/transformers/pull/10413
817,255,751
MDExOlB1bGxSZXF1ZXN0NTgwNzc4MTkz
10,413
Update run_mlm.py
{ "login": "ayxlin", "id": 79697459, "node_id": "MDQ6VXNlcjc5Njk3NDU5", "avatar_url": "https://avatars.githubusercontent.com/u/79697459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayxlin", "html_url": "https://github.com/ayxlin", "followers_url": "https://api.github.com/users/ayxlin/fo...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,619
1,619
NONE
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/10413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10413/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10413", "html_url": "https://github.com/huggingface/transformers/pull/10413", "diff_url": "https://github.com/huggingface/transformers/pull/10413.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10413.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10412/comments
https://api.github.com/repos/huggingface/transformers/issues/10412/events
https://github.com/huggingface/transformers/issues/10412
817,241,151
MDU6SXNzdWU4MTcyNDExNTE=
10,412
Trainer: Make `best_model_checkpoint` path in `trainer_state.json` relative to `args.output_dir`
{ "login": "tanmay17061", "id": 32801726, "node_id": "MDQ6VXNlcjMyODAxNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/32801726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tanmay17061", "html_url": "https://github.com/tanmay17061", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "I think this would a very welcome change indeed, so please work on that if you have time and if it's something you'd like to do!", "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...
1,614
1,619
1,619
CONTRIBUTOR
null
# 🚀 Feature request An enhancement of `best_model_checkpoint` for more robustness. <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Currently `Trainer.state.best_model_checkpoint` holds absolute path to the best checkpoint when `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10412/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10411/comments
https://api.github.com/repos/huggingface/transformers/issues/10411/events
https://github.com/huggingface/transformers/issues/10411
817,235,401
MDU6SXNzdWU4MTcyMzU0MDE=
10,411
Problem using add_special_tokens
{ "login": "hhou435", "id": 59219579, "node_id": "MDQ6VXNlcjU5MjE5NTc5", "avatar_url": "https://avatars.githubusercontent.com/u/59219579?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hhou435", "html_url": "https://github.com/hhou435", "followers_url": "https://api.github.com/users/hhou43...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,619
1,619
CONTRIBUTOR
null
## 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:windows - Python version:3.7.0 - PyTorch version (GPU?):1.7.0 - Tensorflow version (GPU?):2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10410/comments
https://api.github.com/repos/huggingface/transformers/issues/10410/events
https://github.com/huggingface/transformers/pull/10410
817,200,481
MDExOlB1bGxSZXF1ZXN0NTgwNzMyMzYx
10,410
[WIP] RAG end-to-end retriever training (with ray workers)
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "@lhoestq @patrickvonplaten \r\n\r\nI have already started doing the above changes you have mentioned. Apart from that, I changed the following elements of the codebase. \r\n\r\n1. I used a dedicated RAY worker to compute embeddings for the dataset with an updated ctx encoder in this version. However, the proces...
1,614
1,620
1,620
CONTRIBUTOR
null
# What does this PR do? As mentioned in this [issue](https://github.com/huggingface/transformers/issues/9646), this PR adds the fine-tuning ability the Retriever in the original RAG implementation. This PR first updates the ctx_encoder and then initializes the index using RAY workers. @lhoestq @amogkam
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10410/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10410", "html_url": "https://github.com/huggingface/transformers/pull/10410", "diff_url": "https://github.com/huggingface/transformers/pull/10410.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10410.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10409/comments
https://api.github.com/repos/huggingface/transformers/issues/10409/events
https://github.com/huggingface/transformers/pull/10409
817,161,253
MDExOlB1bGxSZXF1ZXN0NTgwNzAwMjY0
10,409
[ci, flax] non-existing models are unlikely to pass tests
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10409/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10409", "html_url": "https://github.com/huggingface/transformers/pull/10409", "diff_url": "https://github.com/huggingface/transformers/pull/10409.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10409.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10408/comments
https://api.github.com/repos/huggingface/transformers/issues/10408/events
https://github.com/huggingface/transformers/issues/10408
817,109,555
MDU6SXNzdWU4MTcxMDk1NTU=
10,408
Question about the `decoder_input_ids` in `LEDForConditionalGeneration` forward method
{ "login": "yww211", "id": 32888325, "node_id": "MDQ6VXNlcjMyODg4MzI1", "avatar_url": "https://avatars.githubusercontent.com/u/32888325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yww211", "html_url": "https://github.com/yww211", "followers_url": "https://api.github.com/users/yww211/fo...
[]
closed
false
{ "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 @yww211, \r\n\r\nactually there was a bug in the docstring, that I found thanks to you :-) The attached PR corrects this mistake.\r\n\r\nTo answer your question, you should not shift the `decoder_input_ids` explicitly by one when passing them & in fact you have to pass the `decoder_input_ids` if you want to us...
1,614
1,614
1,614
NONE
null
https://github.com/huggingface/transformers/blob/17b6e0d474b797cdddf5225b0f51bf0e928091b9/src/transformers/models/led/modeling_led.py#L2337 Hi, I have a question about the `LEDForConditionalGeneration` forward args. The `decoder_input_ids` has a comment that `decoder_input_ids (torch.LongTensor of shape (batch_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10408/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10407/comments
https://api.github.com/repos/huggingface/transformers/issues/10407/events
https://github.com/huggingface/transformers/pull/10407
816,981,680
MDExOlB1bGxSZXF1ZXN0NTgwNTUwODc5
10,407
offline mode for firewalled envs
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "> The constant should be documented in the install page, in the section about caching models I think (https://huggingface.co/transformers/installation.html#caching-models).\r\n\r\nGreat idea, @sgugger. Please kindly check the doc I added is good when you get a chance.\r\n\r\nAnd also the kind of test I had to add ...
1,614
1,614
1,614
CONTRIBUTOR
null
This PR implements the proposal from https://github.com/huggingface/transformers/issues/10379 to enable transformers to cache everything it needs and then run in the offline mode - e.g. in a firewalled environment. This PR: * [x] adds `is_offline_mode()` helper function that returns `True` when env var `TRANSFORM...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10407", "html_url": "https://github.com/huggingface/transformers/pull/10407", "diff_url": "https://github.com/huggingface/transformers/pull/10407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10406/comments
https://api.github.com/repos/huggingface/transformers/issues/10406/events
https://github.com/huggingface/transformers/pull/10406
816,936,839
MDExOlB1bGxSZXF1ZXN0NTgwNTE0MDE4
10,406
Ray Tune Integration Bug Fixes
{ "login": "amogkam", "id": 8068268, "node_id": "MDQ6VXNlcjgwNjgyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/8068268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amogkam", "html_url": "https://github.com/amogkam", "followers_url": "https://api.github.com/users/amogkam/...
[]
closed
false
null
[]
[ "@amogkam There is an `s` missing in line 202 in `src/transformers/integrations.py` in `{kwargs['keep_checkpoint_num']}` which should be `{kwargs['keep_checkpoints_num']}`, which is causing the logger to crash instead of just a warning. Thanks for the fixes btw!\r\n" ]
1,614
1,615
1,614
COLLABORATOR
null
# What does this PR do? Fixes resource allocation and checkpointing bugs with the Ray Tune `hyperparameter_search` integration. @sgugger @richardliaw @krfricke
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10406/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10406", "html_url": "https://github.com/huggingface/transformers/pull/10406", "diff_url": "https://github.com/huggingface/transformers/pull/10406.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10406.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10405/comments
https://api.github.com/repos/huggingface/transformers/issues/10405/events
https://github.com/huggingface/transformers/issues/10405
816,852,408
MDU6SXNzdWU4MTY4NTI0MDg=
10,405
Problem running T5 (configuration) with text classification
{ "login": "ioana-blue", "id": 17202292, "node_id": "MDQ6VXNlcjE3MjAyMjky", "avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ioana-blue", "html_url": "https://github.com/ioana-blue", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey, \r\n\r\neven though T5 can be used very well for text-classification it remains a text-to-text only model. So you can only load the model via\r\n\r\n```python\r\nfrom transformers import AutoModelForConditionalGeneration\r\nmodel = AutoModelForConditionalGeneration.from_pretrained(\"t5-small\")\r\n```", "Go...
1,614
1,645
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.2 - Platform: Linux-4.18.0-193.el8.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10405/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10404/comments
https://api.github.com/repos/huggingface/transformers/issues/10404/events
https://github.com/huggingface/transformers/issues/10404
816,817,899
MDU6SXNzdWU4MTY4MTc4OTk=
10,404
Model Hub: Search by model size
{ "login": "ioana-blue", "id": 17202292, "node_id": "MDQ6VXNlcjE3MjAyMjky", "avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ioana-blue", "html_url": "https://github.com/ioana-blue", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Definitely a good idea", "And since I started talking about model cards... :) I think it would be cool if you guys actually imposed some format. I think the original paper/idea had a format. Now \"model cards\" stands for \"whatever the researcher had time to fill in that day\" :) A few fields of interest: model...
1,614
1,619
1,619
NONE
null
# 🚀 Feature request It would be great if the model cards for models would include the model size (i.e., the number of parameters) and then the model hub will allow searching for models by size. ## Motivation Depending on the task/problem/context, smaller or larger models are more beneficial. It's hard to keep u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10404/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10403/comments
https://api.github.com/repos/huggingface/transformers/issues/10403/events
https://github.com/huggingface/transformers/pull/10403
816,806,207
MDExOlB1bGxSZXF1ZXN0NTgwNDA1OTQ1
10,403
Sagemaker Model Parallel tensoboard writing fix
{ "login": "mansimane", "id": 23171195, "node_id": "MDQ6VXNlcjIzMTcxMTk1", "avatar_url": "https://avatars.githubusercontent.com/u/23171195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mansimane", "html_url": "https://github.com/mansimane", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,614
1,616
1,614
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10403/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10403", "html_url": "https://github.com/huggingface/transformers/pull/10403", "diff_url": "https://github.com/huggingface/transformers/pull/10403.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10403.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10402/comments
https://api.github.com/repos/huggingface/transformers/issues/10402/events
https://github.com/huggingface/transformers/issues/10402
816,750,677
MDU6SXNzdWU4MTY3NTA2Nzc=
10,402
SageMaker Model Parallel: cluttered tensorboard plots
{ "login": "mansimane", "id": 23171195, "node_id": "MDQ6VXNlcjIzMTcxMTk1", "avatar_url": "https://avatars.githubusercontent.com/u/23171195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mansimane", "html_url": "https://github.com/mansimane", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello! Thank you for opening an issue and for offering a code sample!\r\n\r\nCould you open a PR with your code changes?\r\n\r\nThank you!", "@LysandreJik Please find the PR here: https://github.com/huggingface/transformers/pull/10403/files ", "Cool, thanks for fixing! Just merged the PR." ]
1,614
1,614
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: master - Platform: SageMaker - Python version: 3.6 - PyTorch version (GPU?): 1.6 - Using GPU in script?: Y - Using distributed or parallel set-up in script?: Y ### Who can help Models:All Library:SageMaker Model parallel ## Information The prob...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10402/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10401/comments
https://api.github.com/repos/huggingface/transformers/issues/10401/events
https://github.com/huggingface/transformers/pull/10401
816,710,607
MDExOlB1bGxSZXF1ZXN0NTgwMzI0Mzcy
10,401
Fix run_glue evaluation when model has a label correspondence
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? The `run_glue` script uses the correspondence id to label stored in a given model but when using ``` AutoModelForSequenceClassication.from_pretrained(xxx, num_labels=x) ``` that correspondence is reset. This PR fixes that, along with a few other bugs in the script. To confirm MNLI evaluat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10401/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10401", "html_url": "https://github.com/huggingface/transformers/pull/10401", "diff_url": "https://github.com/huggingface/transformers/pull/10401.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10401.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10400/comments
https://api.github.com/repos/huggingface/transformers/issues/10400/events
https://github.com/huggingface/transformers/issues/10400
816,694,608
MDU6SXNzdWU4MTY2OTQ2MDg=
10,400
[Deepspeed] getting multiple prints of: Avoid using `tokenizers` before the fork if possible
{ "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": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
null
[]
[ "@chrissyjsartt, you probably accidentally subscribed/set to \"Watching\" the transformers repository which will now send you every comment on every Issue or PR. \r\n\r\nSo urgently go to https://github.com/watching and \"Unwatch\" this or any other repositories you may have set to Watch. Then you will stop getting...
1,614
1,614
1,614
CONTRIBUTOR
null
on master when running with DeepSpeed I started getting multiple dumps of: ``` huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks... To disable this warning, you can either: - Avoid using `tokenizers` before the fork...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10400/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10399/comments
https://api.github.com/repos/huggingface/transformers/issues/10399/events
https://github.com/huggingface/transformers/pull/10399
816,582,416
MDExOlB1bGxSZXF1ZXN0NTgwMjE5NDI2
10,399
Make Barthez tokenizer tests a bit faster
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? Currently, CI is pretty slow because of this: ``` 93.44s call tests/test_tokenization_barthez.py::BarthezTokenizationTest::test_add_special_tokens 77.20s call tests/test_tokenization_barthez.py::BarthezTokenizationTest::test_pretokenized_inputs 77.00s call tests/test_tokenizat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10399", "html_url": "https://github.com/huggingface/transformers/pull/10399", "diff_url": "https://github.com/huggingface/transformers/pull/10399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10399.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10398/comments
https://api.github.com/repos/huggingface/transformers/issues/10398/events
https://github.com/huggingface/transformers/issues/10398
816,552,299
MDU6SXNzdWU4MTY1NTIyOTk=
10,398
Does the synonym replacement tasks need Transformer?
{ "login": "Kiode", "id": 19408781, "node_id": "MDQ6VXNlcjE5NDA4Nzgx", "avatar_url": "https://avatars.githubusercontent.com/u/19408781?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kiode", "html_url": "https://github.com/Kiode", "followers_url": "https://api.github.com/users/Kiode/follow...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,614
1,614
1,614
NONE
null
Or traditional language processing toolkit (like WordNet) is enough?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10398/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10397/comments
https://api.github.com/repos/huggingface/transformers/issues/10397/events
https://github.com/huggingface/transformers/pull/10397
816,513,248
MDExOlB1bGxSZXF1ZXN0NTgwMTYxNjU1
10,397
Ignore unexpected weights from PT conversion
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
Some weights resulting from the conversion from a PyTorch model to a TensorFlow model are throwing an unnecessary warning. To see for yourself, the following code throws a warning before the PR: ```py from transformers import BertForPreTraining, BertConfig, TFBertForPreTraining pt = BertForPreTraining(BertCon...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10397/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10397", "html_url": "https://github.com/huggingface/transformers/pull/10397", "diff_url": "https://github.com/huggingface/transformers/pull/10397.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10397.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10396/comments
https://api.github.com/repos/huggingface/transformers/issues/10396/events
https://github.com/huggingface/transformers/issues/10396
816,490,214
MDU6SXNzdWU4MTY0OTAyMTQ=
10,396
how to freeze specific layers of TFbert model and just train a classifier?
{ "login": "nerses0", "id": 24301163, "node_id": "MDQ6VXNlcjI0MzAxMTYz", "avatar_url": "https://avatars.githubusercontent.com/u/24301163?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nerses0", "html_url": "https://github.com/nerses0", "followers_url": "https://api.github.com/users/nerses...
[]
closed
false
null
[]
[ "I googled it, this should be working:\r\n\r\nhttps://colab.research.google.com/drive/1EAVhQGdVvXbCu8gGq0lZ9dOnN4jJtvAj?usp=sharing", "@NielsRogge thanks for the help! ", "> I googled it, this should be working:\r\n> \r\n> https://colab.research.google.com/drive/1EAVhQGdVvXbCu8gGq0lZ9dOnN4jJtvAj?usp=sharing\r\n...
1,614
1,635
1,614
NONE
null
Could someone help me to freeze say first 3 layers of transformers.TFDistilBertModel.from_pretrained('distilbert-base-multilingual-cased'). I've tried recommendations for TF model from [#400](https://github.com/huggingface/transformers/issues/400) but it seems to freeze all layers at once. Thanks in advance!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10396/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10395/comments
https://api.github.com/repos/huggingface/transformers/issues/10395/events
https://github.com/huggingface/transformers/issues/10395
816,437,271
MDU6SXNzdWU4MTY0MzcyNzE=
10,395
RobertaTokenizerFast does not add special tokens
{ "login": "marrrcin", "id": 6958772, "node_id": "MDQ6VXNlcjY5NTg3NzI=", "avatar_url": "https://avatars.githubusercontent.com/u/6958772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marrrcin", "html_url": "https://github.com/marrrcin", "followers_url": "https://api.github.com/users/marrr...
[]
closed
false
null
[]
[ "Hi, thanks for opening an issue. Indeed, I can reproduce. The conversion to IDs happens in the `encode_batch` method in `tokenizers` directly, which doesn't return the special tokens even though it correctly receives `add_special_tokens=True`. The tokenizer object in transformers also seems to have the correct `sp...
1,614
1,614
1,614
CONTRIBUTOR
null
I'm not sure whether this should be a part of tokenizers or transformers, because it uses both. Classes that don't work are from `transformers` so I'm posting it here. ## Environment info - `transformers` version: 4.3.3 - Platform: Colab - PyTorch version (GPU?): n/a - Tensorflow version (GPU?): n/a - Using...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10395/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10394/comments
https://api.github.com/repos/huggingface/transformers/issues/10394/events
https://github.com/huggingface/transformers/issues/10394
816,430,079
MDU6SXNzdWU4MTY0MzAwNzk=
10,394
DeepSpeedEngine object has no attribute 'no_sync'
{ "login": "ayubSubhaniya", "id": 20911334, "node_id": "MDQ6VXNlcjIwOTExMzM0", "avatar_url": "https://avatars.githubusercontent.com/u/20911334?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayubSubhaniya", "html_url": "https://github.com/ayubSubhaniya", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Thank you for your report. This issue has already been fixed in `transformers` master." ]
1,614
1,614
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.0 - Platform: Linux-4.14.209-160.339.amzn2.x86_64-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.8 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: yes - Using distributed or parallel set-up i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10394/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10393/comments
https://api.github.com/repos/huggingface/transformers/issues/10393/events
https://github.com/huggingface/transformers/issues/10393
816,340,853
MDU6SXNzdWU4MTYzNDA4NTM=
10,393
NER Pipeline not working
{ "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
[]
[ "Hello! The fix for this was merged a few days ago: https://github.com/huggingface/transformers/pull/10184\r\n\r\nI recommend you install from source while no new version is available for Transformers (a new version should be out in ~2 weeks). Sorry for the inconvenience.", "Ok thank you for the fast response. I ...
1,614
1,614
1,614
CONTRIBUTOR
null
I just followed the token classification notebook and created a pipeline from the model I trained there. Here you can see the full notebook: https://colab.research.google.com/drive/1OzfFTgZwjxdIikbQ8lVJbA2SRF3IeJ5F?usp=sharing The only thing that I changed (apart from creating the pipeline and calling it) s the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10393/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10392/comments
https://api.github.com/repos/huggingface/transformers/issues/10392/events
https://github.com/huggingface/transformers/pull/10392
816,320,566
MDExOlB1bGxSZXF1ZXN0NTgwMDAxMzE3
10,392
Remove unused variable in example for Q&A
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Thanks a lot for the fix!", "What is this all about why am I attached can someone help me\n\n\nOn Thu, Feb 25, 2021, 8:19 AM Lysandre Debut <notifications@github.com>\nwrote:\n\n> Merged #10392 <https://github.com/huggingface/transformers/pull/10392>\n> into master.\n>\n> —\n> You are receiving this because you ...
1,614
1,614
1,614
MEMBER
null
This PR removed unsed `text_tokens = tokenizer.convert_ids_to_tokens(input_ids)` from pytorch and tensorflow examples of Question Answering: https://huggingface.co/transformers/usage.html#extractive-question-answering
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10392/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10392", "html_url": "https://github.com/huggingface/transformers/pull/10392", "diff_url": "https://github.com/huggingface/transformers/pull/10392.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10392.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10391/comments
https://api.github.com/repos/huggingface/transformers/issues/10391/events
https://github.com/huggingface/transformers/issues/10391
816,281,773
MDU6SXNzdWU4MTYyODE3NzM=
10,391
some bugs about mbart50 for spanish
{ "login": "songwang41", "id": 6013961, "node_id": "MDQ6VXNlcjYwMTM5NjE=", "avatar_url": "https://avatars.githubusercontent.com/u/6013961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/songwang41", "html_url": "https://github.com/songwang41", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,619
1,619
NONE
null
``` from transformers import MBartForConditionalGeneration, MBart50TokenizerFast model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50-many-to-many-mmt") tokenizer = MBart50TokenizerFast.from_pretrained("facebook/mbart-large-50-many-to-many-mmt") article_en = "Hello World" encoded_en =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10391/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10390/comments
https://api.github.com/repos/huggingface/transformers/issues/10390/events
https://github.com/huggingface/transformers/issues/10390
816,256,080
MDU6SXNzdWU4MTYyNTYwODA=
10,390
Tokenizer not working
{ "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...
[ { "id": 1862634478, "node_id": "MDU6TGFiZWwxODYyNjM0NDc4", "url": "https://api.github.com/repos/huggingface/transformers/labels/Should%20Fix", "name": "Should Fix", "color": "FF0000", "default": false, "description": "This has been identified as a bug and should be fixed." } ]
closed
false
null
[]
[ "Hi! We do not maintain the conda-forge versions of transformers and tokenizers. We maintain the versions that are on the `huggingface` channel.\r\n\r\nI just tried with the `huggingface` channel and I get no such errors:\r\n\r\n```\r\nconda create --name=env1 python=3.8 jupyter transformers tokenizers -y -c huggin...
1,614
1,621
1,621
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.2 - Platform: Ubuntu 16.04.6 LTS - Python version: 3.8.8 ### Who can help - tokenizers: @n1t0, @LysandreJik ## Information To reproduce: ``` conda create --name=env1 python=3.8 jupyter transformers tokenizers -y -c conda-forge conda activate env1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10390/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10389/comments
https://api.github.com/repos/huggingface/transformers/issues/10389/events
https://github.com/huggingface/transformers/pull/10389
815,960,419
MDExOlB1bGxSZXF1ZXN0NTc5NzAyMzgz
10,389
GA: only run model templates once - from fork
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10389/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10389", "html_url": "https://github.com/huggingface/transformers/pull/10389", "diff_url": "https://github.com/huggingface/transformers/pull/10389.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10389.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10388/comments
https://api.github.com/repos/huggingface/transformers/issues/10388/events
https://github.com/huggingface/transformers/pull/10388
815,958,385
MDExOlB1bGxSZXF1ZXN0NTc5NzAwNjY4
10,388
GA: only run model templates once
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10388/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10388", "html_url": "https://github.com/huggingface/transformers/pull/10388", "diff_url": "https://github.com/huggingface/transformers/pull/10388.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10388.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10387/comments
https://api.github.com/repos/huggingface/transformers/issues/10387/events
https://github.com/huggingface/transformers/issues/10387
815,913,391
MDU6SXNzdWU4MTU5MTMzOTE=
10,387
loss.backward() TypeError seed issue for pretrained reformer model
{ "login": "cnedwards", "id": 35178531, "node_id": "MDQ6VXNlcjM1MTc4NTMx", "avatar_url": "https://avatars.githubusercontent.com/u/35178531?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cnedwards", "html_url": "https://github.com/cnedwards", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "duplicate of https://github.com/huggingface/transformers/issues/10370 more or less. Just need to do the same fixes as in the answer of #10370 " ]
1,614
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.2 - Platform: Google Colab - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.0+cu101 - Using GPU ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10387/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10386/comments
https://api.github.com/repos/huggingface/transformers/issues/10386/events
https://github.com/huggingface/transformers/issues/10386
815,889,277
MDU6SXNzdWU4MTU4ODkyNzc=
10,386
MNLI evaluation on pretrained models
{ "login": "AliHadizadeh", "id": 43891002, "node_id": "MDQ6VXNlcjQzODkxMDAy", "avatar_url": "https://avatars.githubusercontent.com/u/43891002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AliHadizadeh", "html_url": "https://github.com/AliHadizadeh", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hello! This may be because of labels being switched around for the MNLI task. See this thread https://github.com/huggingface/transformers/pull/10203 for more context.", "Hello, \r\nMany thanks for your response. Yes, that seems to be the source of my issue, and now I can get the accuracy. \r\nThanks!\r\n", "I ...
1,614
1,645
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.4.dev / 4.3.3 / 4.3.2 - Platform: Ubuntu 18.04/ Windows 10 - Python version: 3.6.2 - PyTorch version (GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10386/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10385/comments
https://api.github.com/repos/huggingface/transformers/issues/10385/events
https://github.com/huggingface/transformers/issues/10385
815,857,133
MDU6SXNzdWU4MTU4NTcxMzM=
10,385
DDP performing slightly worse in terms of loss and metrics than DP
{ "login": "johncookds", "id": 16158793, "node_id": "MDQ6VXNlcjE2MTU4Nzkz", "avatar_url": "https://avatars.githubusercontent.com/u/16158793?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johncookds", "html_url": "https://github.com/johncookds", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi! This thread https://github.com/huggingface/transformers/issues/10223 might be useful, it sheds light over the issue you mention.", "Hi thank you for linking, it is actually worse in terms of loss, not speed. DDP is significantly faster than DP, which I believe it is supposed to be.", "Oh, sorry about that,...
1,614
1,615
1,615
NONE
null
Hi, I am running Transformers 4.3.2 and am testing DistributedDataParallel vs DataParallel. The Huggingface Trainer in both instances have been untouched and slight modifications were made to run_clm.py to fit my specific use case. This is using GPT-2 model trained from scratch. I am consistently seeing much fas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10385/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10384/comments
https://api.github.com/repos/huggingface/transformers/issues/10384/events
https://github.com/huggingface/transformers/issues/10384
815,836,682
MDU6SXNzdWU4MTU4MzY2ODI=
10,384
Fine-tune pretrained Wav2Vec2 on a small custom dataset
{ "login": "Omarnabk", "id": 72882909, "node_id": "MDQ6VXNlcjcyODgyOTA5", "avatar_url": "https://avatars.githubusercontent.com/u/72882909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Omarnabk", "html_url": "https://github.com/Omarnabk", "followers_url": "https://api.github.com/users/Oma...
[]
closed
false
null
[]
[ "Patrick is working on it, see #10145 ", "I am also searching for fine-tuning of this model.", "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...
1,614
1,619
1,619
NONE
null
I am wondering how to **fine-tune** a pre-trained model on a small speech/audio dataset. I have 10 hours of audio with their transcript. I would like to fine-tune a model and then use it as described here: [](https://huggingface.co/facebook/wav2vec2-large-960h) Thanks!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10383/comments
https://api.github.com/repos/huggingface/transformers/issues/10383/events
https://github.com/huggingface/transformers/pull/10383
815,836,127
MDExOlB1bGxSZXF1ZXN0NTc5NTk5Nzk2
10,383
Run GA on every push even on forks
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
This PR updates the Github Actions YAML file so that PRs opened from forks run the GA tests on every commit. Fixes https://github.com/huggingface/transformers/issues/10065
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10383/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10383", "html_url": "https://github.com/huggingface/transformers/pull/10383", "diff_url": "https://github.com/huggingface/transformers/pull/10383.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10383.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10382/comments
https://api.github.com/repos/huggingface/transformers/issues/10382/events
https://github.com/huggingface/transformers/pull/10382
815,832,063
MDExOlB1bGxSZXF1ZXN0NTc5NTk2NTE4
10,382
Run GA on forks (Attempt #2)
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10382/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10382", "html_url": "https://github.com/huggingface/transformers/pull/10382", "diff_url": "https://github.com/huggingface/transformers/pull/10382.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10382.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10381/comments
https://api.github.com/repos/huggingface/transformers/issues/10381/events
https://github.com/huggingface/transformers/issues/10381
815,737,788
MDU6SXNzdWU4MTU3Mzc3ODg=
10,381
Option to output "test predictions" text file with each checkpoint in run_seq2seq.py
{ "login": "kingpalethe", "id": 11775831, "node_id": "MDQ6VXNlcjExNzc1ODMx", "avatar_url": "https://avatars.githubusercontent.com/u/11775831?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kingpalethe", "html_url": "https://github.com/kingpalethe", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "May be of interest to @patil-suraj @stas00 @sgugger ", "Yes, as I replied in the forums, this functionality was dropped - not sure why it was done, as I wasn't part part of the planning discussion.\r\n\r\nI think it was not intentional, the devs were probably unaware it was used and given that the example tests ...
1,614
1,614
1,614
NONE
null
Further to this discussion: https://discuss.huggingface.co/t/how-to-output-test-generations-txt-with-run-seq2seq-py/3825 The prior incarnation of this script would output test generations at each checkpoint, which was very useful for understanding the progress of model training. The current script... https:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10380/comments
https://api.github.com/repos/huggingface/transformers/issues/10380/events
https://github.com/huggingface/transformers/issues/10380
815,709,748
MDU6SXNzdWU4MTU3MDk3NDg=
10,380
Trainer.train() gets stuck when executed on K8 pods
{ "login": "pthalasta", "id": 68306050, "node_id": "MDQ6VXNlcjY4MzA2MDUw", "avatar_url": "https://avatars.githubusercontent.com/u/68306050?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pthalasta", "html_url": "https://github.com/pthalasta", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi there. Unless you tell us what script you are using and how you are launching it, there is nothing we can do to help.", "@sgugger i'm trying to execute this example script\r\nhttps://github.com/huggingface/notebooks/blob/master/examples/text_classification.ipynb\r\n\r\nThis notebook works fine in a docker con...
1,614
1,619
1,619
NONE
null
## Environment info - `transformers` version: 4.3.2 - Platform: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in scrip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10379/comments
https://api.github.com/repos/huggingface/transformers/issues/10379/events
https://github.com/huggingface/transformers/issues/10379
815,688,966
MDU6SXNzdWU4MTU2ODg5NjY=
10,379
[firewalled env] OFFLINE mode
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "This is done." ]
1,614
1,615
1,615
CONTRIBUTOR
null
This is done - we now have: * `HF_DATASETS_OFFLINE=1` * `TRANSFORMERS_OFFLINE=1` Documented: [here](https://huggingface.co/transformers/master/installation.html#offline-mode) The transformers-specific issue is here: ------------------- Similar to `datasets` https://github.com/huggingface/datasets/issue...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10379/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/10379/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10378/comments
https://api.github.com/repos/huggingface/transformers/issues/10378/events
https://github.com/huggingface/transformers/issues/10378
815,578,400
MDU6SXNzdWU4MTU1Nzg0MDA=
10,378
AttributeError: 'QAModel' object has no attribute 'automatic_optimization'
{ "login": "emilzilyaev", "id": 30962491, "node_id": "MDQ6VXNlcjMwOTYyNDkx", "avatar_url": "https://avatars.githubusercontent.com/u/30962491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/emilzilyaev", "html_url": "https://github.com/emilzilyaev", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello! This issue seems to be with PyTorch Lightning rather than with Transformers.", "> Hello! This issue seems to be with PyTorch Lightning rather than with Transformers.\r\n\r\nWell, I've tried to pass MT5ForConditionalGeneration directly to fit() function, but got following error:\r\n\r\nModuleAttributeError...
1,614
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.2 - Platform: google colab - `pytorch-lightning` version (GPU?): 1.2.0 <!-- Your issue will be replied...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10378/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10377/comments
https://api.github.com/repos/huggingface/transformers/issues/10377/events
https://github.com/huggingface/transformers/issues/10377
815,555,962
MDU6SXNzdWU4MTU1NTU5NjI=
10,377
Training LongformerForQuestionAnswering on TriviaQA
{ "login": "SapirWeissbuch", "id": 44585792, "node_id": "MDQ6VXNlcjQ0NTg1Nzky", "avatar_url": "https://avatars.githubusercontent.com/u/44585792?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SapirWeissbuch", "html_url": "https://github.com/SapirWeissbuch", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Pinging @ibeltagy and @patrickvonplaten who would know better.", "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](http...
1,614
1,619
1,619
NONE
null
Hello, Could you please give a short explanation on how to retrain `LongformerForQuestionAnswering` in order to receive these weights: `allenai/longformer-large-4096-finetuned-triviaqa` (https://huggingface.co/allenai/longformer-large-4096-finetuned-triviaqa/tree/main). Thank you, Sapir
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10377/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/10377/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10376/comments
https://api.github.com/repos/huggingface/transformers/issues/10376/events
https://github.com/huggingface/transformers/issues/10376
815,534,852
MDU6SXNzdWU4MTU1MzQ4NTI=
10,376
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte
{ "login": "math-sasso", "id": 23565626, "node_id": "MDQ6VXNlcjIzNTY1NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/23565626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/math-sasso", "html_url": "https://github.com/math-sasso", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "You're using `AutoModelForTokenClassification` but you're specifying a `ckpt` file. It needs a folder with a `config.json`, and a state dict. Here it's expecting a PyTorch state dict named `pytorch_model.bin` since you're using the PyTorch version.\r\n\r\nIf you've retrieved your checkpoint from the original BERT ...
1,614
1,614
1,614
NONE
null
## Description I have fine tunned a transformers model ('bert-base') and saved the checkpoint. Now I want to use somewhere with the checkpoints I saved. But If I still use bert-base on my new env it will not retrieve my checkpoints, so I want to know the proper way to make my model (Pytorch Lightning model) understand...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10376/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10375/comments
https://api.github.com/repos/huggingface/transformers/issues/10375/events
https://github.com/huggingface/transformers/issues/10375
815,490,718
MDU6SXNzdWU4MTU0OTA3MTg=
10,375
DPR decode_best_spans include spans from title
{ "login": "vinicius-cleves", "id": 25393523, "node_id": "MDQ6VXNlcjI1MzkzNTIz", "avatar_url": "https://avatars.githubusercontent.com/u/25393523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vinicius-cleves", "html_url": "https://github.com/vinicius-cleves", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Yes that's totally true. Good catch !\r\nCould you open a PR to fix that please ?\r\n\r\nMaybe this could have affected the performance of the DPR Reader a bit, but probably not significantly though since the logits of the tokens in the title have very low values. The model was trained to return answers from the p...
1,614
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.1.1 ### Who can help @lhoestq, @LysandreJik <!-- Your issue will be replied to more quickly if you can ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10375/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10374/comments
https://api.github.com/repos/huggingface/transformers/issues/10374/events
https://github.com/huggingface/transformers/pull/10374
815,485,446
MDExOlB1bGxSZXF1ZXN0NTc5MzA3NDI3
10,374
Fix None in add_token_positions - issue #10210
{ "login": "andreabac3", "id": 36055796, "node_id": "MDQ6VXNlcjM2MDU1Nzk2", "avatar_url": "https://avatars.githubusercontent.com/u/36055796?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andreabac3", "html_url": "https://github.com/andreabac3", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello @joeddav,\r\nYes the proposed change works!\r\n\r\nI have updated the commit.\r\n\r\nThank you for the attention,\r\nAndrea" ]
1,614
1,614
1,614
CONTRIBUTOR
null
Related to the issue #10210 I fix the error in that way, can you confirm is right? @joeddav @sgugger Kind regards, Andrea
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10374", "html_url": "https://github.com/huggingface/transformers/pull/10374", "diff_url": "https://github.com/huggingface/transformers/pull/10374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10373/comments
https://api.github.com/repos/huggingface/transformers/issues/10373/events
https://github.com/huggingface/transformers/issues/10373
815,482,878
MDU6SXNzdWU4MTU0ODI4Nzg=
10,373
[Documentation issue] Sequence to sequence models
{ "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
[]
[ "Option 1) seems the way to go for me as well here!", "Said the same in private but realized I didn't put it here. So option 1 it is!", "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\nPleas...
1,614
1,621
1,621
MEMBER
null
Most models have their example docstrings appended using the `add_code_sample_docstrings` method. This method checks the name of the architecture, and according to its suffix, adds the corresponding sequence. However, this isn't perfect with the difference between sequence-to-sequence and enc/dec only models, which ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10373/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10372/comments
https://api.github.com/repos/huggingface/transformers/issues/10372/events
https://github.com/huggingface/transformers/issues/10372
815,357,615
MDU6SXNzdWU4MTUzNTc2MTU=
10,372
deprecated reference `tokenizer.max_len` in glue.py (PR #10220)
{ "login": "poedator", "id": 24738311, "node_id": "MDQ6VXNlcjI0NzM4MzEx", "avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/poedator", "html_url": "https://github.com/poedator", "followers_url": "https://api.github.com/users/poe...
[]
closed
false
null
[]
[ "Thanks for opening a PR which fixes the issue! I just merged it.\r\n\r\n" ]
1,614
1,614
1,614
CONTRIBUTOR
null
There is a deprecated reference to `tokenizer.max_len` with `tokenizer.model_max_length` - similar to [issue 8739](https://github.com/huggingface/transformers/issues/8739) and [PR 8604](https://github.com/huggingface/transformers/pull/8604). See error example [in Colab here](https://colab.research.google.com/gist/poe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10372/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10371/comments
https://api.github.com/repos/huggingface/transformers/issues/10371/events
https://github.com/huggingface/transformers/issues/10371
815,308,742
MDU6SXNzdWU4MTUzMDg3NDI=
10,371
Load pretrained model except the head layer for a specific downstream task
{ "login": "hasansalimkanmaz", "id": 49716619, "node_id": "MDQ6VXNlcjQ5NzE2NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hasansalimkanmaz", "html_url": "https://github.com/hasansalimkanmaz", "followers_url": "https://...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "for now, how can I load pretrained models that have different prediction heads? thanks!", "For now you can discard the head by passing through a base model:\r\n\r\n```py\r\nfrom transformers import AutoModelForSequenceClassification, AutoModel\r\n\r\npretrained_with_head = AutoModelForSequenceClassification.from...
1,614
1,630
null
CONTRIBUTOR
null
# 🚀 Feature request It would be nice to have a flag for `from_pretrained` method that indicates whether to load last layer or not. This feature is needed for transfer learning. ## Motivation I have trained a model with a specific dataset for a downstream task. Now, I need to train another model that needs to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10371/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/10370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10370/comments
https://api.github.com/repos/huggingface/transformers/issues/10370/events
https://github.com/huggingface/transformers/issues/10370
815,246,120
MDU6SXNzdWU4MTUyNDYxMjA=
10,370
ReformerForQuestionAnswering : int() argument must be a string, a bytes-like object or a number, not 'NoneType'
{ "login": "harikc456", "id": 21287383, "node_id": "MDQ6VXNlcjIxMjg3Mzgz", "avatar_url": "https://avatars.githubusercontent.com/u/21287383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harikc456", "html_url": "https://github.com/harikc456", "followers_url": "https://api.github.com/users/...
[]
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 @harikc456,\r\n\r\nThe problem is that the model is not put into training mode. If you run the following code:\r\n\r\n```python\r\nfrom transformers import ReformerTokenizer, ReformerForQuestionAnswering\r\nfrom transformers.models.reformer.modeling_reformer import PositionEmbeddings\r\nimport torch\r\n\r\ntok...
1,614
1,618
1,618
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: - Python version: 3.7.10 - PyTorch version (GPU?): 1.7 - Using GPU in script?: Yes - Using di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10370/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10369/comments
https://api.github.com/repos/huggingface/transformers/issues/10369/events
https://github.com/huggingface/transformers/issues/10369
815,238,477
MDU6SXNzdWU4MTUyMzg0Nzc=
10,369
Why should `attn_weights` be reshaped twice in BartAttention ?
{ "login": "shenfe", "id": 22103866, "node_id": "MDQ6VXNlcjIyMTAzODY2", "avatar_url": "https://avatars.githubusercontent.com/u/22103866?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shenfe", "html_url": "https://github.com/shenfe", "followers_url": "https://api.github.com/users/shenfe/fo...
[]
closed
false
null
[]
[ "@patrickvonplaten excuse me, could you share any idea please", "See this PR for more information: https://github.com/huggingface/transformers/pull/8747", "> See this PR for more information: #8747\r\n\r\nAlmost understand, although it's still weird. As #8747 explained,\r\n```\r\nThis ensures that the returned ...
1,614
1,614
1,614
CONTRIBUTOR
null
Can anybody help to understand that? https://github.com/huggingface/transformers/blob/3437d12134893dd7b45737e422e105e511341297/src/transformers/models/bart/modeling_bart.py#L238-L244
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10369/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10368/comments
https://api.github.com/repos/huggingface/transformers/issues/10368/events
https://github.com/huggingface/transformers/issues/10368
815,227,400
MDU6SXNzdWU4MTUyMjc0MDA=
10,368
TFMarianModel from_pretrained can't load weights
{ "login": "brand17", "id": 36546021, "node_id": "MDQ6VXNlcjM2NTQ2MDIx", "avatar_url": "https://avatars.githubusercontent.com/u/36546021?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brand17", "html_url": "https://github.com/brand17", "followers_url": "https://api.github.com/users/brand1...
[]
closed
false
null
[]
[ "Thanks for the issue! \r\n\r\nI uploaded the TF weights https://huggingface.co/Helsinki-NLP/opus-mt-en-de/commit/1a8c2263da11e68e50938f97e10cd57820bd504c. Should be fixed now - could you try again?", "Thanks, this method working now. Please upload a model 'Helsinki-NLP/opus-mt-ru-en'. And I think other models ar...
1,614
1,630
1,630
NONE
null
## Environment info - `transformers` version: 4.3.2 - Platform: Windows-7-6.1.7601-SP1 - Python version: 3.6.6 - PyTorch version (GPU?): 1.5.1+cpu (False) - Tensorflow version (GPU?): 2.3.0 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can help @patrickvonpl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10368/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10367/comments
https://api.github.com/repos/huggingface/transformers/issues/10367/events
https://github.com/huggingface/transformers/issues/10367
815,177,536
MDU6SXNzdWU4MTUxNzc1MzY=
10,367
device-side assert triggered Error while doing inference on Distilbert and Bert
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "If you have a CUDA device-side error, it is advised to run your code on CPU, because then you will receive a more informative error message.", "Hi @NielsRogge,\r\nIn CPU its working fine, Error is coming while using GPU only\r\n", "Hi @bhadreshpsavani, this can't work on CPU. You're sending a sequence that is ...
1,614
1,614
1,614
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: 3.4.0 - Platform: Colab - Python version: 3.8 - PyTorch version (GPU?): - Tensorflow version (GPU?): - U...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10367/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10366/comments
https://api.github.com/repos/huggingface/transformers/issues/10366/events
https://github.com/huggingface/transformers/issues/10366
815,176,328
MDU6SXNzdWU4MTUxNzYzMjg=
10,366
can't allocate memory error with wav2vec2
{ "login": "kleekaai", "id": 48985855, "node_id": "MDQ6VXNlcjQ4OTg1ODU1", "avatar_url": "https://avatars.githubusercontent.com/u/48985855?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kleekaai", "html_url": "https://github.com/kleekaai", "followers_url": "https://api.github.com/users/kle...
[]
closed
false
null
[]
[ "Hi! You seem to be passing all of the file at once to the model. This can be extremely expensive from a memory point of view, as the number of samples (and therefore your batch size) can be very big.\r\n\r\nI would advocate for you to do a custom batching here, by only passing some of the values in yout `input_val...
1,614
1,619
1,619
NONE
null
I am trying out the wav2vec2 model for ASR from the huggingface library. Here, I am passing a 7 min(~15 MB file) long wav file having a conversation(english) to the wav2vec2 model. I am getting "can't allocate memory" error. I found that the model uses all 64 GB of the available RAM. Can anyone help with this. - `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10365/comments
https://api.github.com/repos/huggingface/transformers/issues/10365/events
https://github.com/huggingface/transformers/issues/10365
815,122,205
MDU6SXNzdWU4MTUxMjIyMDU=
10,365
Knowledge Retrieval missing from BlenderBot Implementation
{ "login": "applyinnovations", "id": 77219112, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc3MjE5MTEy", "avatar_url": "https://avatars.githubusercontent.com/u/77219112?v=4", "gravatar_id": "", "url": "https://api.github.com/users/applyinnovations", "html_url": "https://github.com/applyinnovations", "followers_url...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[]
1,614
1,614
null
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> The original Blenderbot [paper](https://arxiv.org/pdf/2004.13637.pdf) considered three transformer based models (Retrieval, Generator and RetNRef), however f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10365/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/10364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10364/comments
https://api.github.com/repos/huggingface/transformers/issues/10364/events
https://github.com/huggingface/transformers/issues/10364
815,032,134
MDU6SXNzdWU4MTUwMzIxMzQ=
10,364
Loading mBART Large 50 MMT (many-to-many) is slow
{ "login": "xhluca", "id": 21180505, "node_id": "MDQ6VXNlcjIxMTgwNTA1", "avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xhluca", "html_url": "https://github.com/xhluca", "followers_url": "https://api.github.com/users/xhluca/fo...
[]
closed
false
null
[]
[ "Related: https://github.com/huggingface/transformers/issues/9205", "Thanks. I'll rerun the benchmarks once patrick makes the changes.", "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\nPlea...
1,614
1,621
1,621
CONTRIBUTOR
null
## Environment info I'm installing the library directly from `master` and running it in a kaggle notebook. <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.4.0.dev0 - Platf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10364/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10363/comments
https://api.github.com/repos/huggingface/transformers/issues/10363/events
https://github.com/huggingface/transformers/pull/10363
815,004,637
MDExOlB1bGxSZXF1ZXN0NTc4OTAzMzUz
10,363
[trainer] move secondary methods into a separate file
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
We are trying to keep `trainer.py` to a manageable size and as of recent it has been getting new helper methods which should remain methods, but aren't really important for understanding how the Trainer works, so we propose to move them into the utils file and then import them using this nifty idea presented at https:/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10363/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10363", "html_url": "https://github.com/huggingface/transformers/pull/10363", "diff_url": "https://github.com/huggingface/transformers/pull/10363.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10363.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10362/comments
https://api.github.com/repos/huggingface/transformers/issues/10362/events
https://github.com/huggingface/transformers/pull/10362
814,827,713
MDExOlB1bGxSZXF1ZXN0NTc4NzUyMTc4
10,362
[Trainer/Deepspeed] handle get_last_lr() before first step()
{ "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
[]
[ "Yes, that's a good idea. I'm just not clear on whether you suggest to make a function just for the deepspeed segment of the branch or wrap up the whole getting lr function?\r\n\r\nPlus, the code needs the `trainer` object, so I'm not sure how to put it in utils. \r\n\r\n\r\nI propose to put it as a separate Traine...
1,614
1,614
1,614
CONTRIBUTOR
null
with deepspeed's fp16 and dynamic loss scale enabled the optimizer/scheduler steps may not run for the first few dozens steps while loss is overflowing, so `get_last_lr` will fail if called during that warm up stage, so this PR tries to catch that special warm situation and handle it by returning a fake LR=0, which is ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10362/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10362", "html_url": "https://github.com/huggingface/transformers/pull/10362", "diff_url": "https://github.com/huggingface/transformers/pull/10362.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10362.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10361/comments
https://api.github.com/repos/huggingface/transformers/issues/10361/events
https://github.com/huggingface/transformers/issues/10361
814,826,760
MDU6SXNzdWU4MTQ4MjY3NjA=
10,361
denoising objective for pretraining
{ "login": "dorooddorood606", "id": 79288051, "node_id": "MDQ6VXNlcjc5Mjg4MDUx", "avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dorooddorood606", "html_url": "https://github.com/dorooddorood606", "followers_url": "https://api...
[]
closed
false
null
[]
[ "@patil-suraj @patrickvonplaten please help. thanks ", "Hey @dorooddorood606,\r\n\r\ncould you please make use of the forum: https://discuss.huggingface.co/ for such questions. Thanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to ...
1,614
1,619
1,619
NONE
null
Hi Denoising objective is used in T5 and BART models, could you please add it in pretraining language models? For now, if you could I appreciate sharing some advice how I can implement it. is there a piece of codes in huggingface I could start from? thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10361/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10360/comments
https://api.github.com/repos/huggingface/transformers/issues/10360/events
https://github.com/huggingface/transformers/issues/10360
814,801,374
MDU6SXNzdWU4MTQ4MDEzNzQ=
10,360
Rag Use Your Knowledge dataset
{ "login": "Blaizzy", "id": 23445657, "node_id": "MDQ6VXNlcjIzNDQ1NjU3", "avatar_url": "https://avatars.githubusercontent.com/u/23445657?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Blaizzy", "html_url": "https://github.com/Blaizzy", "followers_url": "https://api.github.com/users/Blaizz...
[]
closed
false
null
[]
[ "Hi ! It looks like you `embed` functions expects a batch of documents as input.\r\nCan you try to set `batched=True` in your call to `dataset.map` ?", "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 th...
1,614
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: Colab - Python version: 3.7.10 - PyTorch version (CPU): 1.7.0 ### Who can help Models: ra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10360/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10359/comments
https://api.github.com/repos/huggingface/transformers/issues/10359/events
https://github.com/huggingface/transformers/issues/10359
814,796,764
MDU6SXNzdWU4MTQ3OTY3NjQ=
10,359
Security Bug found - looking for contact for responsible disclosure
{ "login": "ethan-carlten", "id": 79542241, "node_id": "MDQ6VXNlcjc5NTQyMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/79542241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethan-carlten", "html_url": "https://github.com/ethan-carlten", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi – can you send an email to `tech at huggingface.co`? Thanks.", "I did send it.", "closing as will handle over email. Thanks!" ]
1,614
1,614
1,614
NONE
null
Hi, I found a security bug on software related to you. Can you please tell me how to contact you for a responsible disclosure? Thanks.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10359/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10358/comments
https://api.github.com/repos/huggingface/transformers/issues/10358/events
https://github.com/huggingface/transformers/issues/10358
814,737,100
MDU6SXNzdWU4MTQ3MzcxMDA=
10,358
BART Summarization : Torchscript Export / Inference Triton Server
{ "login": "anshoomehra", "id": 24396120, "node_id": "MDQ6VXNlcjI0Mzk2MTIw", "avatar_url": "https://avatars.githubusercontent.com/u/24396120?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anshoomehra", "html_url": "https://github.com/anshoomehra", "followers_url": "https://api.github.com/...
[ { "id": 1897896961, "node_id": "MDU6TGFiZWwxODk3ODk2OTYx", "url": "https://api.github.com/repos/huggingface/transformers/labels/Migration", "name": "Migration", "color": "e99695", "default": false, "description": "" } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,683
1,621
NONE
null
# 📚 Migration @sshleifer maybe you can help ?? (thanks for all your work bud!) ## Information **Objective** : Performance gain, clocking 1-1.5 sec per transaction at the moment, target : under 100 ms. It seems exporting model via TorchScript & running on Triton Server may be plausible solution. I am export...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10358/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10357/comments
https://api.github.com/repos/huggingface/transformers/issues/10357/events
https://github.com/huggingface/transformers/pull/10357
814,701,451
MDExOlB1bGxSZXF1ZXN0NTc4NjQ2Mzg1
10,357
tokenization_marian.py: use current_spm for decoding
{ "login": "Mehrad0711", "id": 28717374, "node_id": "MDQ6VXNlcjI4NzE3Mzc0", "avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mehrad0711", "html_url": "https://github.com/Mehrad0711", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @patil-suraj! \r\nThanks for your review. As you suggested, I started updating the code and docs where `decode` or `batch_decode` is used.\r\nDoing so, I noticed RAG model also has the same issue: in `decode` and `batch_decode`, `generator` is used instead of `current_tokenizer`. Do you want me to also update t...
1,614
1,615
1,615
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/10357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10357/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10357", "html_url": "https://github.com/huggingface/transformers/pull/10357", "diff_url": "https://github.com/huggingface/transformers/pull/10357.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10357.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10356/comments
https://api.github.com/repos/huggingface/transformers/issues/10356/events
https://github.com/huggingface/transformers/issues/10356
814,656,314
MDU6SXNzdWU4MTQ2NTYzMTQ=
10,356
Fine-tuning bart-base on XSum and got 34.0 as ROUGE1 (40.61 with higher lr)
{ "login": "XinnuoXu", "id": 5082188, "node_id": "MDQ6VXNlcjUwODIxODg=", "avatar_url": "https://avatars.githubusercontent.com/u/5082188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XinnuoXu", "html_url": "https://github.com/XinnuoXu", "followers_url": "https://api.github.com/users/Xinnu...
[]
closed
false
null
[]
[ "Just an update, I increased lr and got ROUGE-F(1/2/l): 40.61/17.48/32.62", "Maybe @patrickvonplaten or @patil-suraj have an idea", "Hi @XinnuoXu \r\n\r\nThat model was trained a while ago, and there were some bugs in BART related to `decoder_start_token_id` at that time, see https://discuss.huggingface.co/t/ba...
1,614
1,620
1,620
NONE
null
Hi, I'm wondering whether there are any benchmarks for fine-turning bart-base on XSum. I found this one [https://huggingface.co/VictorSanh/bart-base-finetuned-xsum/tree/main](url) which also shows the R1 is 35 -ish. Does it suppose to be this low?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10356/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10355/comments
https://api.github.com/repos/huggingface/transformers/issues/10355/events
https://github.com/huggingface/transformers/issues/10355
814,646,561
MDU6SXNzdWU4MTQ2NDY1NjE=
10,355
ProphetNet Positional Embeddings Index Issue
{ "login": "ManavR123", "id": 17506262, "node_id": "MDQ6VXNlcjE3NTA2MjYy", "avatar_url": "https://avatars.githubusercontent.com/u/17506262?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ManavR123", "html_url": "https://github.com/ManavR123", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,614
1,622
1,622
CONTRIBUTOR
null
I am having an issue finetuning a ProphetNet model for question generation. The current error I am running into is an indexing issue when getting the `position_embeddings, position_ids`. In the below line of code, we call the `ProphetNetPositionalEmbeddings` module to get the embeddings https://github.com/huggingfac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10355/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10354/comments
https://api.github.com/repos/huggingface/transformers/issues/10354/events
https://github.com/huggingface/transformers/pull/10354
814,629,849
MDExOlB1bGxSZXF1ZXN0NTc4NTg3NTAz
10,354
Add support for ZeRO-2/3 and ZeRO-offload in fairscale
{ "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
[]
[ "> Other values supported are: `zero2`, `zero2_offload`, `zero3` and `zero3_offload`. To fully take advantage of the `zero3`/`zero3_offload` the model passed to the `Trainer` will need to have its internal layers wrapped inside the `FullyShardedDataParallel`, but this out of scope for this particular PR.\r\n\r\nDo ...
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? This PR adds support for the new `FullyShardedDataParallel` introduced in fairscale. See [this PR](https://github.com/facebookresearch/fairscale/pull/413) for more details. The PR changes a tiny bit the behavior of the `--sharded_ddp` flag/training argument to support a list of options. Yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10354/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10354", "html_url": "https://github.com/huggingface/transformers/pull/10354", "diff_url": "https://github.com/huggingface/transformers/pull/10354.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10354.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10353/comments
https://api.github.com/repos/huggingface/transformers/issues/10353/events
https://github.com/huggingface/transformers/pull/10353
814,591,506
MDExOlB1bGxSZXF1ZXN0NTc4NTU1Njg0
10,353
[bert-base-german-cased] use model repo, not external bucket
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
MEMBER
null
References: #10306
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10353", "html_url": "https://github.com/huggingface/transformers/pull/10353", "diff_url": "https://github.com/huggingface/transformers/pull/10353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10351/comments
https://api.github.com/repos/huggingface/transformers/issues/10351/events
https://github.com/huggingface/transformers/issues/10351
814,511,016
MDU6SXNzdWU4MTQ1MTEwMTY=
10,351
Can every line in the input CSV file contain more than one sentence when pertraining BERT for MLM Loss?
{ "login": "abhisheksgumadi", "id": 1021734, "node_id": "MDQ6VXNlcjEwMjE3MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1021734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhisheksgumadi", "html_url": "https://github.com/abhisheksgumadi", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? You'll get more answers over there, as questions like these are the point of the forum :)\r\n\r\nThanks!" ]
1,614
1,614
1,614
NONE
null
Hello HF Team, I am familiar with how to pretrain BERT and I have a Dataloader that reads an input CSV file line by line and every time it reads a line, it tokenizes it and sends back the tokens for training to the training code. My question is whether is it ok for this input CSV file to contain more than one sent...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10351/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10350/comments
https://api.github.com/repos/huggingface/transformers/issues/10350/events
https://github.com/huggingface/transformers/issues/10350
814,475,652
MDU6SXNzdWU4MTQ0NzU2NTI=
10,350
Got "RuntimeError: CUDA error: device-side assert triggered" with Seq2SeqTrainer
{ "login": "ithieund", "id": 4217195, "node_id": "MDQ6VXNlcjQyMTcxOTU=", "avatar_url": "https://avatars.githubusercontent.com/u/4217195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ithieund", "html_url": "https://github.com/ithieund", "followers_url": "https://api.github.com/users/ithie...
[]
closed
false
null
[]
[ "Hi there. Could you please post the code you are using? The steps you are defining are too vague for us to efficiently reproduce the issue and help.", "Hi @sgugger \r\nIt was my fault when I update the max_encoder_length and re-run on the updated blocks.\r\nThe issue will not happen when I restart the kernel on ...
1,614
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.3.2 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cu101 (True) - Tensorflow version (GPU?): 2.4.1 (True) - Using GPU in script?: YES - Using distributed or parallel set-up in script?: NO ### W...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10350/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10349/comments
https://api.github.com/repos/huggingface/transformers/issues/10349/events
https://github.com/huggingface/transformers/issues/10349
814,434,106
MDU6SXNzdWU4MTQ0MzQxMDY=
10,349
Padding of bbox input in LayoutLM
{ "login": "valentinkoe", "id": 8581199, "node_id": "MDQ6VXNlcjg1ODExOTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8581199?v=4", "gravatar_id": "", "url": "https://api.github.com/users/valentinkoe", "html_url": "https://github.com/valentinkoe", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hi! This is a fair request, indeed. The `bbox` values should definitely be padded/truncated by the tokenizer.\r\n\r\nI think here we would welcome a PR adding this functionality for the LayoutLM tokenizer, and then think of a way to upstream it to be handled by the tokenizer directly, for LayoutLM but also for any...
1,614
1,620
1,620
CONTRIBUTOR
null
I've been working with LayoutLM and had some issues with different lengths of samples in a batch. ``` ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length. ``` It turns out that `transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10349/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10348/comments
https://api.github.com/repos/huggingface/transformers/issues/10348/events
https://github.com/huggingface/transformers/issues/10348
814,424,293
MDU6SXNzdWU4MTQ0MjQyOTM=
10,348
BertForMaskedLM cannot be initialized from BERT checkpoints
{ "login": "DavidNemeskey", "id": 690386, "node_id": "MDQ6VXNlcjY5MDM4Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/690386?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DavidNemeskey", "html_url": "https://github.com/DavidNemeskey", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "Note that the way to load TF weights in a PyTorhc model while using the hub is just to do:\r\n```\r\nmodel = BertForMaskedLM.from_pretrained(\"SZTAKI-HLT/hubert-base-cc\", from_tf=True)\r\n```\r\nIt does look like this model has some weights missing (I still get a warning but with a few less weights than you) but ...
1,614
1,614
1,614
CONTRIBUTOR
null
When I try to load a BERT model from a TF checkpoint (via `transformers-cli convert`) into a `BertForMaskedLM`, I get the following warning: ``` Some weights of BertForMaskedLM were not initialized from the model checkpoint at `SZTAKI-HLT/hubert-base-cc` and are newly initialized: ['cls.predictions.bias', 'cls.predi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10348/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10347/comments
https://api.github.com/repos/huggingface/transformers/issues/10347/events
https://github.com/huggingface/transformers/issues/10347
814,405,254
MDU6SXNzdWU4MTQ0MDUyNTQ=
10,347
[Benchmark]
{ "login": "IsaacZachary", "id": 66381599, "node_id": "MDQ6VXNlcjY2MzgxNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/66381599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IsaacZachary", "html_url": "https://github.com/IsaacZachary", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
NONE
null
# 🖥 Benchmarking `transformers` ## Benchmark Which part of `transformers` did you benchmark? ## Set-up What did you run your benchmarks on? Please include details, such as: CPU, GPU? If using multiple GPUs, which parallelization did you use? ## Results Put your results here!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10347/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10346/comments
https://api.github.com/repos/huggingface/transformers/issues/10346/events
https://github.com/huggingface/transformers/issues/10346
814,403,227
MDU6SXNzdWU4MTQ0MDMyMjc=
10,346
Custom tokenizer with run_mlm script
{ "login": "shampp", "id": 55344772, "node_id": "MDQ6VXNlcjU1MzQ0Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/55344772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shampp", "html_url": "https://github.com/shampp", "followers_url": "https://api.github.com/users/shampp/fo...
[]
closed
false
null
[]
[ "Hi! The issue here is that the `AutoTokenizer` has no idea what is the type of your tokenizer: it's looking for the `model_type` specified in the `config.json`, but it seems it cannot find it.\r\n\r\nCould you show us the results of `ls ../Data/tokenizer/`, and if the file `config.json` is in it, could you show us...
1,614
1,625
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.2 - Platform: Linux-5.9.16-1-MANJARO-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10346/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10345/comments
https://api.github.com/repos/huggingface/transformers/issues/10345/events
https://github.com/huggingface/transformers/issues/10345
814,371,963
MDU6SXNzdWU4MTQzNzE5NjM=
10,345
MarianMT - ONNX only accepts fixed input despite setting dynamic axes
{ "login": "10-zin", "id": 33179372, "node_id": "MDQ6VXNlcjMzMTc5Mzcy", "avatar_url": "https://avatars.githubusercontent.com/u/33179372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/10-zin", "html_url": "https://github.com/10-zin", "followers_url": "https://api.github.com/users/10-zin/fo...
[]
closed
false
null
[]
[ "pinging @mfuntowicz, our `onnx` expert.", "Any lead on the solution? @mfuntowicz, @patrickvonplaten, @patil-suraj ", "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...
1,614
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.1.0 - Platform: Linux-5.8.0-43-generic-x86_64-with-glibc2.29 (Ubuntu 20.04.2) - Python version: 3.8.3 - Py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10345/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10344/comments
https://api.github.com/repos/huggingface/transformers/issues/10344/events
https://github.com/huggingface/transformers/pull/10344
814,351,512
MDExOlB1bGxSZXF1ZXN0NTc4MzUzNDc5
10,344
Fix broken examples/seq2seq/README.md markdown
{ "login": "Wikidepia", "id": 72781956, "node_id": "MDQ6VXNlcjcyNzgxOTU2", "avatar_url": "https://avatars.githubusercontent.com/u/72781956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wikidepia", "html_url": "https://github.com/Wikidepia", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? This PR fix broken markdown in examples/seq2seq/README.md <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10344/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10344", "html_url": "https://github.com/huggingface/transformers/pull/10344", "diff_url": "https://github.com/huggingface/transformers/pull/10344.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10344.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10343/comments
https://api.github.com/repos/huggingface/transformers/issues/10343/events
https://github.com/huggingface/transformers/issues/10343
814,164,977
MDU6SXNzdWU4MTQxNjQ5Nzc=
10,343
Where can we find the `RAG` implementation?
{ "login": "g-jing", "id": 44223191, "node_id": "MDQ6VXNlcjQ0MjIzMTkx", "avatar_url": "https://avatars.githubusercontent.com/u/44223191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/g-jing", "html_url": "https://github.com/g-jing", "followers_url": "https://api.github.com/users/g-jing/fo...
[]
closed
false
null
[]
[ "The implementation can be found [here](https://github.com/huggingface/transformers/tree/master/src/transformers/models/rag).", "@NielsRogge Thanks! That's it." ]
1,614
1,614
1,614
NONE
null
I noticed that `transformers` included the implementation for `DPR`. But for `RAG`, I only find a [demo](https://huggingface.co/rag/). Is there a source code for `RAG`? Or do you know where is Facebook's source code for `RAG`? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10342/comments
https://api.github.com/repos/huggingface/transformers/issues/10342/events
https://github.com/huggingface/transformers/issues/10342
814,162,350
MDU6SXNzdWU4MTQxNjIzNTA=
10,342
DialoGPT tokenizer config issue
{ "login": "ayubSubhaniya", "id": 20911334, "node_id": "MDQ6VXNlcjIwOTExMzM0", "avatar_url": "https://avatars.githubusercontent.com/u/20911334?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayubSubhaniya", "html_url": "https://github.com/ayubSubhaniya", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi! This change may have originated from the move to the git-based repos. @patrickvonplaten and I have just modified the DialoGPT tokenizer configuration to have 1024 as model max length, you shouldn't have to do anything but re-run your script to see it updated.", "@LysandreJik Don't hesitate to reference the u...
1,614
1,614
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.2 - Platform: Darwin-19.3.0-x86_64-i386-64bit - Python version: 3.6.5 - PyTorch version (GPU?): 1.6.0 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can help M...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10341/comments
https://api.github.com/repos/huggingface/transformers/issues/10341/events
https://github.com/huggingface/transformers/issues/10341
814,113,801
MDU6SXNzdWU4MTQxMTM4MDE=
10,341
Translate English into Japanese using mbart
{ "login": "DUT-Tjy", "id": 57056813, "node_id": "MDQ6VXNlcjU3MDU2ODEz", "avatar_url": "https://avatars.githubusercontent.com/u/57056813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DUT-Tjy", "html_url": "https://github.com/DUT-Tjy", "followers_url": "https://api.github.com/users/DUT-Tj...
[]
closed
false
null
[]
[ "Hi @DUT-Tjy \r\n\r\n`facebook/mbart-large-cc25` is not fine-tuned for translation, it's a pretrained model, which should be fine-tuned if you want to use it for translation. You could use the `mbart-large-50-one-to-many-mmt` or `mbart-large-50-many-to-many-mmt` model for `en-ja` translation, these are fine-tuned m...
1,614
1,622
1,619
NONE
null
Transformers version: 4.4.0.dev0 Hello, I am trying to translate English into Japanese(en-ja). I confirm that there is no error in my target content and source content. However, when I try to translate, the result of predict is always English. What should I do? I only changed config.json as shown below: "task_spec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10340/comments
https://api.github.com/repos/huggingface/transformers/issues/10340/events
https://github.com/huggingface/transformers/issues/10340
814,015,617
MDU6SXNzdWU4MTQwMTU2MTc=
10,340
tokenizer.Tokenizer compatibility with Inference API or Auto* classes
{ "login": "gstranger", "id": 36181416, "node_id": "MDQ6VXNlcjM2MTgxNDE2", "avatar_url": "https://avatars.githubusercontent.com/u/36181416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gstranger", "html_url": "https://github.com/gstranger", "followers_url": "https://api.github.com/users/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[]
1,614
1,614
null
NONE
null
# 🚀 Feature request Make tokenizers created with the tokenizers library compatible with the Inference API or Auto classes ## Motivation I have trained a model on a specific domain by modeling a sequence generation problem as a language modeling problem to predict the next token in the set. The tokenizer associa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10340/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/10339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10339/comments
https://api.github.com/repos/huggingface/transformers/issues/10339/events
https://github.com/huggingface/transformers/issues/10339
813,922,912
MDU6SXNzdWU4MTM5MjI5MTI=
10,339
Problem with GPT2/DistilGPT2 prediction - dimension mismatch
{ "login": "ioana-blue", "id": 17202292, "node_id": "MDQ6VXNlcjE3MjAyMjky", "avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ioana-blue", "html_url": "https://github.com/ioana-blue", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Maybe @sgugger has seen that error previously?", "Yes, and it has been fixed... but only in the more recent versions of Transformers.", "Excellent, thank you guys, I'll work on upgrading tomorrow.", "If it can help you, we have a [migration guide from versions v3 to v4](https://huggingface.co/transformers/mi...
1,614
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4.0 - Platform: Linux-4.18.0-193.el8.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10339/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10338/comments
https://api.github.com/repos/huggingface/transformers/issues/10338/events
https://github.com/huggingface/transformers/pull/10338
813,868,908
MDExOlB1bGxSZXF1ZXN0NTc3OTQzOTEx
10,338
Fix evaluation with label smoothing in Trainer
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,614
1,614
1,614
COLLABORATOR
null
# What does this PR do? There was a bug in Trainer when using label smoothing: the `compute_loss` function pops the labels out of the inputs so they couldn't be gathered. This PR fixes that. Fixes #10309
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10338/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/10338/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10338", "html_url": "https://github.com/huggingface/transformers/pull/10338", "diff_url": "https://github.com/huggingface/transformers/pull/10338.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10338.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10337/comments
https://api.github.com/repos/huggingface/transformers/issues/10337/events
https://github.com/huggingface/transformers/issues/10337
813,868,378
MDU6SXNzdWU4MTM4NjgzNzg=
10,337
[trainer] port metrics logging and saving methods to all example scripts
{ "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": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 2155169140, "node_id": "MDU6TGF...
closed
false
null
[]
[ "Can I work on this issue?", "Yes, please and thank you!", "Hi @stas00,\r\nSometimes it is saving it as txt file instead of a JSON file like the below code\r\n```python\r\noutput_train_file = os.path.join(training_args.output_dir, \"train_results.txt\")\r\nif trainer.is_world_process_zero():\r\n with open(ou...
1,614
1,614
1,614
CONTRIBUTOR
null
In an effort to make the examples easier to read, in https://github.com/huggingface/transformers/pull/10266 we added new trainer methods: * `trainer.log_metrics` - to perform consistent formatting for logged metrics * `trainer.save_metrics` - to save the metrics into a corresponding json file. and deployed them ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10337/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10336/comments
https://api.github.com/repos/huggingface/transformers/issues/10336/events
https://github.com/huggingface/transformers/issues/10336
813,781,072
MDU6SXNzdWU4MTM3ODEwNzI=
10,336
[Benchmark] Converting a QA distilbert model to onnx - the f1 score plummet
{ "login": "pievalentin", "id": 14977219, "node_id": "MDQ6VXNlcjE0OTc3MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/14977219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pievalentin", "html_url": "https://github.com/pievalentin", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "After further investigating, I found this useful repo: https://github.com/airKlizz/benchmark-for-transformers\r\nWorking on adding squad to this" ]
1,614
1,614
1,614
NONE
null
# 🖥 Benchmarking onnx QA `transformers` ## Issue Poor benchmark result (squadv2) of converted onnx QA model using run_squad_onnx benchmark. ## Context As part of my day job, my goal is to convert our QA model to onnx to make them available in production in Java. My teammate generated a distilbert model t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10336/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10335/comments
https://api.github.com/repos/huggingface/transformers/issues/10335/events
https://github.com/huggingface/transformers/issues/10335
813,773,781
MDU6SXNzdWU4MTM3NzM3ODE=
10,335
Return cross-attention weights in generation function
{ "login": "Mehrad0711", "id": 28717374, "node_id": "MDQ6VXNlcjI4NzE3Mzc0", "avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mehrad0711", "html_url": "https://github.com/Mehrad0711", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hi @patrickvonplaten!\r\nPlease let me know what you think about the feature. I can send a PR for it once you confirm.", "Yes, this would be a nice addition indeed :-)", "Happy to help you in your PR!" ]
1,614
1,614
1,614
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> With v4.2.0 release, generation can now return encoder and decoder self-attention weights but it still doesn't return cross-attention weights. These weights ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10335/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/10334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10334/comments
https://api.github.com/repos/huggingface/transformers/issues/10334/events
https://github.com/huggingface/transformers/pull/10334
813,618,259
MDExOlB1bGxSZXF1ZXN0NTc3NzM2OTg4
10,334
Loading from last checkpoint functionality in Trainer.train
{ "login": "tanmay17061", "id": 32801726, "node_id": "MDQ6VXNlcjMyODAxNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/32801726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tanmay17061", "html_url": "https://github.com/tanmay17061", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Raised changes. 1 reply to your review comment. \r\nDo let me know if any other change required. \r\n\r\nThanks.", "Thanks a lot for your contribution!" ]
1,614
1,614
1,614
CONTRIBUTOR
null
Enhance resume_from_checkpoint argument of Trainer.train to accept bool type. If True given, last saved checkpoint in self.args.output_dir will be loaded. (#10280) # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10334/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10334", "html_url": "https://github.com/huggingface/transformers/pull/10334", "diff_url": "https://github.com/huggingface/transformers/pull/10334.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10334.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/10333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/10333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/10333/comments
https://api.github.com/repos/huggingface/transformers/issues/10333/events
https://github.com/huggingface/transformers/pull/10333
813,582,263
MDExOlB1bGxSZXF1ZXN0NTc3NzA2ODAz
10,333
Clean TF ConvBert
{ "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
[]
[ "I don't understand this PR, I disagree with your proposal of adding keyword names when they're not required and don't help readability.\r\n\r\nMentioned here https://github.com/huggingface/transformers/pull/9788#discussion_r564365003 and here https://github.com/huggingface/transformers/pull/9788#discussion_r564373...
1,614
1,614
1,614
CONTRIBUTOR
null
# What does this PR do? This PR aims to clean TF ConvBert by adding explicit keyword arguments, typing and update the documentation in the model implementation to make it easier to understand and read.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/10333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/10333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/10333", "html_url": "https://github.com/huggingface/transformers/pull/10333", "diff_url": "https://github.com/huggingface/transformers/pull/10333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/10333.patch", "merged_at...