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/7121
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7121/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7121/comments
https://api.github.com/repos/huggingface/transformers/issues/7121/events
https://github.com/huggingface/transformers/pull/7121
701,197,363
MDExOlB1bGxSZXF1ZXN0NDg2Njk1NDcx
7,121
[blk] backtranslation script
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,600
1,601
1,601
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7121/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7121/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7121", "html_url": "https://github.com/huggingface/transformers/pull/7121", "diff_url": "https://github.com/huggingface/transformers/pull/7121.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7121.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7120
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7120/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7120/comments
https://api.github.com/repos/huggingface/transformers/issues/7120/events
https://github.com/huggingface/transformers/issues/7120
701,171,438
MDU6SXNzdWU3MDExNzE0Mzg=
7,120
modeling_xlnet.py:283: UserWarning: Mixed memory format inputs detected while calling the operator.
{ "login": "fhamborg", "id": 18700166, "node_id": "MDQ6VXNlcjE4NzAwMTY2", "avatar_url": "https://avatars.githubusercontent.com/u/18700166?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fhamborg", "html_url": "https://github.com/fhamborg", "followers_url": "https://api.github.com/users/fha...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey! I haven't been able to reproduce this with what you've given, maybe it is linked to your 'token_type_ids' ? I don't really have enough info on what you're trying to do with only this line. In any case:\r\n\r\n - The warning text seems innocuous.\r\n - I don't see this line in the current (master) codebase, so...
1,600
1,608
1,608
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.0.2 - Platform: Windows-10-10.0.19041-SP0 - Python version: 3.7.7 - PyTorch version (GPU?): 1.6.0 (Tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7120/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7120/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7119
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7119/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7119/comments
https://api.github.com/repos/huggingface/transformers/issues/7119/events
https://github.com/huggingface/transformers/pull/7119
701,142,340
MDExOlB1bGxSZXF1ZXN0NDg2NjQ5NTk0
7,119
Fix reproducible tests 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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7119?src=pr&el=h1) Report\n> Merging [#7119](https://codecov.io/gh/huggingface/transformers/pull/7119?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5636cbb25d248b61bb9027d026dddcd6d1599b0b?el=desc) will **decrease...
1,600
1,600
1,600
COLLABORATOR
null
This fixes the tests that were using hardcoded values for reproducible training by testing instead the training yields the same result as one run with the same seed during setup. As a result, it can also run in a multigpu-environment (which is why I removed the decorator). I also fixed the batch size to count the nu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7119/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7119/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7119", "html_url": "https://github.com/huggingface/transformers/pull/7119", "diff_url": "https://github.com/huggingface/transformers/pull/7119.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7119.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7118
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7118/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7118/comments
https://api.github.com/repos/huggingface/transformers/issues/7118/events
https://github.com/huggingface/transformers/pull/7118
701,018,050
MDExOlB1bGxSZXF1ZXN0NDg2NTQ1MjQx
7,118
Temporarily skip failing tests due to dependency change
{ "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
[]
[ "@julien-c wrote that test\r\nhttps://github.com/huggingface/transformers/pull/3800/files#diff-d524f2b47fd9e3af8aea82b9fac55079R88-R90\r\nso it's probably a good idea to ping him instead, as I'm unfamiliar, yet, with that part of `transformers`." ]
1,600
1,600
1,600
MEMBER
null
cc @sgugger @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7118/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7118", "html_url": "https://github.com/huggingface/transformers/pull/7118", "diff_url": "https://github.com/huggingface/transformers/pull/7118.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7118.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7117
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7117/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7117/comments
https://api.github.com/repos/huggingface/transformers/issues/7117/events
https://github.com/huggingface/transformers/issues/7117
700,983,454
MDU6SXNzdWU3MDA5ODM0NTQ=
7,117
Feature request: State the goals and none goals of the library in the README
{ "login": "talolard", "id": 5352830, "node_id": "MDQ6VXNlcjUzNTI4MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/5352830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/talolard", "html_url": "https://github.com/talolard", "followers_url": "https://api.github.com/users/talol...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "That's a good idea! The closest document we have to this right now is our [philosophy](https://huggingface.co/transformers/philosophy.html), have you checked it out?", "No, I just saw it now. \r\nIt in fact has exactly what I would have wanted to find. Particularly the sentence\r\n> As a consequence, this librar...
1,600
1,606
1,606
NONE
null
# πŸš€ Feature request I'd like the library's README to say what it's goals and none goals are. For example, as a (new) user I really like [Typescripts non-goals](https://github.com/microsoft/TypeScript/wiki/TypeScript-Design-Goals) because it made it clear what to expect from Typescript and thus how to best use it. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7117/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7117/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7116
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7116/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7116/comments
https://api.github.com/repos/huggingface/transformers/issues/7116/events
https://github.com/huggingface/transformers/pull/7116
700,958,861
MDExOlB1bGxSZXF1ZXN0NDg2NDk1MzY1
7,116
fix link to paper
{ "login": "btel", "id": 41565, "node_id": "MDQ6VXNlcjQxNTY1", "avatar_url": "https://avatars.githubusercontent.com/u/41565?v=4", "gravatar_id": "", "url": "https://api.github.com/users/btel", "html_url": "https://github.com/btel", "followers_url": "https://api.github.com/users/btel/followers", "follo...
[]
closed
false
null
[]
[]
1,600
1,600
1,600
CONTRIBUTOR
null
change to url of the cited paper (the previous one linked to a different paper)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7116/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7116/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7116", "html_url": "https://github.com/huggingface/transformers/pull/7116", "diff_url": "https://github.com/huggingface/transformers/pull/7116.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7116.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7115
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7115/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7115/comments
https://api.github.com/repos/huggingface/transformers/issues/7115/events
https://github.com/huggingface/transformers/issues/7115
700,944,470
MDU6SXNzdWU3MDA5NDQ0NzA=
7,115
can i self-define the decoder when i user EncoderDecoderModel?
{ "login": "lonelydancer", "id": 548443, "node_id": "MDQ6VXNlcjU0ODQ0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/548443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lonelydancer", "html_url": "https://github.com/lonelydancer", "followers_url": "https://api.github.com/u...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @lonelydancer, \r\n\r\nyou can define which decoder you want to use. It can be either a pretrained model or a randomly initialized model. The model just has to be part of `AutoModelForCausalLM` to be loaded into the EncoderDecoderModel. If you give me some more details on your use-case I can probably help you ...
1,600
1,607
1,607
NONE
null
# ❓ Questions & Help In my task, i have to define a decoder by myself, because the vocabulary is Chinese words. But it seems the class method do not support that, i have to init the decoder from the pretrained model. <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7115/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7115/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7114
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7114/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7114/comments
https://api.github.com/repos/huggingface/transformers/issues/7114/events
https://github.com/huggingface/transformers/issues/7114
700,869,582
MDU6SXNzdWU3MDA4Njk1ODI=
7,114
How to return the word embeddings and how to understand the hidden_states in return?
{ "login": "island99", "id": 18048381, "node_id": "MDQ6VXNlcjE4MDQ4Mzgx", "avatar_url": "https://avatars.githubusercontent.com/u/18048381?v=4", "gravatar_id": "", "url": "https://api.github.com/users/island99", "html_url": "https://github.com/island99", "followers_url": "https://api.github.com/users/isl...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Well if you want the embeddings of words with their context, your best bet is to take the entire output of the model. If you take only the word embeddings, these are contextless. \r\n\r\nYou should take the model with no head, i.e., the base model: `BertModel`, `GPT2Model`, etc. output to get this value.", "This...
1,600
1,606
1,606
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7114/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7113/comments
https://api.github.com/repos/huggingface/transformers/issues/7113/events
https://github.com/huggingface/transformers/issues/7113
700,808,780
MDU6SXNzdWU3MDA4MDg3ODA=
7,113
Generate coherent text with T5
{ "login": "parthplc", "id": 35425925, "node_id": "MDQ6VXNlcjM1NDI1OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/35425925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parthplc", "html_url": "https://github.com/parthplc", "followers_url": "https://api.github.com/users/par...
[]
closed
false
null
[]
[ "@parthplc Did you find an answer to this question?", "@jsrozner yeah, I was able to finetune t5 for text generation.", "> @jsrozner yeah, I was able to finetune t5 for text generation.\r\n\r\nIs your work publicly visible anywhere? (colab or a repository) I was looking for some examples to adapt to my use case...
1,600
1,602
1,600
NONE
null
Can we use T5 to generate coherent text given an input line like in case of GPT-2? If yes how do we fine-tune T5 for such a task?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7113/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7112
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7112/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7112/comments
https://api.github.com/repos/huggingface/transformers/issues/7112/events
https://github.com/huggingface/transformers/issues/7112
700,731,019
MDU6SXNzdWU3MDA3MzEwMTk=
7,112
prepare for the label for EncoderDecoderModel
{ "login": "lonelydancer", "id": 548443, "node_id": "MDQ6VXNlcjU0ODQ0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/548443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lonelydancer", "html_url": "https://github.com/lonelydancer", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "In BertLMHeadModel ,\r\nshift the label\r\n*prediction_scores = prediction_scores[:, :-1, :].contiguous()\r\n*labels = labels[:, 1:].contiguous()" ]
1,600
1,600
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7112/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7112/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7111
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7111/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7111/comments
https://api.github.com/repos/huggingface/transformers/issues/7111/events
https://github.com/huggingface/transformers/issues/7111
700,728,197
MDU6SXNzdWU3MDA3MjgxOTc=
7,111
MBART/Marian for low resource/backtranslation
{ "login": "tuhinjubcse", "id": 3104771, "node_id": "MDQ6VXNlcjMxMDQ3NzE=", "avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tuhinjubcse", "html_url": "https://github.com/tuhinjubcse", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Nope, use Helsinki-NLP!", "LMK if you have trouble finding your language.", "**Swahili / Uzbek / Telugu / Gujrati** any of them will do. Also, I just need to do back-translation, do u have a code snippet to do translation using Helsinki-NLP", "```python\r\nmname = 'Helsinki-NLP/opus-mt-en-sw'\r\nsrc_text = ...
1,600
1,600
1,600
NONE
null
Are there any finetuned checkpoints of mBART on any low resource language release by hugging face. I can see English- Romanian but was wondering if there is a way to access other languages. Did facebook release them actually? @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7111/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7111/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7110
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7110/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7110/comments
https://api.github.com/repos/huggingface/transformers/issues/7110/events
https://github.com/huggingface/transformers/pull/7110
700,723,859
MDExOlB1bGxSZXF1ZXN0NDg2Mjk3OTgy
7,110
[s2s] distributed eval cleanup
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "Failure is spurious, merging." ]
1,600
1,600
1,600
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7110/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7110/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7110", "html_url": "https://github.com/huggingface/transformers/pull/7110", "diff_url": "https://github.com/huggingface/transformers/pull/7110.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7110.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7109
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7109/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7109/comments
https://api.github.com/repos/huggingface/transformers/issues/7109/events
https://github.com/huggingface/transformers/pull/7109
700,707,215
MDExOlB1bGxSZXF1ZXN0NDg2Mjg1MDk0
7,109
[s2s run_eval] new features
{ "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
[]
[ "After signature discussion is complete, lets add some test coverage.\r\nCan copy/modify [`test_run_eval`](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/test_seq2seq_examples.py#L287)", "> * Important that we can `utils.json_load` the dumped files.\r\n\r\nDo you see a reason why it ...
1,600
1,600
1,600
CONTRIBUTOR
null
this PR adds several features to `run_eval.py` and adds a new script `run_eval_search.py` * adding 2 new args: ``` --dump-args print the custom hparams with the results --info [INFO] use in conjunction w/ --dump-args to print with the results whatever other info you'd like, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7109/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/7109/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7109", "html_url": "https://github.com/huggingface/transformers/pull/7109", "diff_url": "https://github.com/huggingface/transformers/pull/7109.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7109.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7108
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7108/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7108/comments
https://api.github.com/repos/huggingface/transformers/issues/7108/events
https://github.com/huggingface/transformers/pull/7108
700,686,552
MDExOlB1bGxSZXF1ZXN0NDg2MjY5MjY4
7,108
[QOL] add signature for prepare_seq2seq_batch
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "Didn't know docstring inheritance worked like that. Very cool!", "Docstring looks great to me, thanks for adding!", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7108?src=pr&el=h1) Report\n> Merging [#7108](https://codecov.io/gh/huggingface/transformers/pull/7108?src=pr&el=desc) into [master...
1,600
1,600
1,600
CONTRIBUTOR
null
This pr adds the signature, but no implementation of `prepare_seq2seq_batch` to `PretrainedTokenizer` to allow IDE autocompletion when `AutoTokenizer` is used. + The signature is quite large and it is nice to see what needs to be supplied. + The signature is enforced by the unittests, so it won't be misleading. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7108/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7108", "html_url": "https://github.com/huggingface/transformers/pull/7108", "diff_url": "https://github.com/huggingface/transformers/pull/7108.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7108.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7107
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7107/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7107/comments
https://api.github.com/repos/huggingface/transformers/issues/7107/events
https://github.com/huggingface/transformers/pull/7107
700,684,706
MDExOlB1bGxSZXF1ZXN0NDg2MjY3Nzc2
7,107
Update xsum length penalty to better values
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,600
1,600
1,600
CONTRIBUTOR
null
+ Improves ROUGE by 0.4 pts. + Already reflected on S3, so this is just a unittest fix.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7107/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7107/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7107", "html_url": "https://github.com/huggingface/transformers/pull/7107", "diff_url": "https://github.com/huggingface/transformers/pull/7107.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7107.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7106
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7106/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7106/comments
https://api.github.com/repos/huggingface/transformers/issues/7106/events
https://github.com/huggingface/transformers/issues/7106
700,650,900
MDU6SXNzdWU3MDA2NTA5MDA=
7,106
One command to run+aggregate distributed evaluation results
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@stas00 let me know if this interests you, no pressure", "Yes, please. Especially since I asked for it ;)", "Cleaned up a bit [here](https://github.com/huggingface/transformers/pull/7110)\r\nIt is super fast!\r\n\r\nThis is the current workflow though :(\r\n\r\n```\r\npython -m torch.distributed.launch --nproc...
1,600
1,600
1,600
CONTRIBUTOR
null
### Current Situation In https://github.com/huggingface/transformers/pull/7105, I wrote a three command combo to run distributed eval. The three commands are: ``` python -m torch.distributed.launch --nproc_per_node=2 run_distributed_eval.py --fp16 --bs 16 python aggregate_distributed_results.py tmp_gen tmp_gen2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7106/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7106/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7105
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7105/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7105/comments
https://api.github.com/repos/huggingface/transformers/issues/7105/events
https://github.com/huggingface/transformers/pull/7105
700,632,215
MDExOlB1bGxSZXF1ZXN0NDg2MjI4Njk1
7,105
[s2s] two stage run_distributed_eval.py
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,600
1,600
1,600
CONTRIBUTOR
null
```bash python -m torch.distributed.launch --nproc_per_node=2 run_distributed_eval.py --fp16 --bs 16 python cleanup_distributed.py tmp_gen tmp_gen2 ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7105/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7105/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7105", "html_url": "https://github.com/huggingface/transformers/pull/7105", "diff_url": "https://github.com/huggingface/transformers/pull/7105.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7105.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7104
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7104/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7104/comments
https://api.github.com/repos/huggingface/transformers/issues/7104/events
https://github.com/huggingface/transformers/pull/7104
700,631,655
MDExOlB1bGxSZXF1ZXN0NDg2MjI4MjU4
7,104
[s2s distill] allow pegasus-12-12
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,600
1,600
1,600
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7104/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7104", "html_url": "https://github.com/huggingface/transformers/pull/7104", "diff_url": "https://github.com/huggingface/transformers/pull/7104.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7104.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7103
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7103/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7103/comments
https://api.github.com/repos/huggingface/transformers/issues/7103/events
https://github.com/huggingface/transformers/issues/7103
700,607,949
MDU6SXNzdWU3MDA2MDc5NDk=
7,103
ValueError: Wrong shape for input_ids (shape torch.Size([18])) or attention_mask (shape torch.Size([18]))
{ "login": "youssefavx", "id": 56129524, "node_id": "MDQ6VXNlcjU2MTI5NTI0", "avatar_url": "https://avatars.githubusercontent.com/u/56129524?v=4", "gravatar_id": "", "url": "https://api.github.com/users/youssefavx", "html_url": "https://github.com/youssefavx", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I had the same error, I had it downgraded `pip install transformers==3.0.2` in order to work.", "My problem was not that I needed to downgrade but the fact that I needed new functionality from the newest transformers to work while also working with the features of simalign. I solved this bug here: https://github...
1,600
1,600
1,600
NONE
null
## Environment info - `transformers` version: 3.1.0 - Platform: Darwin-18.0.0-x86_64-i386-64bit - Python version: 3.7.2 - PyTorch version (GPU?): 1.5.1 (False) - Tensorflow version (GPU?): 2.2.0 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No (Running on Macbook Pro Ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7103/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/7103/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7102
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7102/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7102/comments
https://api.github.com/repos/huggingface/transformers/issues/7102/events
https://github.com/huggingface/transformers/issues/7102
700,570,237
MDU6SXNzdWU3MDA1NzAyMzc=
7,102
Longformer inference time
{ "login": "cmdllx", "id": 50104519, "node_id": "MDQ6VXNlcjUwMTA0NTE5", "avatar_url": "https://avatars.githubusercontent.com/u/50104519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cmdllx", "html_url": "https://github.com/cmdllx", "followers_url": "https://api.github.com/users/cmdllx/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "hi @cmdllx , I don't think longformer will be necessarily faster than bert-base-cased. The goal of longformer is to make memory complexity of attention layer liner w.r.t to seq length instead of quadratic, so it saves memory, not compute. More the seq-length , more will be inference time.", "This issue has been...
1,600
1,606
1,606
NONE
null
The longformer-base-4096 model should be faster than bert-base-cased ,However I find that the former one takes more time to inference
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7102/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7101
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7101/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7101/comments
https://api.github.com/repos/huggingface/transformers/issues/7101/events
https://github.com/huggingface/transformers/pull/7101
700,503,762
MDExOlB1bGxSZXF1ZXN0NDg2MTMzNzIw
7,101
[docs] add testing documentation
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7101?src=pr&el=h1) Report\n> Merging [#7101](https://codecov.io/gh/huggingface/transformers/pull/7101?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90cde2e938638e64a8696a12b79ee5f52364b162?el=desc) will **increase...
1,599
1,600
1,600
CONTRIBUTOR
null
This PR adds the initial version of the testing doc. * This is partially based on the work I did for [fastai last year](https://fastai1.fast.ai/dev/test.html), but rewritten to match the `transformers` environment. It's full of useful tips and tools for running tests. it's very useful for those who do a lot of testi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7101/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7101/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7101", "html_url": "https://github.com/huggingface/transformers/pull/7101", "diff_url": "https://github.com/huggingface/transformers/pull/7101.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7101.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7100
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7100/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7100/comments
https://api.github.com/repos/huggingface/transformers/issues/7100/events
https://github.com/huggingface/transformers/pull/7100
700,496,293
MDExOlB1bGxSZXF1ZXN0NDg2MTI3NDI5
7,100
[logging] remove no longer needed verbosity override
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7100?src=pr&el=h1) Report\n> Merging [#7100](https://codecov.io/gh/huggingface/transformers/pull/7100?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90cde2e938638e64a8696a12b79ee5f52364b162?el=desc) will **decrease...
1,599
1,600
1,600
CONTRIBUTOR
null
As the project's verbosity level is now at `logging.WARN` this PR removes the now redundant code. p.s. another change probably is needed to switch from `logging.getLogger()` to the new API ``` grep -Ir getLogger tests examples | wc -l 56 ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7100/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7100", "html_url": "https://github.com/huggingface/transformers/pull/7100", "diff_url": "https://github.com/huggingface/transformers/pull/7100.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7100.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7099
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7099/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7099/comments
https://api.github.com/repos/huggingface/transformers/issues/7099/events
https://github.com/huggingface/transformers/pull/7099
700,433,534
MDExOlB1bGxSZXF1ZXN0NDg2MDczMTg3
7,099
[examples testing] restore code
{ "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
[]
[ "Sorry, @stas00 I didn't notice that.", "All is good, it was easy to miss, @Joel-hanson. " ]
1,599
1,600
1,600
CONTRIBUTOR
null
For some reason https://github.com/huggingface/transformers/pull/5512 re-added temp dir creation code that was removed by https://github.com/huggingface/transformers/pull/6494 in the process undoing what the latter PR did those tests, leading to the temp dir created twice in a row. I see now that it was an older PR...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7099/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7099", "html_url": "https://github.com/huggingface/transformers/pull/7099", "diff_url": "https://github.com/huggingface/transformers/pull/7099.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7099.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7098
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7098/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7098/comments
https://api.github.com/repos/huggingface/transformers/issues/7098/events
https://github.com/huggingface/transformers/issues/7098
700,431,402
MDU6SXNzdWU3MDA0MzE0MDI=
7,098
broken pypi scipy package that affects tests under `examples`
{ "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 solution is above, so closing this - as it was a FYI post if someone else runs into this." ]
1,599
1,599
1,599
CONTRIBUTOR
null
In case someone runs into this: ``` PYTHONPATH="src" pytest examples/test_examples.py ImportError while importing test module '/mnt/nvme1/code/huggingface/transformers-examples/examples/test_examples.py'. Hint: make sure your test modules/packages have valid Python names. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7098/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7097
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7097/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7097/comments
https://api.github.com/repos/huggingface/transformers/issues/7097/events
https://github.com/huggingface/transformers/pull/7097
700,420,562
MDExOlB1bGxSZXF1ZXN0NDg2MDYxODIw
7,097
Create README.md
{ "login": "tuner007", "id": 46425391, "node_id": "MDQ6VXNlcjQ2NDI1Mzkx", "avatar_url": "https://avatars.githubusercontent.com/u/46425391?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tuner007", "html_url": "https://github.com/tuner007", "followers_url": "https://api.github.com/users/tun...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,599
1,600
1,600
CONTRIBUTOR
null
Model card for PEGASUS model finetuned for paraphrasing task <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7097/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7097/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7097", "html_url": "https://github.com/huggingface/transformers/pull/7097", "diff_url": "https://github.com/huggingface/transformers/pull/7097.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7097.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7096
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7096/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7096/comments
https://api.github.com/repos/huggingface/transformers/issues/7096/events
https://github.com/huggingface/transformers/pull/7096
700,419,652
MDExOlB1bGxSZXF1ZXN0NDg2MDYxMDE2
7,096
Trying to speed up lost speed of tokenizer.encode
{ "login": "LSinev", "id": 12072891, "node_id": "MDQ6VXNlcjEyMDcyODkx", "avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LSinev", "html_url": "https://github.com/LSinev", "followers_url": "https://api.github.com/users/LSinev/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7096?src=pr&el=h1) Report\n> Merging [#7096](https://codecov.io/gh/huggingface/transformers/pull/7096?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/26d5475d4b6644528956df3020dbaa436b443706?el=desc) will **increase...
1,599
1,619
1,614
CONTRIBUTOR
null
Fixes #6962 (at least tries to fix) @mfuntowicz
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7096/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7096/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7096", "html_url": "https://github.com/huggingface/transformers/pull/7096", "diff_url": "https://github.com/huggingface/transformers/pull/7096.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7096.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7095
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7095/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7095/comments
https://api.github.com/repos/huggingface/transformers/issues/7095/events
https://github.com/huggingface/transformers/pull/7095
700,377,935
MDExOlB1bGxSZXF1ZXN0NDg2MDI1NDAx
7,095
Create README.md
{ "login": "tuner007", "id": 46425391, "node_id": "MDQ6VXNlcjQ2NDI1Mzkx", "avatar_url": "https://avatars.githubusercontent.com/u/46425391?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tuner007", "html_url": "https://github.com/tuner007", "followers_url": "https://api.github.com/users/tun...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7095?src=pr&el=h1) Report\n> Merging [#7095](https://codecov.io/gh/huggingface/transformers/pull/7095?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b76cb1c3dfc64d1dcaddc3d6d9313dddeb626d05?el=desc) will **decrease...
1,599
1,600
1,600
CONTRIBUTOR
null
Create model card for Pegasus QA <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7095/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7095", "html_url": "https://github.com/huggingface/transformers/pull/7095", "diff_url": "https://github.com/huggingface/transformers/pull/7095.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7095.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7094
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7094/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7094/comments
https://api.github.com/repos/huggingface/transformers/issues/7094/events
https://github.com/huggingface/transformers/pull/7094
700,370,214
MDExOlB1bGxSZXF1ZXN0NDg2MDE4NzUx
7,094
fix bug in pegasus converter
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,599
1,600
1,600
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Reported https://discuss.huggingface.co/t/pegasus-questions/838/14 The bug was that I was passing `**cfg_updates` instead of `**cfg_kwargs`. Then I did some extra cleanup to make the code refer to bart less.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7094/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7094/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7094", "html_url": "https://github.com/huggingface/transformers/pull/7094", "diff_url": "https://github.com/huggingface/transformers/pull/7094.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7094.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7093
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7093/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7093/comments
https://api.github.com/repos/huggingface/transformers/issues/7093/events
https://github.com/huggingface/transformers/pull/7093
700,334,040
MDExOlB1bGxSZXF1ZXN0NDg1OTg3MTMw
7,093
Update convert_pegasus_tf_to_pytorch.py
{ "login": "tuner007", "id": 46425391, "node_id": "MDQ6VXNlcjQ2NDI1Mzkx", "avatar_url": "https://avatars.githubusercontent.com/u/46425391?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tuner007", "html_url": "https://github.com/tuner007", "followers_url": "https://api.github.com/users/tun...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7093?src=pr&el=h1) Report\n> Merging [#7093](https://codecov.io/gh/huggingface/transformers/pull/7093?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b76cb1c3dfc64d1dcaddc3d6d9313dddeb626d05?el=desc) will **decrease...
1,599
1,599
1,599
CONTRIBUTOR
null
Instead of full config we were only sending updated config dict. β€œsshleifer/pegasus” to β€œgoogle/pegasus-aeslc” in Tokenizer <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7093/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7093/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7093", "html_url": "https://github.com/huggingface/transformers/pull/7093", "diff_url": "https://github.com/huggingface/transformers/pull/7093.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7093.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7092
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7092/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7092/comments
https://api.github.com/repos/huggingface/transformers/issues/7092/events
https://github.com/huggingface/transformers/issues/7092
700,333,578
MDU6SXNzdWU3MDAzMzM1Nzg=
7,092
needing area to put download/convert/eval 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...
[]
closed
false
null
[]
[ "Feel free to PR `examples/seq2seq/scripts/fsmt`, `examples/seq2seq/fsmt_scripts`, or another git repo that you link to from model cards.\r\nI have some bulk marian converters I can check in also.\r\n\r\n", "Thank you for the suggestions, @sshleifer.\r\n\r\nFor eval scripts I can see some place under `examples`, ...
1,599
1,600
1,600
CONTRIBUTOR
null
# πŸš€ Feature request Would it be useful to allocate a sub-dir in the source code for conversion/eval bash scripts? Some of them are quite complex including a bunch of downloads, moving files around, etc. It'd be good to have those in the repo, so that it'd be easy to re-build data if there was a change/mistake/etc. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7092/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7092/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7091
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7091/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7091/comments
https://api.github.com/repos/huggingface/transformers/issues/7091/events
https://github.com/huggingface/transformers/issues/7091
700,302,508
MDU6SXNzdWU3MDAzMDI1MDg=
7,091
is config argument necessary for XXModel.from_pretrained method? And when is needed?
{ "login": "xixiaoyao", "id": 24541791, "node_id": "MDQ6VXNlcjI0NTQxNzkx", "avatar_url": "https://avatars.githubusercontent.com/u/24541791?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xixiaoyao", "html_url": "https://github.com/xixiaoyao", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @xixiaoyao \r\nThe `config` argument is not required for `from_pretrained`, when `config` is not passed it loads the saved config from the model dir. However, it's necessary to pass `config` when you wan't to override some config value, like setting `gradient_checkpointing` to `True`. Here's how you can overri...
1,599
1,606
1,606
NONE
null
# ❓ Questions & Help I find the model can be loaded with `XXModel.from_pretrained` function even if no `config` argument is given. But if the `config` is given, the argument `gradient_checkpointing` cannot be enabled. I wonder why the config argument can lead to the unable of `gradient_checkpointing`??? I test t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7091/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7091/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7090
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7090/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7090/comments
https://api.github.com/repos/huggingface/transformers/issues/7090/events
https://github.com/huggingface/transformers/issues/7090
700,289,841
MDU6SXNzdWU3MDAyODk4NDE=
7,090
TypeError: __init__() got an unexpected keyword argument 'gradient_checkpointing'
{ "login": "xixiaoyao", "id": 24541791, "node_id": "MDQ6VXNlcjI0NTQxNzkx", "avatar_url": "https://avatars.githubusercontent.com/u/24541791?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xixiaoyao", "html_url": "https://github.com/xixiaoyao", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @xixiaoyao,\r\n\r\nSorry I cannot reproduce the error. Both when running `run_squad.py` and this snippet (which is essentially the same as in `run_squad.py`):\r\n\r\n```python\r\nfrom transformers import AutoModelForQuestionAnswering\r\nmodel = AutoModelForQuestionAnswering.from_pretrained(\"allenai/longformer...
1,599
1,606
1,606
NONE
null
## Environment info - `transformers` version: 3.1.0 - Platform: Linux-3.10.0_3-0-0-17-x86_64-with-debian-buster-sid - Python version: 3.7.7 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7090/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7090/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7089
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7089/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7089/comments
https://api.github.com/repos/huggingface/transformers/issues/7089/events
https://github.com/huggingface/transformers/pull/7089
700,282,012
MDExOlB1bGxSZXF1ZXN0NDg1OTQyNjgz
7,089
German electra model card v3 update
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,599
1,600
1,600
CONTRIBUTOR
null
Model Card Update
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7089/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7089/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7089", "html_url": "https://github.com/huggingface/transformers/pull/7089", "diff_url": "https://github.com/huggingface/transformers/pull/7089.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7089.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7088
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7088/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7088/comments
https://api.github.com/repos/huggingface/transformers/issues/7088/events
https://github.com/huggingface/transformers/issues/7088
700,227,136
MDU6SXNzdWU3MDAyMjcxMzY=
7,088
train/eval step results log not shown in terminal for tf_trainer.py
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "You are user the wrong logger I think. Transformers now uses a centralized logger so you should go:\r\n```\r\nimport transformers\r\ntransformers.logging.set_verbosity_info()\r\n```\r\nto set the verbosity to the INFO level. Not sure it there is an additional issue in tf_trainer or not.", "> \r\n> \r\n> You are ...
1,599
1,607
1,607
COLLABORATOR
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.4.0-42-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7088/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7088/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7087
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7087/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7087/comments
https://api.github.com/repos/huggingface/transformers/issues/7087/events
https://github.com/huggingface/transformers/pull/7087
700,173,107
MDExOlB1bGxSZXF1ZXN0NDg1ODQ5NTk5
7,087
Transformer-XL: Remove unused parameters
{ "login": "RafaelWO", "id": 38643099, "node_id": "MDQ6VXNlcjM4NjQzMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RafaelWO", "html_url": "https://github.com/RafaelWO", "followers_url": "https://api.github.com/users/Raf...
[]
closed
false
null
[]
[ "As far I can see only the test `tests/test_trainer.py` is failing...", "Hey! We changed the name of `nlp` to `datasets` from Thursday to Friday and I am pretty sure that's what's causing the CI bug, but it was fixed just afterwards. Could you pull the latest changes from master and rebase on your branch so you g...
1,599
1,600
1,600
CONTRIBUTOR
null
Fixes #6943 Since `tgt_len` and `ext_len` is removed, the method `reset_length` was renamed to `reset_memory_length` to be more meaningful. I'm not sure whether a deprecation warning should be included in `TransfoXLConfig`. Maybe someone can make suggestions regarding this.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7087/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7087/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7087", "html_url": "https://github.com/huggingface/transformers/pull/7087", "diff_url": "https://github.com/huggingface/transformers/pull/7087.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7087.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7086
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7086/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7086/comments
https://api.github.com/repos/huggingface/transformers/issues/7086/events
https://github.com/huggingface/transformers/issues/7086
700,138,934
MDU6SXNzdWU3MDAxMzg5MzQ=
7,086
Longformer run error
{ "login": "Yangxiaojun1230", "id": 59246446, "node_id": "MDQ6VXNlcjU5MjQ2NDQ2", "avatar_url": "https://avatars.githubusercontent.com/u/59246446?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yangxiaojun1230", "html_url": "https://github.com/Yangxiaojun1230", "followers_url": "https://api...
[]
closed
false
null
[]
[ "i fixed finally", "> i fixed finally\r\n\r\nWhat was the solution?", "@Yangxiaojun1230 How to fix it? I meet this problem too.", "For my case, the problem is due to the miss correct of the length padding" ]
1,599
1,607
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7086/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7086/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7085
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7085/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7085/comments
https://api.github.com/repos/huggingface/transformers/issues/7085/events
https://github.com/huggingface/transformers/issues/7085
700,092,309
MDU6SXNzdWU3MDAwOTIzMDk=
7,085
Distilbart's summaries start with an empty space?
{ "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...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "I think i figure it out now. in BART, \" The\", \" Republic\" are individual words.", "I'm having a similar issue as @songwanguw where each line of my output summaries start with a blank space when using Distilbart. This does not happen when I use facebook/bart-large-cnn.", "Unfortunately, I don't know any way...
1,599
1,607
1,607
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: 2.11.0 - Platform: linux - Python version: 3.7 - PyTorch version (GPU?): 1.51, gpu - Tensorflow versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7085/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7085/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7084
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7084/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7084/comments
https://api.github.com/repos/huggingface/transformers/issues/7084/events
https://github.com/huggingface/transformers/issues/7084
700,089,400
MDU6SXNzdWU3MDAwODk0MDA=
7,084
How to implement LayoutLM for information extraction
{ "login": "SandyRSK", "id": 49015499, "node_id": "MDQ6VXNlcjQ5MDE1NDk5", "avatar_url": "https://avatars.githubusercontent.com/u/49015499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SandyRSK", "html_url": "https://github.com/SandyRSK", "followers_url": "https://api.github.com/users/San...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", ...
closed
false
null
[]
[ "I think the model's integration is still a work-in-progress @SandyRSK, but will let model author @liminghao1630 chime in if necessary", "Similar help required. I want to use the layoutLM model finetuned on DocBank data. As per my understanding, this will be a token classification task, but any example code will ...
1,599
1,612
1,610
NONE
null
Hi, I am new to nlp Can someone please guide me on How to implement the layoutLM using transformers for information extraction (from images like receipt) from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("microsoft/layoutlm-large-uncased") model = AutoModel.from_pretrain...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7084/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7084/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7083
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7083/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7083/comments
https://api.github.com/repos/huggingface/transformers/issues/7083/events
https://github.com/huggingface/transformers/pull/7083
699,960,602
MDExOlB1bGxSZXF1ZXN0NDg1NjU1ODU3
7,083
SqueezeBERT architecture
{ "login": "forresti", "id": 2020010, "node_id": "MDQ6VXNlcjIwMjAwMTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2020010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forresti", "html_url": "https://github.com/forresti", "followers_url": "https://api.github.com/users/forre...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7083?src=pr&el=h1) Report\n> Merging [#7083](https://codecov.io/gh/huggingface/transformers/pull/7083?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/de4d7b004a24e4bb087eb46d742ea7939bc74644?el=desc) will **increase...
1,599
1,601
1,601
CONTRIBUTOR
null
# Burn-down list: Here an overview of the general workflow: - [x] Add model/configuration/tokenization classes. - [ ] ~~Add conversion scripts.~~ This model was originally developed in PyTorch. - [x] Add tests and a @slow integration test. - [x] Document your model. - [x] Finalize. Let's detail what shoul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7083/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7083/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7083", "html_url": "https://github.com/huggingface/transformers/pull/7083", "diff_url": "https://github.com/huggingface/transformers/pull/7083.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7083.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7082
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7082/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7082/comments
https://api.github.com/repos/huggingface/transformers/issues/7082/events
https://github.com/huggingface/transformers/issues/7082
699,858,141
MDU6SXNzdWU2OTk4NTgxNDE=
7,082
Longformer output_hidden_states=True outputs sequence length=512 for all inputs of different lengths
{ "login": "xuewyang", "id": 32026462, "node_id": "MDQ6VXNlcjMyMDI2NDYy", "avatar_url": "https://avatars.githubusercontent.com/u/32026462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuewyang", "html_url": "https://github.com/xuewyang", "followers_url": "https://api.github.com/users/xue...
[]
closed
false
null
[]
[ "When I use longformer-base-4096, it works well.", "The reason is that `LongformerModel` pads its input to the `window_size` configuration param, which is 512 for `allenai/longformer-large-4096`. Therefore all `hidden_states` are of length 512. We could think about cutting the hidden states to the actual inputt l...
1,599
1,600
1,600
NONE
null
Can someone explain why cc[2][0].shape != dd[2][0].shape? >>> from transformers import LongformerModel, RobertaModel >>> import torch >>> from transformers import RobertaTokenizer >>> tokenizer = RobertaTokenizer.from_pretrained('roberta-base') >>> aa = RobertaModel.from_pretrained('roberta-base', return_dict=Tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7082/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7082/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7081
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7081/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7081/comments
https://api.github.com/repos/huggingface/transformers/issues/7081/events
https://github.com/huggingface/transformers/pull/7081
699,772,799
MDExOlB1bGxSZXF1ZXN0NDg1NDgwOTM3
7,081
Clean up autoclass doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7081?src=pr&el=h1) Report\n> Merging [#7081](https://codecov.io/gh/huggingface/transformers/pull/7081?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ae736163d0d7a3a167ff0df3bf6c824437bbba2a?el=desc) will **increase...
1,599
1,600
1,600
COLLABORATOR
null
Clean up and standardize the documentation of the auto classes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7081/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7081/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7081", "html_url": "https://github.com/huggingface/transformers/pull/7081", "diff_url": "https://github.com/huggingface/transformers/pull/7081.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7081.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7080
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7080/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7080/comments
https://api.github.com/repos/huggingface/transformers/issues/7080/events
https://github.com/huggingface/transformers/issues/7080
699,628,017
MDU6SXNzdWU2OTk2MjgwMTc=
7,080
Importing unittests using python unittest framework
{ "login": "nikhil1008", "id": 7234284, "node_id": "MDQ6VXNlcjcyMzQyODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7234284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nikhil1008", "html_url": "https://github.com/nikhil1008", "followers_url": "https://api.github.com/users...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Does the problem go away if you install the latest stable pytorch 1.6.0, see https://pytorch.org/get-started/locally/?\r\n\r\nAlso the test suite uses `pytest` to run the tests - have you tried using it?\r\n\r\n```\r\npytest tests\r\n```\r\nDo you get the same issue running it this way?\r\n\r\nIs it possible that ...
1,599
1,606
1,606
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.0.2 - Platform: Linux-5.3.0-1034-azure-x86_64-with-debian-buster-sid - Python version: 3.6.9 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7080/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/7080/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7079
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7079/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7079/comments
https://api.github.com/repos/huggingface/transformers/issues/7079/events
https://github.com/huggingface/transformers/pull/7079
699,622,252
MDExOlB1bGxSZXF1ZXN0NDg1MzQ0OTY3
7,079
ignore FutureWarning in tests
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "Yes, I agree with this. Thanks @stas00!" ]
1,599
1,600
1,600
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/pull/7033 we can't deal with transformers' `FutureWarning` in tests, since we have to keep those tests around until they become normal warnings and then the tests will get fixed/adjusted. So currently they just generate noise that can't be acted upon. The o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7079/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7079/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7079", "html_url": "https://github.com/huggingface/transformers/pull/7079", "diff_url": "https://github.com/huggingface/transformers/pull/7079.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7079.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7078
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7078/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7078/comments
https://api.github.com/repos/huggingface/transformers/issues/7078/events
https://github.com/huggingface/transformers/pull/7078
699,593,492
MDExOlB1bGxSZXF1ZXN0NDg1MzE5MTM0
7,078
[T5Tokenizer] remove prefix_tokens
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7078?src=pr&el=h1) Report\n> Merging [#7078](https://codecov.io/gh/huggingface/transformers/pull/7078?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ae736163d0d7a3a167ff0df3bf6c824437bbba2a?el=desc) will **decrease...
1,599
1,599
1,599
MEMBER
null
Fixes #7077 @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7078/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7078/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7078", "html_url": "https://github.com/huggingface/transformers/pull/7078", "diff_url": "https://github.com/huggingface/transformers/pull/7078.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7078.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7077
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7077/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7077/comments
https://api.github.com/repos/huggingface/transformers/issues/7077/events
https://github.com/huggingface/transformers/issues/7077
699,591,347
MDU6SXNzdWU2OTk1OTEzNDc=
7,077
T5Tokenizer shouldn't add pad token as prefix to labels
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,599
1,599
1,599
MEMBER
null
## Information `prepare_seq2seq_batch` method in `T5Tokenizer` now prefixes `pad` token to the `labels`. [here](https://github.com/huggingface/transformers/blob/master/src/transformers/tokenization_t5.py#L362) But in finetune.py [here](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/finetun...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7077/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7077/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7076
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7076/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7076/comments
https://api.github.com/repos/huggingface/transformers/issues/7076/events
https://github.com/huggingface/transformers/issues/7076
699,504,557
MDU6SXNzdWU2OTk1MDQ1NTc=
7,076
some sshleifer/xsum hub models have bart-large-cnn task_specific_params['summarization']
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Done. ", "- [x] pegasus xsum students\r\n- [x] uploaded distilled pegasus\r\n- [x] re-evaluate updated layerdrop model (te: 23.5291: quickly worsens)\r\n- [x] re-evaluate bart-xsum pseudolabel model(s). " ]
1,599
1,600
1,600
CONTRIBUTOR
null
S3 only fix!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7076/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7076/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7075
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7075/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7075/comments
https://api.github.com/repos/huggingface/transformers/issues/7075/events
https://github.com/huggingface/transformers/pull/7075
699,498,232
MDExOlB1bGxSZXF1ZXN0NDg1MjMzMTMz
7,075
[Benchmarks] Change all args to from `no_...` to their positive form
{ "login": "fmcurti", "id": 7762516, "node_id": "MDQ6VXNlcjc3NjI1MTY=", "avatar_url": "https://avatars.githubusercontent.com/u/7762516?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fmcurti", "html_url": "https://github.com/fmcurti", "followers_url": "https://api.github.com/users/fmcurti/...
[]
closed
false
null
[]
[ "Hey @fmcurti - this looks great, thanks a lot for your contribution here!\r\n\r\nIn order to pass the `check_code_quality` test it would be great if you can run `make style` as described in https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md . \r\nAnd it would be important to make the benchmark...
1,599
1,600
1,600
CONTRIBUTOR
null
Fixes #7072 As @stas00 pointed out a while back, there were a bunch of negative args formulations in `benchmarks.py` which are hard to understand and make the code unnecessarly complex. This PR fixes this problem by a) Formulating all args in their positive form b) Improving their docstring c) Making the cod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7075/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/7075/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7075", "html_url": "https://github.com/huggingface/transformers/pull/7075", "diff_url": "https://github.com/huggingface/transformers/pull/7075.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7075.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7074
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7074/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7074/comments
https://api.github.com/repos/huggingface/transformers/issues/7074/events
https://github.com/huggingface/transformers/pull/7074
699,482,225
MDExOlB1bGxSZXF1ZXN0NDg1MjE4OTIx
7,074
Compute loss method
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7074?src=pr&el=h1) Report\n> Merging [#7074](https://codecov.io/gh/huggingface/transformers/pull/7074?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e841b75decf5ec9c8829dc1a3c43426ffa9f6907?el=desc) will **increase...
1,599
1,599
1,599
COLLABORATOR
null
Make it easier to write a custom loss by isolating the loss computation in a separate method. Also document how to write a Trainer using such a custom loss.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7074/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7074/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7074", "html_url": "https://github.com/huggingface/transformers/pull/7074", "diff_url": "https://github.com/huggingface/transformers/pull/7074.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7074.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7073
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7073/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7073/comments
https://api.github.com/repos/huggingface/transformers/issues/7073/events
https://github.com/huggingface/transformers/pull/7073
699,460,899
MDExOlB1bGxSZXF1ZXN0NDg1MTk5ODk0
7,073
Add tests and fix various bugs in ModelOutput
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7073?src=pr&el=h1) Report\n> Merging [#7073](https://codecov.io/gh/huggingface/transformers/pull/7073?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0054a48cdd64e7309184a64b399ab2c58d75d4e5?el=desc) will **decrease...
1,599
1,599
1,599
COLLABORATOR
null
Fix a few bugs in `ModelOutput` and adds tests, mainly: - if there is only one attribute not `None`, it wasn't accessible by key (and recognized inside the dictionary) - if an attribute was set with `model_output.att_name` = ..., the corresponding key in the dictionary was not updated - if an attribute was set with ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7073/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7073/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7073", "html_url": "https://github.com/huggingface/transformers/pull/7073", "diff_url": "https://github.com/huggingface/transformers/pull/7073.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7073.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7072
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7072/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7072/comments
https://api.github.com/repos/huggingface/transformers/issues/7072/events
https://github.com/huggingface/transformers/issues/7072
699,394,141
MDU6SXNzdWU2OTkzOTQxNDE=
7,072
Clean up `benchmark_args_utils.py` "no_..." arguments
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
{ "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...
[ "Hmm I seem to have forgotten to change the references in the tests" ]
1,599
1,600
1,600
MEMBER
null
# πŸš€ Feature request Currently we have a mixture of negative and positive formulated arguments, *e.g.* `no_cuda` and `training` here: https://github.com/huggingface/transformers/blob/0054a48cdd64e7309184a64b399ab2c58d75d4e5/src/transformers/benchmark/benchmark_args_utils.py#L61. We should change all arguments to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7072/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/7072/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7071
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7071/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7071/comments
https://api.github.com/repos/huggingface/transformers/issues/7071/events
https://github.com/huggingface/transformers/pull/7071
699,318,460
MDExOlB1bGxSZXF1ZXN0NDg1MDczMDI2
7,071
added bangla-bert-base model card and also modified other model cards
{ "login": "sagorbrur", "id": 10723655, "node_id": "MDQ6VXNlcjEwNzIzNjU1", "avatar_url": "https://avatars.githubusercontent.com/u/10723655?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sagorbrur", "html_url": "https://github.com/sagorbrur", "followers_url": "https://api.github.com/users/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "This is great, thanks for sharing! \r\n\r\nIn case you have time and want to contribute default sample inputs for Bengali, you can just open a pull request against https://github.com/huggingface/widgets-server/blob/master/DefaultWidget.ts\r\n\r\nYour model page's inference widgets will then display relevant sample...
1,599
1,599
1,599
CONTRIBUTOR
null
Hi, I added model card for bangla-bert-base model and also modified some typo in other model cards also. Please check and if possible please merge. thanks and regards Sagor
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7071/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7071/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7071", "html_url": "https://github.com/huggingface/transformers/pull/7071", "diff_url": "https://github.com/huggingface/transformers/pull/7071.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7071.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7070
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7070/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7070/comments
https://api.github.com/repos/huggingface/transformers/issues/7070/events
https://github.com/huggingface/transformers/issues/7070
699,133,368
MDU6SXNzdWU2OTkxMzMzNjg=
7,070
MobileBERT inconsistent output (padded / not padded text)
{ "login": "sweco", "id": 11132999, "node_id": "MDQ6VXNlcjExMTMyOTk5", "avatar_url": "https://avatars.githubusercontent.com/u/11132999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sweco", "html_url": "https://github.com/sweco", "followers_url": "https://api.github.com/users/sweco/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Just confirming that the issue happens also for the latest `transformers`, PyTorch and Python 3.8.\r\n\r\n- `transformers` version: 3.1.0\r\n- Platform: Linux-5.4.0-47-generic-x86_64-with-glibc2.10\r\n- Python version: 3.8.5\r\n- PyTorch version (GPU?): 1.6.0 (False)\r\n- Tensorflow version (GPU?): not installed (...
1,599
1,606
1,606
NONE
null
## Environment info - `transformers` version: 3.0.2 - Platform: Linux-5.4.0-47-generic-x86_64-with-debian-buster-sid - Python version: 3.7.3 - PyTorch version (GPU?): 1.5.0 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7070/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7070/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7069
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7069/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7069/comments
https://api.github.com/repos/huggingface/transformers/issues/7069/events
https://github.com/huggingface/transformers/issues/7069
699,095,927
MDU6SXNzdWU2OTkwOTU5Mjc=
7,069
How to use hugging on onw embedding
{ "login": "Yangxiaojun1230", "id": 59246446, "node_id": "MDQ6VXNlcjU5MjQ2NDQ2", "avatar_url": "https://avatars.githubusercontent.com/u/59246446?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yangxiaojun1230", "html_url": "https://github.com/Yangxiaojun1230", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hello @Yangxiaojun1230 ,\r\n\r\nFrom your message I assume you are trying to train a Longformer model using embeddings as the input of the model.\r\n\r\nYou can either use input_ids or inputs_embeds in the forward function of the models. I think your idea will work, please let us know if it does.\r\n\r\nYou can lo...
1,599
1,600
1,600
NONE
null
i already get a embedding,or i have a matrix for input. Then I want to use transformer to train on. For example use Longformer,i set input_ids to None,and set the input on parameter embed_input. Could it be OK? anything else need to take care? I also input the mask.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7069/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7068
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7068/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7068/comments
https://api.github.com/repos/huggingface/transformers/issues/7068/events
https://github.com/huggingface/transformers/pull/7068
698,920,656
MDExOlB1bGxSZXF1ZXN0NDg0NzE3MjAw
7,068
[BertGeneration] Clean naming
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7068?src=pr&el=h1) Report\n> Merging [#7068](https://codecov.io/gh/huggingface/transformers/pull/7068?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8fcbe486e1592321e868f872545c8fd9d359a515?el=desc) will **decrease...
1,599
1,599
1,599
MEMBER
null
This PR removes all "old" naming of "bert-for-seq-generation" and "BertForSeqGeneration" repectively.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7068/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7068/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7068", "html_url": "https://github.com/huggingface/transformers/pull/7068", "diff_url": "https://github.com/huggingface/transformers/pull/7068.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7068.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7067
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7067/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7067/comments
https://api.github.com/repos/huggingface/transformers/issues/7067/events
https://github.com/huggingface/transformers/pull/7067
698,914,497
MDExOlB1bGxSZXF1ZXN0NDg0NzExNjcx
7,067
Create model card
{ "login": "liminghao1630", "id": 23090329, "node_id": "MDQ6VXNlcjIzMDkwMzI5", "avatar_url": "https://avatars.githubusercontent.com/u/23090329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liminghao1630", "html_url": "https://github.com/liminghao1630", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7067?src=pr&el=h1) Report\n> Merging [#7067](https://codecov.io/gh/huggingface/transformers/pull/7067?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8fcbe486e1592321e868f872545c8fd9d359a515?el=desc) will **decrease...
1,599
1,599
1,599
CONTRIBUTOR
null
Create model card for microsoft/layoutlm-large-uncased
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7067/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7067/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7067", "html_url": "https://github.com/huggingface/transformers/pull/7067", "diff_url": "https://github.com/huggingface/transformers/pull/7067.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7067.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7066
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7066/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7066/comments
https://api.github.com/repos/huggingface/transformers/issues/7066/events
https://github.com/huggingface/transformers/pull/7066
698,912,443
MDExOlB1bGxSZXF1ZXN0NDg0NzA5ODA1
7,066
Create model card
{ "login": "liminghao1630", "id": 23090329, "node_id": "MDQ6VXNlcjIzMDkwMzI5", "avatar_url": "https://avatars.githubusercontent.com/u/23090329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liminghao1630", "html_url": "https://github.com/liminghao1630", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7066?src=pr&el=h1) Report\n> Merging [#7066](https://codecov.io/gh/huggingface/transformers/pull/7066?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8fcbe486e1592321e868f872545c8fd9d359a515?el=desc) will **decrease...
1,599
1,599
1,599
CONTRIBUTOR
null
Create model card for microsoft/layoutlm-base-uncased
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7066/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7066/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7066", "html_url": "https://github.com/huggingface/transformers/pull/7066", "diff_url": "https://github.com/huggingface/transformers/pull/7066.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7066.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7065
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7065/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7065/comments
https://api.github.com/repos/huggingface/transformers/issues/7065/events
https://github.com/huggingface/transformers/issues/7065
698,879,739
MDU6SXNzdWU2OTg4Nzk3Mzk=
7,065
Further Pretraining of Longformer RAM Consumption
{ "login": "baradl", "id": 42384404, "node_id": "MDQ6VXNlcjQyMzg0NDA0", "avatar_url": "https://avatars.githubusercontent.com/u/42384404?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baradl", "html_url": "https://github.com/baradl", "followers_url": "https://api.github.com/users/baradl/fo...
[]
closed
false
null
[]
[ "Hi, there's been some issues with memory in our recent script versions. It is possible that on kaggle you have the very latest version of the scripts, or a way older version of the scripts where the memory issue didn't exist.\r\n\r\nI recommend you use the latest version of the script, as the memory issue is fixed...
1,599
1,601
1,601
NONE
null
Hello everybody, I'm interested in continued pretraining of the longformer on in-domain text. I'm using the `run_language_modeling.py` script from the examples with the following options. !python run_language_modeling.py \ --output_dir=$output_dir$ \ --model_type=longformer \ --model_name_or_path=a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7065/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7065/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7064
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7064/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7064/comments
https://api.github.com/repos/huggingface/transformers/issues/7064/events
https://github.com/huggingface/transformers/pull/7064
698,788,254
MDExOlB1bGxSZXF1ZXN0NDg0NTk5MjE0
7,064
Add LayoutLM Model
{ "login": "liminghao1630", "id": 23090329, "node_id": "MDQ6VXNlcjIzMDkwMzI5", "avatar_url": "https://avatars.githubusercontent.com/u/23090329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liminghao1630", "html_url": "https://github.com/liminghao1630", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7064?src=pr&el=h1) Report\n> Merging [#7064](https://codecov.io/gh/huggingface/transformers/pull/7064?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7cbf0f722d23440f3342aafc27697b50ead5996b?el=desc) will **decrease...
1,599
1,600
1,600
CONTRIBUTOR
null
# Introduction This pull request implements the LayoutLM model, as defined in [the paper](https://arxiv.org/abs/1912.13318): ``` LayoutLM: Pre-training of Text and Layout for Document Image Understanding Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou, KDD 2020 ``` LayoutLM is a simple but...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7064/reactions", "total_count": 14, "+1": 0, "-1": 0, "laugh": 0, "hooray": 6, "confused": 0, "heart": 5, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7064/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7064", "html_url": "https://github.com/huggingface/transformers/pull/7064", "diff_url": "https://github.com/huggingface/transformers/pull/7064.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7064.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7063
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7063/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7063/comments
https://api.github.com/repos/huggingface/transformers/issues/7063/events
https://github.com/huggingface/transformers/issues/7063
698,733,995
MDU6SXNzdWU2OTg3MzM5OTU=
7,063
EncoderDecoderModel generate function
{ "login": "lonelydancer", "id": 548443, "node_id": "MDQ6VXNlcjU0ODQ0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/548443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lonelydancer", "html_url": "https://github.com/lonelydancer", "followers_url": "https://api.github.com/u...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Hey @lonelydancer ,\r\n\r\nyeah I think I know why you get this error message. I very recently fixed the error message you get. \r\n1) Could you try to pull from master and run your code again? If I am correct you should now get an error message saying: \r\n\r\n```\r\n\"decoder_start_token_id or bos_token_id has t...
1,599
1,600
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7063/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/7063/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7062
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7062/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7062/comments
https://api.github.com/repos/huggingface/transformers/issues/7062/events
https://github.com/huggingface/transformers/issues/7062
698,540,127
MDU6SXNzdWU2OTg1NDAxMjc=
7,062
circleci testing issue
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "This has been fixed in master already, it's due to the change of name of the nlp library to datasets. You will need to install datasets to have the full test suite working.", "Thanks, @sgugger . So in order to make my pull request pass the test online, I have to merge remote master intomy local branch and repush...
1,599
1,599
1,599
COLLABORATOR
null
Sorry, this is not a bug report about `transformers` library. But I don't know what's the best place to ask. While working on a pull request #6998 , after pushing the code, I got ==================================== ERRORS ==================================== ____________________ ERROR collecting...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7062/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7062/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7061
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7061/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7061/comments
https://api.github.com/repos/huggingface/transformers/issues/7061/events
https://github.com/huggingface/transformers/pull/7061
698,517,969
MDExOlB1bGxSZXF1ZXN0NDg0MzUyNDk1
7,061
Automate the lists in auto-xxx docs
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7061?src=pr&el=h1) Report\n> Merging [#7061](https://codecov.io/gh/huggingface/transformers/pull/7061?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0054a48cdd64e7309184a64b399ab2c58d75d4e5?el=desc) will **increase...
1,599
1,599
1,599
COLLABORATOR
null
This PR adds a decorate to automate the creation of the lists in the documentation of `AutoConfig`, `AutoTokenizer`, `AutoModel`. Apart from adding the docstrings of `AutoModelForMultipleChoice` and removing some parts of some class docstrings (because three lists is a bit too much for one class!) this PR does not f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7061/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7061/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7061", "html_url": "https://github.com/huggingface/transformers/pull/7061", "diff_url": "https://github.com/huggingface/transformers/pull/7061.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7061.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7060
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7060/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7060/comments
https://api.github.com/repos/huggingface/transformers/issues/7060/events
https://github.com/huggingface/transformers/issues/7060
698,429,512
MDU6SXNzdWU2OTg0Mjk1MTI=
7,060
mBART 50
{ "login": "Bachstelze", "id": 19904888, "node_id": "MDQ6VXNlcjE5OTA0ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bachstelze", "html_url": "https://github.com/Bachstelze", "followers_url": "https://api.github.com/use...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Thank you for your interest. We are doing a few clean-up and will release them shortly. ", "Waiting for the model too :)\r\n\r\nThanks", "@tangyuq Is the benchmark included in [Beyond English-Centric Multilingual Machine Translation](https://github.com/pytorch/fairseq/tree/master/examples/m2m_100)?", "We'll ...
1,599
1,639
1,613
NONE
null
# mBART 50 ## Additional languages to the mBART 25 model The model is described in [Multilingual Translation with Extensible Multilingual Pretraining and Finetuning](https://arxiv.org/pdf/2008.00401.pdf) ## Open source status * [x] the model implementation is available: [mBART](https://github.com/pytorch/fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7060/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7060/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7059
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7059/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7059/comments
https://api.github.com/repos/huggingface/transformers/issues/7059/events
https://github.com/huggingface/transformers/pull/7059
698,423,878
MDExOlB1bGxSZXF1ZXN0NDg0MjY4MjYy
7,059
these tests require non-multigpu env
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7059?src=pr&el=h1) Report\n> Merging [#7059](https://codecov.io/gh/huggingface/transformers/pull/7059?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/77950c485a6f6bcb4db6501bffbbd0cd96c0cd1a?el=desc) will **increase...
1,599
1,599
1,599
CONTRIBUTOR
null
fix for https://github.com/huggingface/transformers/issues/7055#issuecomment-690648438 Fixes: #7055 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7059/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7059/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7059", "html_url": "https://github.com/huggingface/transformers/pull/7059", "diff_url": "https://github.com/huggingface/transformers/pull/7059.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7059.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7058
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7058/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7058/comments
https://api.github.com/repos/huggingface/transformers/issues/7058/events
https://github.com/huggingface/transformers/pull/7058
698,394,540
MDExOlB1bGxSZXF1ZXN0NDg0MjQyMTg5
7,058
Document the dependcy on datasets
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7058?src=pr&el=h1) Report\n> Merging [#7058](https://codecov.io/gh/huggingface/transformers/pull/7058?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/514486739cc732ad05549d81bd48c0aa9e03a0f3?el=desc) will **increase...
1,599
1,599
1,599
COLLABORATOR
null
We need the latest version of datasets to run the tests (since Trainer uses it). When datasets is more settled and we don't necessarily need to quickly update it, we can change this to a regular dep in "dev" with a minimal version pinned.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7058/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/7058/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7058", "html_url": "https://github.com/huggingface/transformers/pull/7058", "diff_url": "https://github.com/huggingface/transformers/pull/7058.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7058.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7057
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7057/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7057/comments
https://api.github.com/repos/huggingface/transformers/issues/7057/events
https://github.com/huggingface/transformers/pull/7057
698,344,128
MDExOlB1bGxSZXF1ZXN0NDg0MTk3MDIx
7,057
Add option to pass parameters to the loss function.
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "Closed by this answer: https://github.com/huggingface/transformers/issues/7024#issuecomment-691481436" ]
1,599
1,599
1,599
CONTRIBUTOR
null
This PR is by far not finished. In the current state it is just a demo how I would implement it. See #7024 - loss_function_params is a dict that gets passed to the CrossEntropyLoss constructor - that way you can set class_weights for the `CrossEntropyLoss ` for example - this is a very important thing to do when w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7057/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7057/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7057", "html_url": "https://github.com/huggingface/transformers/pull/7057", "diff_url": "https://github.com/huggingface/transformers/pull/7057.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7057.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7056
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7056/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7056/comments
https://api.github.com/repos/huggingface/transformers/issues/7056/events
https://github.com/huggingface/transformers/pull/7056
698,342,187
MDExOlB1bGxSZXF1ZXN0NDg0MTk1MzE3
7,056
[wip/s2s] DistributedSortishSampler
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "Not necessarily the base Trainer, but definitely the `Seq2SeqTrainer` in preparation if you use this sampler often.", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7056?src=pr&el=h1) Report\n> Merging [#7056](https://codecov.io/gh/huggingface/transformers/pull/7056?src=pr&el=desc) into [master...
1,599
1,599
1,599
CONTRIBUTOR
null
This allows sortish sampler logic to work on multiple GPU. The strategy is 1) find the indices that the current rank's data loader should be using (like `DistributedSampler`) 2) reorder those using the `SortishSampler` logic. ### Results The results on a small MT task are similar to the 1 GPU setting. + 2 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7056/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7056/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7056", "html_url": "https://github.com/huggingface/transformers/pull/7056", "diff_url": "https://github.com/huggingface/transformers/pull/7056.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7056.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7055
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7055/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7055/comments
https://api.github.com/repos/huggingface/transformers/issues/7055/events
https://github.com/huggingface/transformers/issues/7055
698,338,101
MDU6SXNzdWU2OTgzMzgxMDE=
7,055
[testing] test_trainer.py is failing
{ "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
[]
[ "So with more look, the issue has to do with multiple GPUs. The problem goes away if I do:\r\n\r\n`CUDA_VISIBLE_DEVICES=\"0\" pytest tests/test_trainer.py`", "> Looks like those tests need a decorator to run on the CPU only.\r\n\r\nThey work with 1 gpu too, but we don't have such a setup to force 1 gpu?\r\n\r\nTh...
1,599
1,599
1,599
CONTRIBUTOR
null
``` pytest tests/test_trainer.py ``` ``` platform linux -- Python 3.7.9, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /mnt/nvme1/code/huggingface/transformers-master plugins: xdist-2.1.0, forked-1.3.0 collected 11 items ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7055/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7055/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7054
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7054/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7054/comments
https://api.github.com/repos/huggingface/transformers/issues/7054/events
https://github.com/huggingface/transformers/pull/7054
698,322,868
MDExOlB1bGxSZXF1ZXN0NDg0MTc3NzU0
7,054
Fix CI with change of name of nlp
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7054?src=pr&el=h1) Report\n> Merging [#7054](https://codecov.io/gh/huggingface/transformers/pull/7054?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6c08b07a087e83915b4b3156bbf464cebc7b9b5?el=desc) will **increase...
1,599
1,599
1,599
COLLABORATOR
null
Fixes #7055 (because yes, I can see the future)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7054/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7054/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7054", "html_url": "https://github.com/huggingface/transformers/pull/7054", "diff_url": "https://github.com/huggingface/transformers/pull/7054.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7054.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7053
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7053/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7053/comments
https://api.github.com/repos/huggingface/transformers/issues/7053/events
https://github.com/huggingface/transformers/pull/7053
698,303,017
MDExOlB1bGxSZXF1ZXN0NDg0MTU5OTg4
7,053
[examples] bump pl=0.9.0
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "cc @patil-suraj @stas00 " ]
1,599
1,602
1,602
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7053/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7053/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7053", "html_url": "https://github.com/huggingface/transformers/pull/7053", "diff_url": "https://github.com/huggingface/transformers/pull/7053.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7053.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7052
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7052/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7052/comments
https://api.github.com/repos/huggingface/transformers/issues/7052/events
https://github.com/huggingface/transformers/issues/7052
698,300,464
MDU6SXNzdWU2OTgzMDA0NjQ=
7,052
TFBert activation layer will be casted into float32 under mixed precision policy
{ "login": "jlei2", "id": 70337521, "node_id": "MDQ6VXNlcjcwMzM3NTIx", "avatar_url": "https://avatars.githubusercontent.com/u/70337521?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jlei2", "html_url": "https://github.com/jlei2", "followers_url": "https://api.github.com/users/jlei2/follow...
[]
closed
false
{ "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", ...
[ { "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...
[ "Hello @jlei2!\r\n\r\nThis issue should be fixed in https://github.com/huggingface/transformers/pull/7022 ", "Gotcha! Thanks!", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "Hi ...
1,599
1,611
1,611
NONE
null
### To reproduce ``` import tensorflow as tf from transformers import TFBertForQuestionAnswering tf.keras.mixed_precision.experimental.set_policy('mixed_float16') model = TFBertForQuestionAnswering.from_pretrained('bert-base-uncased') ``` User will receive warning saying ``` WARNING:tensorflow:Layer activa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7052/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/7052/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7051
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7051/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7051/comments
https://api.github.com/repos/huggingface/transformers/issues/7051/events
https://github.com/huggingface/transformers/issues/7051
698,291,655
MDU6SXNzdWU2OTgyOTE2NTU=
7,051
How to pass tokenized hypotheses to TFRobertaForSequenceClassification model directly for faster inference?
{ "login": "akshatapatel", "id": 2765148, "node_id": "MDQ6VXNlcjI3NjUxNDg=", "avatar_url": "https://avatars.githubusercontent.com/u/2765148?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akshatapatel", "html_url": "https://github.com/akshatapatel", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hello @akshatapatel!\r\n\r\nPinging @joeddav as he is the person who takes care of the zero-shot classification in the lib.\r\n\r\nCan you share with us a piece of code on how you are trying to do your sequence classification?", "Question moved to [the forums](https://discuss.huggingface.co/t/new-pipeline-for-ze...
1,599
1,603
1,603
NONE
null
Hi, I have been running the zero shot classification pipeline for my use case by passing each text and it’s corresponding list of hypotheses labels, however it takes around 3 hours on a 32B GPU to classify ~22000 sentences(each sentence can have a varying number of labels ranging from 70 to 140 labels). Is there a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7051/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7051/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7050
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7050/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7050/comments
https://api.github.com/repos/huggingface/transformers/issues/7050/events
https://github.com/huggingface/transformers/pull/7050
698,104,941
MDExOlB1bGxSZXF1ZXN0NDgzOTgxMzg4
7,050
[BertGeneration, Docs] Fix another old name in 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,599
1,599
1,599
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7050/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7050/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7050", "html_url": "https://github.com/huggingface/transformers/pull/7050", "diff_url": "https://github.com/huggingface/transformers/pull/7050.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7050.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7049
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7049/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7049/comments
https://api.github.com/repos/huggingface/transformers/issues/7049/events
https://github.com/huggingface/transformers/issues/7049
698,101,387
MDU6SXNzdWU2OTgxMDEzODc=
7,049
Convert 12-1 and 6-1 en-de models from AllenNLP
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "I can work on these\r\n\r\nBut first I have a question: who would be a user of these wmt16-based models when there are several wmt19 en-de models (marian+fairseq wmt) which are significantly better with scores at ~41 and 43 respectively, vs 28 in this one. \r\n\r\nwmt19 is a vastly bigger dataset, so it makes sens...
1,599
1,600
1,600
CONTRIBUTOR
null
https://github.com/jungokasai/deep-shallow#download-trained-deep-shallow-models + These should be FSMT models, so can be part of #6940 or done after. + They should be uploaded to the AllenNLP namespace. If stas takes this, they can start in stas/ and I will move them. + model card(s) should link to the original r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7049/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7049/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7048
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7048/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7048/comments
https://api.github.com/repos/huggingface/transformers/issues/7048/events
https://github.com/huggingface/transformers/pull/7048
698,100,485
MDExOlB1bGxSZXF1ZXN0NDgzOTc3NDA4
7,048
[BertGeneration] Correct Doc Title
{ "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,599
1,599
1,599
MEMBER
null
All is in the title.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7048/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7048/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7048", "html_url": "https://github.com/huggingface/transformers/pull/7048", "diff_url": "https://github.com/huggingface/transformers/pull/7048.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7048.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7047
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7047/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7047/comments
https://api.github.com/repos/huggingface/transformers/issues/7047/events
https://github.com/huggingface/transformers/issues/7047
698,090,038
MDU6SXNzdWU2OTgwOTAwMzg=
7,047
T5-11b model parallelism
{ "login": "exelents", "id": 12846582, "node_id": "MDQ6VXNlcjEyODQ2NTgy", "avatar_url": "https://avatars.githubusercontent.com/u/12846582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/exelents", "html_url": "https://github.com/exelents", "followers_url": "https://api.github.com/users/exe...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @exelents, \r\n\r\nyes we are still looking into a good way of doing model parallelism. Could you post the error message you received when using #3578? ", "Here is it\r\n\r\n> -input-22-5591bd8e45c0> in main()\r\n> 143 cache_dir=model_args.cache_dir,\r\n> 144 )\r\n> --> 145 model = model.spread_on_devices(['...
1,599
1,610
1,607
NONE
null
# πŸš€ Feature request I would like to finetune t5-11b model on my dataset, but found that it doesn't fit in TPU or GPU memory - colab notebook just crash when I run it. I tried to find a ready model parallelism solution. First I found this PR: https://github.com/huggingface/transformers/pull/3578 but it seems it h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7047/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7047/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7046
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7046/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7046/comments
https://api.github.com/repos/huggingface/transformers/issues/7046/events
https://github.com/huggingface/transformers/issues/7046
698,084,660
MDU6SXNzdWU2OTgwODQ2NjA=
7,046
Usage of targets argument in fill-mask pipeline (Pipeline cannot handle mixed args and kwargs)
{ "login": "mattjhill", "id": 5299353, "node_id": "MDQ6VXNlcjUyOTkzNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/5299353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mattjhill", "html_url": "https://github.com/mattjhill", "followers_url": "https://api.github.com/users/ma...
[]
closed
false
null
[]
[ "Looks like I was using v3.0.2 and this was introduced in v3.1.0" ]
1,599
1,599
1,599
NONE
null
I'm trying to use the `targets` keyword in the fill mask pipeline as described in #6239 but I'm getting a `ValueError: Pipeline cannot handle mixed args and kwargs` Full example nlp = pipeline('fill-mask', topk=2) nlp("The acting was believable and the action was outstanding. The sentiment of this revie...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7046/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7046/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7045
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7045/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7045/comments
https://api.github.com/repos/huggingface/transformers/issues/7045/events
https://github.com/huggingface/transformers/issues/7045
698,075,503
MDU6SXNzdWU2OTgwNzU1MDM=
7,045
max_length does not seem to work
{ "login": "MarijnQ", "id": 61018583, "node_id": "MDQ6VXNlcjYxMDE4NTgz", "avatar_url": "https://avatars.githubusercontent.com/u/61018583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MarijnQ", "html_url": "https://github.com/MarijnQ", "followers_url": "https://api.github.com/users/Marijn...
[]
closed
false
null
[]
[ "Hey @MarijnQ,\r\n\r\n`max_length` defines the number of maximum output *tokens* (which is usually a bit less than number of words). You can get the number of tokens of a text by doing:\r\n\r\n```python \r\nfrom transformers import T5Tokenizer\r\n\r\ntokenizer = T5Tokenizer.from_pretrained(\"t5-base\")\r\ninput_ids...
1,599
1,599
1,599
NONE
null
So I may have understood the definition wrong, but in my understanding max_length defines the amount of characters you want your summary to be. i.e. max_length=50, the summary is not over 50 characters. I have installed the transformers, work with the summarizer pipeline, which I assume is the bartsummarizer. I try...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7045/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7045/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7044
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7044/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7044/comments
https://api.github.com/repos/huggingface/transformers/issues/7044/events
https://github.com/huggingface/transformers/pull/7044
698,054,518
MDExOlB1bGxSZXF1ZXN0NDgzOTM2NjAw
7,044
Small fixes in tf template
{ "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,599
1,599
1,599
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7044/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7044/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7044", "html_url": "https://github.com/huggingface/transformers/pull/7044", "diff_url": "https://github.com/huggingface/transformers/pull/7044.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7044.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7043
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7043/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7043/comments
https://api.github.com/repos/huggingface/transformers/issues/7043/events
https://github.com/huggingface/transformers/issues/7043
697,974,578
MDU6SXNzdWU2OTc5NzQ1Nzg=
7,043
Batch_encode_plus with is_pretokenized=True outputs incomplete input_ids
{ "login": "ShriyaA", "id": 16235088, "node_id": "MDQ6VXNlcjE2MjM1MDg4", "avatar_url": "https://avatars.githubusercontent.com/u/16235088?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShriyaA", "html_url": "https://github.com/ShriyaA", "followers_url": "https://api.github.com/users/Shriya...
[]
closed
false
null
[]
[ "I ran this example using the v3.1.0 and it seems the issue was resolved in the latest versions:\r\n\r\n```py\r\nfrom transformers import AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained('distilbert-base-cased', use_fast=True)\r\ninput_text = ['Roman Atwood is a content creator.', 'The Boston Celtics ...
1,599
1,601
1,601
NONE
null
## Environment info - `transformers` version: 2.11.0 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.5.1+cu101 (True) - Tensorflow version (GPU?): 2.3.0 (True) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7043/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7043/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7042
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7042/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7042/comments
https://api.github.com/repos/huggingface/transformers/issues/7042/events
https://github.com/huggingface/transformers/issues/7042
697,960,359
MDU6SXNzdWU2OTc5NjAzNTk=
7,042
the time of loading different models to GPU is nearly the same?
{ "login": "cmdllx", "id": 50104519, "node_id": "MDQ6VXNlcjUwMTA0NTE5", "avatar_url": "https://avatars.githubusercontent.com/u/50104519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cmdllx", "html_url": "https://github.com/cmdllx", "followers_url": "https://api.github.com/users/cmdllx/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,599
1,605
1,605
NONE
null
I once used the old script for text-classification,the time of loading different models(mode.to_device) to GPU is different, However, when I run the lastest version of script, I find that loading different models to GPU nearly takes the same time(which is in the process of initing the Trainer) I want to know the reas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7042/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7042/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7041
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7041/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7041/comments
https://api.github.com/repos/huggingface/transformers/issues/7041/events
https://github.com/huggingface/transformers/pull/7041
697,946,045
MDExOlB1bGxSZXF1ZXN0NDgzODM4Njgx
7,041
[wip/token clasification] Introduce datasets and metrics in token classification examples
{ "login": "vblagoje", "id": 458335, "node_id": "MDQ6VXNlcjQ1ODMzNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/458335?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vblagoje", "html_url": "https://github.com/vblagoje", "followers_url": "https://api.github.com/users/vblagoj...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "> Thanks a lot for this PR!\r\n> \r\n> The files `conll2003.py` and `ud_english_ewt.py` should be in the `nlp` package and not here. Can you open a PR there to propose these new datasets please.\r\n\r\nOk no problem. That makes more sense. \r\n> \r\n> In overrall I really like it! Nevertheless, it brings an import...
1,599
1,606
1,606
CONTRIBUTOR
null
This PR further simplifies token classification examples by introducing the use of HF nlp datasets and metrics. In summary, we introduce: - use of GermEval canonical dataset - two additional local datasets: [Conll2003](https://github.com/vblagoje/transformers/blob/b58c6186fd589ea6f4c86e10df5a54aa63516d10/exampl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7041/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/7041/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7041", "html_url": "https://github.com/huggingface/transformers/pull/7041", "diff_url": "https://github.com/huggingface/transformers/pull/7041.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7041.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7040
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7040/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7040/comments
https://api.github.com/repos/huggingface/transformers/issues/7040/events
https://github.com/huggingface/transformers/pull/7040
697,899,496
MDExOlB1bGxSZXF1ZXN0NDgzNzk2MjQ2
7,040
Fix template
{ "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,599
1,599
1,599
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7040/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7040/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7040", "html_url": "https://github.com/huggingface/transformers/pull/7040", "diff_url": "https://github.com/huggingface/transformers/pull/7040.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7040.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7039
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7039/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7039/comments
https://api.github.com/repos/huggingface/transformers/issues/7039/events
https://github.com/huggingface/transformers/pull/7039
697,870,118
MDExOlB1bGxSZXF1ZXN0NDgzNzY5NTUw
7,039
fix to ensure that returned tensors after the tokenization is Long
{ "login": "GeetDsa", "id": 13940397, "node_id": "MDQ6VXNlcjEzOTQwMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/13940397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeetDsa", "html_url": "https://github.com/GeetDsa", "followers_url": "https://api.github.com/users/GeetDs...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7039?src=pr&el=h1) Report\n> Merging [#7039](https://codecov.io/gh/huggingface/transformers/pull/7039?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/762cba3bdaf70104dc17cc7ff0f8ce13ba23d558?el=desc) will **not chan...
1,599
1,599
1,599
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7026
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7039/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7039/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7039", "html_url": "https://github.com/huggingface/transformers/pull/7039", "diff_url": "https://github.com/huggingface/transformers/pull/7039.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7039.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7038
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7038/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7038/comments
https://api.github.com/repos/huggingface/transformers/issues/7038/events
https://github.com/huggingface/transformers/issues/7038
697,832,549
MDU6SXNzdWU2OTc4MzI1NDk=
7,038
Question about the test results of my own testsets with a fine-tuned BERT
{ "login": "Deep1994", "id": 24366782, "node_id": "MDQ6VXNlcjI0MzY2Nzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24366782?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Deep1994", "html_url": "https://github.com/Deep1994", "followers_url": "https://api.github.com/users/Dee...
[]
closed
false
null
[]
[ "I found the cause of the problem. If you want to predict on your own test set, you need to delete the previous \"cached_test_BertTokenizer_128_qqp.lock\" file and \"cached_test_BertTokenizer_128_qqp\" file." ]
1,599
1,599
1,599
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7038/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7038/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7037
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7037/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7037/comments
https://api.github.com/repos/huggingface/transformers/issues/7037/events
https://github.com/huggingface/transformers/pull/7037
697,657,804
MDExOlB1bGxSZXF1ZXN0NDgzNTc1OTQ4
7,037
Update eval dataset to pick start_position at first index
{ "login": "kay-wong", "id": 25245693, "node_id": "MDQ6VXNlcjI1MjQ1Njkz", "avatar_url": "https://avatars.githubusercontent.com/u/25245693?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kay-wong", "html_url": "https://github.com/kay-wong", "followers_url": "https://api.github.com/users/kay...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7037?src=pr&el=h1) Report\n> Merging [#7037](https://codecov.io/gh/huggingface/transformers/pull/7037?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76818cc4c6a1275a23ba261ca337b9f9070c397e?el=desc) will **increase...
1,599
1,599
1,599
NONE
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7032
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7037/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7037/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7037", "html_url": "https://github.com/huggingface/transformers/pull/7037", "diff_url": "https://github.com/huggingface/transformers/pull/7037.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7037.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7036
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7036/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7036/comments
https://api.github.com/repos/huggingface/transformers/issues/7036/events
https://github.com/huggingface/transformers/issues/7036
697,462,951
MDU6SXNzdWU2OTc0NjI5NTE=
7,036
"You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference" when I am finetuning on distilert pretrained model, After printing this it is taking a lot of time and using only one CPU, how can we parallelized to all the cores in the system ( even I hve 8 GPU's but it is...
{ "login": "trkece", "id": 36273175, "node_id": "MDQ6VXNlcjM2MjczMTc1", "avatar_url": "https://avatars.githubusercontent.com/u/36273175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/trkece", "html_url": "https://github.com/trkece", "followers_url": "https://api.github.com/users/trkece/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi, could you fill in the issue template rather than the issue title?", "python ./examples/text-classification/run_glue.py \\\r\n --model_name_or_path ./examples/language-modeling/output/SIA_Ontopof_RISK/DistilBERT/Trained_on_iRisk/ \\\r\n --do_train \\\r\n --do_predict \\\r\n --task_name=mrpc \\\r\...
1,599
1,605
1,605
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7036/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7036/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7035
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7035/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7035/comments
https://api.github.com/repos/huggingface/transformers/issues/7035/events
https://github.com/huggingface/transformers/pull/7035
697,458,607
MDExOlB1bGxSZXF1ZXN0NDgzNDAxMTYw
7,035
add -y to bypass prompt for transformers-cli upload
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7035?src=pr&el=h1) Report\n> Merging [#7035](https://codecov.io/gh/huggingface/transformers/pull/7035?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76818cc4c6a1275a23ba261ca337b9f9070c397e?el=desc) will **decrease...
1,599
1,599
1,599
CONTRIBUTOR
null
As discussed here: https://github.com/huggingface/transformers/issues/6934#issuecomment-687365960 adding `-y`/`--yes` to bypass prompt for scripting. <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #6934
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7035/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7035/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7035", "html_url": "https://github.com/huggingface/transformers/pull/7035", "diff_url": "https://github.com/huggingface/transformers/pull/7035.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7035.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7034
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7034/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7034/comments
https://api.github.com/repos/huggingface/transformers/issues/7034/events
https://github.com/huggingface/transformers/pull/7034
697,379,690
MDExOlB1bGxSZXF1ZXN0NDgzMzI5NTU0
7,034
[xlm tok] config dict: fix str into int to match definition
{ "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,599
1,599
1,599
CONTRIBUTOR
null
match arg doc definition: ``` id2lang (:obj:`Dict[int, str`, `optional`): ``` so replacing str with int. the inverse is correct. <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #6734
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7034/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7034/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7034", "html_url": "https://github.com/huggingface/transformers/pull/7034", "diff_url": "https://github.com/huggingface/transformers/pull/7034.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7034.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7033
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7033/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7033/comments
https://api.github.com/repos/huggingface/transformers/issues/7033/events
https://github.com/huggingface/transformers/pull/7033
697,375,816
MDExOlB1bGxSZXF1ZXN0NDgzMzI2MDk1
7,033
fix deprecation warnings
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7033?src=pr&el=h1) Report\n> Merging [#7033](https://codecov.io/gh/huggingface/transformers/pull/7033?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76818cc4c6a1275a23ba261ca337b9f9070c397e?el=desc) will **increase...
1,599
1,600
1,600
CONTRIBUTOR
null
Fixing: ``` pytest tests/test_tokenization_xlm.py src/transformers/modeling_tf_utils.py:702 /mnt/nvme1/code/huggingface/transformers-xlm/src/transformers/modeling_tf_utils.py:702: DeprecationWarning: invalid escape sequence \s """ src/transformers/modeling_funnel.py:130 /mnt/nvme1/code/huggingfac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7033/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7033/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7033", "html_url": "https://github.com/huggingface/transformers/pull/7033", "diff_url": "https://github.com/huggingface/transformers/pull/7033.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7033.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7032
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7032/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7032/comments
https://api.github.com/repos/huggingface/transformers/issues/7032/events
https://github.com/huggingface/transformers/issues/7032
697,192,530
MDU6SXNzdWU2OTcxOTI1MzA=
7,032
SQuAD: Implement eval in Trainer-backed run_squad_trainer
{ "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-...
[ { "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
{ "login": "ovbondarenko", "id": 43346781, "node_id": "MDQ6VXNlcjQzMzQ2Nzgx", "avatar_url": "https://avatars.githubusercontent.com/u/43346781?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ovbondarenko", "html_url": "https://github.com/ovbondarenko", "followers_url": "https://api.github.c...
[ { "login": "ovbondarenko", "id": 43346781, "node_id": "MDQ6VXNlcjQzMzQ2Nzgx", "avatar_url": "https://avatars.githubusercontent.com/u/43346781?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ovbondarenko", "html_url": "https://github.com/ovbondarenko", "followers_url": "...
[ "Hi Julien, I would like to contribute. Could you assign me to the issue?", "Yes, go for it! @sgugger and I (and others) can help if needed", "Hi there! I missed that there was an already an assignee, but I took a crack at it too.\r\n\r\nI initially tried to pick the most frequent `start_position` β€”however the ...
1,599
1,609
1,609
MEMBER
null
A very good first issue IMO! See https://github.com/huggingface/transformers/pull/4829#issuecomment-645994130 > we should update the eval dataset to pick one start_position (or the most frequent one) Optionally, use the `huggingface/nlp` library to get the eval dataset, and hook it into the Trainer. Also re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7032/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7032/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7031
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7031/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7031/comments
https://api.github.com/repos/huggingface/transformers/issues/7031/events
https://github.com/huggingface/transformers/issues/7031
697,173,785
MDU6SXNzdWU2OTcxNzM3ODU=
7,031
Unable to recreate onnx speedups demonstrated in 04-onnx-export.ipynb on mac or linux
{ "login": "erees1", "id": 53308037, "node_id": "MDQ6VXNlcjUzMzA4MDM3", "avatar_url": "https://avatars.githubusercontent.com/u/53308037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erees1", "html_url": "https://github.com/erees1", "followers_url": "https://api.github.com/users/erees1/fo...
[]
closed
false
null
[]
[ "@erees1,\r\n\r\ntorch.set_num_threads(1) will set OpenMP thread number to 1. That will disable all multiple threading optimizations in ONNX Runtime. \r\n\r\nIt is recommended to set number of threads to align with CPU cores for best performance. If you use ONNX Runtime version >= 1.3, you can try the following in...
1,599
1,600
1,600
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: Mac OS Mojave + Ubuntu 18.04.4 - Python version: 3.7.7 - PyTorch version (GPU?): 1.6....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7031/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7031/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7030
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7030/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7030/comments
https://api.github.com/repos/huggingface/transformers/issues/7030/events
https://github.com/huggingface/transformers/pull/7030
697,147,638
MDExOlB1bGxSZXF1ZXN0NDgzMTI4MDQ4
7,030
[s2s] dynamic batch size with --max_tokens_per_batch
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7030?src=pr&el=h1) Report\n> Merging [#7030](https://codecov.io/gh/huggingface/transformers/pull/7030?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/efeab6a3f1eeaffc2cec350ffce797f209ba38f8?el=desc) will **decrease...
1,599
1,600
1,600
CONTRIBUTOR
null
+ adds test coverage for `SortishSampler`+`DistributedSortishSampler`. + use fancy samplers for validation if specified. + dynamic batch sampler is still experimental. Distributed doesn't work, only slightly faster at the moment, and requires a preprocessing step.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7030/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7030/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7030", "html_url": "https://github.com/huggingface/transformers/pull/7030", "diff_url": "https://github.com/huggingface/transformers/pull/7030.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7030.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7029
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7029/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7029/comments
https://api.github.com/repos/huggingface/transformers/issues/7029/events
https://github.com/huggingface/transformers/pull/7029
697,129,267
MDExOlB1bGxSZXF1ZXN0NDgzMTEyNjcw
7,029
Add TF Funnel Transformer
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7029?src=pr&el=h1) Report\n> Merging [#7029](https://codecov.io/gh/huggingface/transformers/pull/7029?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/15478c1287a4e7b52c01730ffb0718243d153600?el=desc) will **increase...
1,599
1,599
1,599
COLLABORATOR
null
This adds the TF implementation of the model. Will upload the TF checkpoints as the PR goes under review.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7029/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7029/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7029", "html_url": "https://github.com/huggingface/transformers/pull/7029", "diff_url": "https://github.com/huggingface/transformers/pull/7029.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7029.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7028
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7028/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7028/comments
https://api.github.com/repos/huggingface/transformers/issues/7028/events
https://github.com/huggingface/transformers/issues/7028
696,995,904
MDU6SXNzdWU2OTY5OTU5MDQ=
7,028
No way around "Truncation was not explicitely activated..." error when using SingleSentenceClassificationProcessor.
{ "login": "codygunton", "id": 26756572, "node_id": "MDQ6VXNlcjI2NzU2NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/26756572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/codygunton", "html_url": "https://github.com/codygunton", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,599
1,605
1,605
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-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7028/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7028/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7027
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7027/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7027/comments
https://api.github.com/repos/huggingface/transformers/issues/7027/events
https://github.com/huggingface/transformers/issues/7027
696,951,053
MDU6SXNzdWU2OTY5NTEwNTM=
7,027
Getting underling S3 URL
{ "login": "sgummidipundi", "id": 24970664, "node_id": "MDQ6VXNlcjI0OTcwNjY0", "avatar_url": "https://avatars.githubusercontent.com/u/24970664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgummidipundi", "html_url": "https://github.com/sgummidipundi", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "probably @julien-c can help here", "By default the library actually downloads model weights from `cdn.huggingface.co` so you might want to whitelist that domain.\r\n\r\nFor config files, we do download from S3. You can check the urls in the model pages' file lists e.g. https://huggingface.co/bert-base-multilingu...
1,599
1,607
1,607
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7027/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7027/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7026
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7026/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7026/comments
https://api.github.com/repos/huggingface/transformers/issues/7026/events
https://github.com/huggingface/transformers/issues/7026
696,943,434
MDU6SXNzdWU2OTY5NDM0MzQ=
7,026
RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.FloatTensor instead (while checking arguments for embedding)
{ "login": "GeetDsa", "id": 13940397, "node_id": "MDQ6VXNlcjEzOTQwMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/13940397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeetDsa", "html_url": "https://github.com/GeetDsa", "followers_url": "https://api.github.com/users/GeetDs...
[]
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...
[ "@patrickvonplaten , I did find out that the problem arises from `data collator` (`DataCollatorForLanguageModeling`). The returned tensors (tensor of indices to vocab) are not Long, which is creating the problem." ]
1,599
1,599
1,599
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.1.0 - Platform: Linux-4.19.0-10-amd64-x86_64-with-debian-10.5 - Python version: 3.6.10 - PyTorch vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7026/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7026/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7025
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7025/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7025/comments
https://api.github.com/repos/huggingface/transformers/issues/7025/events
https://github.com/huggingface/transformers/issues/7025
696,903,717
MDU6SXNzdWU2OTY5MDM3MTc=
7,025
Python
{ "login": "smithjadhav", "id": 40405066, "node_id": "MDQ6VXNlcjQwNDA1MDY2", "avatar_url": "https://avatars.githubusercontent.com/u/40405066?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smithjadhav", "html_url": "https://github.com/smithjadhav", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @smithjadhav, \r\n\r\nThanks for your issue. Given that the whole library is built on Python, I think it would require too much work for us to change to a different programming language and it would probably be better to just start a new github repo." ]
1,599
1,599
1,599
NONE
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7025/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7025/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7024
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7024/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7024/comments
https://api.github.com/repos/huggingface/transformers/issues/7024/events
https://github.com/huggingface/transformers/issues/7024
696,684,075
MDU6SXNzdWU2OTY2ODQwNzU=
7,024
Adding `class_weights` argument for the loss function of transformers model
{ "login": "nvs-abhilash", "id": 15072945, "node_id": "MDQ6VXNlcjE1MDcyOTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/15072945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nvs-abhilash", "html_url": "https://github.com/nvs-abhilash", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "This would be a cool addition! This would need to be an attribute added to the configuration, similarly to what is done for `num_labels` or other configuration attributes. You can see the implementation in `PretrainedConfig`, [here](https://github.com/huggingface/transformers/blob/master/src/transformers/configura...
1,599
1,648
1,599
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. --> To provide a parameter called `class_weights` while initializing a sequence classification model. The attribute will be used to calculate the weighted loss w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7024/reactions", "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7024/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7023
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7023/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7023/comments
https://api.github.com/repos/huggingface/transformers/issues/7023/events
https://github.com/huggingface/transformers/issues/7023
696,589,395
MDU6SXNzdWU2OTY1ODkzOTU=
7,023
PreTrained (custom) model not correctly initializing when using AutoModel methods
{ "login": "mar-wel", "id": 42975940, "node_id": "MDQ6VXNlcjQyOTc1OTQw", "avatar_url": "https://avatars.githubusercontent.com/u/42975940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mar-wel", "html_url": "https://github.com/mar-wel", "followers_url": "https://api.github.com/users/mar-we...
[]
closed
false
null
[]
[ "Could you set your logging level to `INFO` and show us the results?\r\n\r\nYou can put the following lines above your script:\r\n```py\r\nfrom transformers import logging\r\n\r\nlogging.set_verbosity_info()\r\n```\r\n\r\nIt would really help us debug if you could also put a small script that reproduces the issue, ...
1,599
1,600
1,599
NONE
null
## Environment info - `transformers` version: 3.1.0 - Platform: Windows-10-10.0.18362-SP0 - Python version: 3.8.5 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): 2.3.0 (True) - Using GPU in script?: yes - Using distributed or parallel set-up in script?: ??? ### Who can help @LysandreJik...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7023/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7023/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7022
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7022/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7022/comments
https://api.github.com/repos/huggingface/transformers/issues/7022/events
https://github.com/huggingface/transformers/pull/7022
696,585,735
MDExOlB1bGxSZXF1ZXN0NDgyNjQ4NjUw
7,022
New TF output proposal
{ "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", ...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This proposal works for me. It's better to allow graph mode for the \"standard\" way to do things while keeping backwards compatibility imo. Users that want to leverage hidden states/attentions with graph mode should have no problems in doing a custom architecture that does exactly that. \r\n\r\nHowever, as a user...
1,599
1,686
1,606
CONTRIBUTOR
null
Hello! Currently the TensorFlow have several issues to properly working in graph mode when `output_attentions`, `outout_hidden_states` and `return_dict` takes a boolean tensor (`tf.constant(True/False)`). This is because the graph mode doesn't allows to have an output of different sizes in its conditional branches. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7022/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7022/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7022", "html_url": "https://github.com/huggingface/transformers/pull/7022", "diff_url": "https://github.com/huggingface/transformers/pull/7022.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7022.patch", "merged_at": n...