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/4212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4212/comments | https://api.github.com/repos/huggingface/transformers/issues/4212/events | https://github.com/huggingface/transformers/issues/4212 | 614,220,806 | MDU6SXNzdWU2MTQyMjA4MDY= | 4,212 | GPT2Tokenizer.decode() slow for individual tokens | {
"login": "Damiox",
"id": 599804,
"node_id": "MDQ6VXNlcjU5OTgwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/599804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Damiox",
"html_url": "https://github.com/Damiox",
"followers_url": "https://api.github.com/users/Damiox/follow... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,588 | 1,594 | 1,594 | NONE | null | `GPT2Tokenizer.decode()` is considerable slow when invoking it for each token individually, not for a set of tokens... I need to pass in a set of tokens and get back a set of strings for each token. I tried convert_ids_to_tokens() but I'm getting results with the Ġ character. Should I simply remove that character from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4212/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/4212/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4211/comments | https://api.github.com/repos/huggingface/transformers/issues/4211/events | https://github.com/huggingface/transformers/pull/4211 | 614,204,002 | MDExOlB1bGxSZXF1ZXN0NDE0ODA2MjQ2 | 4,211 | W&B integration improvements | {
"login": "vanpelt",
"id": 17,
"node_id": "MDQ6VXNlcjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/17?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vanpelt",
"html_url": "https://github.com/vanpelt",
"followers_url": "https://api.github.com/users/vanpelt/followers",
"fol... | [] | closed | false | null | [] | [
"^^ I borked your PR unfortunately (💩). Sorry about that. Care to open a new one?"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Hey guys,
I'm one of the founders of W&B and have been working with @borisdayma on the wandb integration. I made a few changes to address a few cases we thought through:
1. If wandb is installed but the user hasn't logged in we now print a warning instead of prompting for an api_key
2. Made messaging more clear... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4211/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4211",
"html_url": "https://github.com/huggingface/transformers/pull/4211",
"diff_url": "https://github.com/huggingface/transformers/pull/4211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4211.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4210/comments | https://api.github.com/repos/huggingface/transformers/issues/4210/events | https://github.com/huggingface/transformers/issues/4210 | 614,202,590 | MDU6SXNzdWU2MTQyMDI1OTA= | 4,210 | Perplexity in T5/BART | {
"login": "Palipoor",
"id": 16380397,
"node_id": "MDQ6VXNlcjE2MzgwMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/16380397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Palipoor",
"html_url": "https://github.com/Palipoor",
"followers_url": "https://api.github.com/users/Pal... | [] | closed | false | null | [] | [
"T5 uses CrossEntropy loss so I think you can use `torch.exp(loss)` to calculate perplexity.",
"Thanks!",
"@patil-suraj Sorry to bother you again, I thought my problem has been solved, but I don't know how to deal with the loss. It's a (1,1,vocab_size) tensor. I don't even have an intuition about what that mean... | 1,588 | 1,609 | 1,588 | NONE | null | Hi,
Is there a way to compute perplexity for T5 or BART outputs? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4210/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4209/comments | https://api.github.com/repos/huggingface/transformers/issues/4209/events | https://github.com/huggingface/transformers/pull/4209 | 614,178,429 | MDExOlB1bGxSZXF1ZXN0NDE0Nzg1MDMz | 4,209 | Fix for IndexError when Roberta Tokenizer is called on empty text | {
"login": "malteos",
"id": 7977470,
"node_id": "MDQ6VXNlcjc5Nzc0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7977470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/malteos",
"html_url": "https://github.com/malteos",
"followers_url": "https://api.github.com/users/malteos/... | [] | closed | false | null | [] | [] | 1,588 | 1,592 | 1,592 | CONTRIBUTOR | null | Check if `text` is set to avoid IndexError
Fix for https://github.com/huggingface/transformers/issues/3809 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4209/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4209",
"html_url": "https://github.com/huggingface/transformers/pull/4209",
"diff_url": "https://github.com/huggingface/transformers/pull/4209.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4209.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4208/comments | https://api.github.com/repos/huggingface/transformers/issues/4208/events | https://github.com/huggingface/transformers/pull/4208 | 614,157,176 | MDExOlB1bGxSZXF1ZXN0NDE0NzY3ODE2 | 4,208 | Remove comma that turns int into tuple | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4208?src=pr&el=h1) Report\n> Merging [#4208](https://codecov.io/gh/huggingface/transformers/pull/4208?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cafa6a9e29f3e99c67a1028f8ca779d439bc0689&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | MEMBER | null | cf @stefan-it's error on Slack | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4208/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4208",
"html_url": "https://github.com/huggingface/transformers/pull/4208",
"diff_url": "https://github.com/huggingface/transformers/pull/4208.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4208.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4207/comments | https://api.github.com/repos/huggingface/transformers/issues/4207/events | https://github.com/huggingface/transformers/issues/4207 | 614,151,196 | MDU6SXNzdWU2MTQxNTExOTY= | 4,207 | BertForTokenClassification, logits on sequence tagging task | {
"login": "mbkrafft",
"id": 28674398,
"node_id": "MDQ6VXNlcjI4Njc0Mzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/28674398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbkrafft",
"html_url": "https://github.com/mbkrafft",
"followers_url": "https://api.github.com/users/mbk... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
## Details
<!-- Description of your issue -->
I'm trying to use BertForTokenClassification to do a sequence tagging task. During training, everything seems fine and loss is decreasing per epoch, but when I put the model in evaluation mode and feed it inputs, the logits for each token are all t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4207/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4206/comments | https://api.github.com/repos/huggingface/transformers/issues/4206/events | https://github.com/huggingface/transformers/issues/4206 | 614,136,128 | MDU6SXNzdWU2MTQxMzYxMjg= | 4,206 | How to get output from BERTNextSentencePrediction by passing One Sentence and Next Sentence getting predicted | {
"login": "ali4friends71",
"id": 40916262,
"node_id": "MDQ6VXNlcjQwOTE2MjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/40916262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ali4friends71",
"html_url": "https://github.com/ali4friends71",
"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 | [] | [
"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,588 | 1,594 | 1,594 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4206/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4205/comments | https://api.github.com/repos/huggingface/transformers/issues/4205/events | https://github.com/huggingface/transformers/issues/4205 | 614,132,175 | MDU6SXNzdWU2MTQxMzIxNzU= | 4,205 | Issues with RobertaTokenizer and unicode characters | {
"login": "yanneyanne",
"id": 15113131,
"node_id": "MDQ6VXNlcjE1MTEzMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/15113131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yanneyanne",
"html_url": "https://github.com/yanneyanne",
"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,588 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Roberta
Language I am using the model on (English, Chinese ...):
English
## To reproduce
Steps to reproduce the behavior:
1. Insert a jumble of some weird unicode characters into the vocabulary file. These unicode characters must exist on t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4205/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4205/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4204/comments | https://api.github.com/repos/huggingface/transformers/issues/4204/events | https://github.com/huggingface/transformers/issues/4204 | 614,117,788 | MDU6SXNzdWU2MTQxMTc3ODg= | 4,204 | KeyError with a fine-tuned model | {
"login": "tbabinet",
"id": 37694371,
"node_id": "MDQ6VXNlcjM3Njk0Mzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/37694371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbabinet",
"html_url": "https://github.com/tbabinet",
"followers_url": "https://api.github.com/users/tba... | [] | closed | false | null | [] | [
"How many labels/entities are there in your model ? Can you check if the key 422 exists in the models config's id2label by printing it or by opening the config file. You can print config using `model.config` ",
"Hello\r\nIt seems I had simply been misusing my model : I was instantiating an `AutoModel`, when I sho... | 1,588 | 1,588 | 1,588 | NONE | null | I've fine-tuned the allenai's scibert to do some NER using the `run_ner.py` script, but I keep bumping into a key error. My code is the following:
```
m = AutoModel.from_pretrained("models/sciBERT_ner_e50/")
tok = AutoTokenizer.from_pretrained("allenai/scibert_scivocab_uncased")
nlp = pipeline("ner", model=m, token... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4204/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4203/comments | https://api.github.com/repos/huggingface/transformers/issues/4203/events | https://github.com/huggingface/transformers/pull/4203 | 614,109,244 | MDExOlB1bGxSZXF1ZXN0NDE0NzI4ODM5 | 4,203 | Use with_suffix to change the extension of the path | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4203?src=pr&el=h1) Report\n> Merging [#4203](https://codecov.io/gh/huggingface/transformers/pull/4203?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/026097b9ee7862905ec3f3b0e729c5dbc95a0fd9&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | COLLABORATOR | null | As per https://github.com/huggingface/transformers/pull/3934#discussion_r421307659. Note that this does not rename the file, it simply changes the path 'string' to another one with a different suffix. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4203/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4203",
"html_url": "https://github.com/huggingface/transformers/pull/4203",
"diff_url": "https://github.com/huggingface/transformers/pull/4203.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4203.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4202/comments | https://api.github.com/repos/huggingface/transformers/issues/4202/events | https://github.com/huggingface/transformers/pull/4202 | 614,085,704 | MDExOlB1bGxSZXF1ZXN0NDE0NzA5NTc5 | 4,202 | Create README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4202",
"html_url": "https://github.com/huggingface/transformers/pull/4202",
"diff_url": "https://github.com/huggingface/transformers/pull/4202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4202.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4201/comments | https://api.github.com/repos/huggingface/transformers/issues/4201/events | https://github.com/huggingface/transformers/pull/4201 | 614,082,670 | MDExOlB1bGxSZXF1ZXN0NDE0NzA3MDM4 | 4,201 | Ensure fast tokenizer can construct single-element tensor without pad token | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4201/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4201",
"html_url": "https://github.com/huggingface/transformers/pull/4201",
"diff_url": "https://github.com/huggingface/transformers/pull/4201.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4201.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4200/comments | https://api.github.com/repos/huggingface/transformers/issues/4200/events | https://github.com/huggingface/transformers/issues/4200 | 614,079,056 | MDU6SXNzdWU2MTQwNzkwNTY= | 4,200 | [Proposal] Small HfAPI 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... | [
{
"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,588 | 1,594 | 1,594 | CONTRIBUTOR | null | - Implement __dict__ and __str__ so that one need not guess the class attributes of `ModelInfo` and `S3Object`
- Delete redundant `S3Obj` class. (`S3Object` seems to be a superset).
- Rename to `HFApi`?
Thoughts @julien-c @LysandreJik ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4200/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4199/comments | https://api.github.com/repos/huggingface/transformers/issues/4199/events | https://github.com/huggingface/transformers/pull/4199 | 614,058,964 | MDExOlB1bGxSZXF1ZXN0NDE0Njg3NTQ0 | 4,199 | [README] Corrected some grammatical mistakes | {
"login": "girishponkiya",
"id": 2093282,
"node_id": "MDQ6VXNlcjIwOTMyODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2093282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/girishponkiya",
"html_url": "https://github.com/girishponkiya",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Thanks for your contribution @girishponkiya , merging!"
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | Corrected some grammatical mistakes, like added required punctuation marks, corrected singular-plural mistakes, etc. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4199/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4199",
"html_url": "https://github.com/huggingface/transformers/pull/4199",
"diff_url": "https://github.com/huggingface/transformers/pull/4199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4199.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4198/comments | https://api.github.com/repos/huggingface/transformers/issues/4198/events | https://github.com/huggingface/transformers/pull/4198 | 614,050,271 | MDExOlB1bGxSZXF1ZXN0NDE0NjgwMzQ1 | 4,198 | [Benchmark] Memory benchmark utils | {
"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 | [] | [
"This google colab shows nicely how the new benchmarking utils can be used: https://colab.research.google.com/drive/1GM3WPXmZ5wZHwhdPyf7RykJS3Y12iceJ?usp=sharing",
"A plotter file is included in `examples/benchmarking` which can give the following results:\r\n\r\n### Memory\r\n\r\n since there is no way ... | 1,588 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Roberta
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
I'm trying to run `run_languag... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4197/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4197/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4196/comments | https://api.github.com/repos/huggingface/transformers/issues/4196/events | https://github.com/huggingface/transformers/pull/4196 | 614,015,383 | MDExOlB1bGxSZXF1ZXN0NDE0NjUyMDQw | 4,196 | Model card for spanish electra small | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4196/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/4196/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4196",
"html_url": "https://github.com/huggingface/transformers/pull/4196",
"diff_url": "https://github.com/huggingface/transformers/pull/4196.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4196.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4195/comments | https://api.github.com/repos/huggingface/transformers/issues/4195/events | https://github.com/huggingface/transformers/pull/4195 | 613,986,159 | MDExOlB1bGxSZXF1ZXN0NDE0NjI4NzUx | 4,195 | add XLMRobertaForQuestionAnswering | {
"login": "Liangtaiwan",
"id": 20909894,
"node_id": "MDQ6VXNlcjIwOTA5ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/20909894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Liangtaiwan",
"html_url": "https://github.com/Liangtaiwan",
"followers_url": "https://api.github.com/... | [
{
"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",
"Closing since already implemented"
] | 1,588 | 1,596 | 1,596 | CONTRIBUTOR | null | 1. add XLMRobertaForQuestionAnswering in modeling_xlm_roberta.py
2. add XLMRobertaForQuestionAnswering in modeling_auto.py | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4195/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4195",
"html_url": "https://github.com/huggingface/transformers/pull/4195",
"diff_url": "https://github.com/huggingface/transformers/pull/4195.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4195.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4194/comments | https://api.github.com/repos/huggingface/transformers/issues/4194/events | https://github.com/huggingface/transformers/pull/4194 | 613,970,377 | MDExOlB1bGxSZXF1ZXN0NDE0NjE2MDY1 | 4,194 | Optimize PyTorch's GPT2 computation graph | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"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 | [] | [
"GPT2 Attention has `merge_heads` method which takes an input as `(batch, heads, seq, repr)` and outputs the flattened _(merged)_ representation of it `(batch, seq, heads * repr)`. \r\n\r\n```python\r\n def merge_heads(self, x):\r\n x = x.transpose(2, 1).contiguous()\r\n new_x_shape = x.size()[:-2]... | 1,588 | 1,651 | 1,595 | MEMBER | null | Brings various optimizations to make the computation graph more efficient. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4194/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4194",
"html_url": "https://github.com/huggingface/transformers/pull/4194",
"diff_url": "https://github.com/huggingface/transformers/pull/4194.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4194.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4193/comments | https://api.github.com/repos/huggingface/transformers/issues/4193/events | https://github.com/huggingface/transformers/issues/4193 | 613,890,148 | MDU6SXNzdWU2MTM4OTAxNDg= | 4,193 | Language model training with NSP using run_language_modeling.py | {
"login": "Stuffooh",
"id": 50005268,
"node_id": "MDQ6VXNlcjUwMDA1MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/50005268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stuffooh",
"html_url": "https://github.com/Stuffooh",
"followers_url": "https://api.github.com/users/Stu... | [
{
"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 is currently not supported. There used to be some community maintained examples IIRC. You can have a look here: https://github.com/huggingface/transformers/tree/1.1.0/examples/lm_finetuning\r\n\r\n"
] | 1,588 | 1,588 | 1,588 | NONE | null | When using "run_language_modeling.py" for fine-tuning BERT is only the MLM task used or also the NSP task as described in the paper? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4193/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4192/comments | https://api.github.com/repos/huggingface/transformers/issues/4192/events | https://github.com/huggingface/transformers/pull/4192 | 613,887,461 | MDExOlB1bGxSZXF1ZXN0NDE0NTUwMTE0 | 4,192 | [Reformer] Doctsring: fix examples again | {
"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,588 | 1,588 | 1,588 | MEMBER | null | Forgot a fix. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4192/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4192",
"html_url": "https://github.com/huggingface/transformers/pull/4192",
"diff_url": "https://github.com/huggingface/transformers/pull/4192.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4192.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4191/comments | https://api.github.com/repos/huggingface/transformers/issues/4191/events | https://github.com/huggingface/transformers/pull/4191 | 613,877,002 | MDExOlB1bGxSZXF1ZXN0NDE0NTQxNzMy | 4,191 | [Reformer] Fix example and error message | {
"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/4191?src=pr&el=h1) Report\n> Merging [#4191](https://codecov.io/gh/huggingface/transformers/pull/4191?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/96c78396ce1baf5e19c0618689005f93c7f42d79&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | MEMBER | null | Fix typos and improve error message. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4191/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4191",
"html_url": "https://github.com/huggingface/transformers/pull/4191",
"diff_url": "https://github.com/huggingface/transformers/pull/4191.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4191.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4190/comments | https://api.github.com/repos/huggingface/transformers/issues/4190/events | https://github.com/huggingface/transformers/pull/4190 | 613,871,447 | MDExOlB1bGxSZXF1ZXN0NDE0NTM3MzM4 | 4,190 | [Reformer] fix docstring | {
"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,588 | 1,588 | 1,588 | MEMBER | null | Fix small typo in docstring | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4190",
"html_url": "https://github.com/huggingface/transformers/pull/4190",
"diff_url": "https://github.com/huggingface/transformers/pull/4190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4190.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4189/comments | https://api.github.com/repos/huggingface/transformers/issues/4189/events | https://github.com/huggingface/transformers/issues/4189 | 613,762,901 | MDU6SXNzdWU2MTM3NjI5MDE= | 4,189 | Bug: can not use pretrained BERT on multiple GPUs with DataParallel (PyTorch 1.5.0) | {
"login": "erikchwang",
"id": 16256959,
"node_id": "MDQ6VXNlcjE2MjU2OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/16256959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erikchwang",
"html_url": "https://github.com/erikchwang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"By the way, when I downgrade Pytorch 1.5.0 to 1.4.0, the error disappears. ",
"The same issue: #3936",
"Closing in favor of #3936"
] | 1,588 | 1,589 | 1,589 | NONE | null | Python: 3.6.10
PyTorch: 1.5.0
Transformers: 2.8.0 and 2.9.0
In the following code, I wrap the pretrained BERT with a DataParallel wrapper so as to run it on multiple GPUs:
> import torch, transformers
> model = transformers.AutoModel.from_pretrained("bert-base-multilingual-cased")
> model = torch.nn.DataParal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4189/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/4189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4188/comments | https://api.github.com/repos/huggingface/transformers/issues/4188/events | https://github.com/huggingface/transformers/pull/4188 | 613,722,647 | MDExOlB1bGxSZXF1ZXN0NDE0NDIxMDgx | 4,188 | Fix Albert Attention | {
"login": "ZhuBaohe",
"id": 35796307,
"node_id": "MDQ6VXNlcjM1Nzk2MzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/35796307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuBaohe",
"html_url": "https://github.com/ZhuBaohe",
"followers_url": "https://api.github.com/users/Zhu... | [
{
"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/4188?src=pr&el=h1) Report\n> Merging [#4188](https://codecov.io/gh/huggingface/transformers/pull/4188?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/877fc56410e3a0495f62e07e66a73e6b3b9629bc&el=desc) will **increase... | 1,588 | 1,594 | 1,594 | CONTRIBUTOR | null | This PR simplifies the code of class AlbertAttention. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4188/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4188",
"html_url": "https://github.com/huggingface/transformers/pull/4188",
"diff_url": "https://github.com/huggingface/transformers/pull/4188.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4188.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4187/comments | https://api.github.com/repos/huggingface/transformers/issues/4187/events | https://github.com/huggingface/transformers/issues/4187 | 613,705,915 | MDU6SXNzdWU2MTM3MDU5MTU= | 4,187 | How to apply Torchtext convenience classes to prepare data for a Transformer? | {
"login": "celsofranssa",
"id": 11181748,
"node_id": "MDQ6VXNlcjExMTgxNzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11181748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/celsofranssa",
"html_url": "https://github.com/celsofranssa",
"followers_url": "https://api.github.c... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | Hello,
Reading the tutorial [Language Translation with torchText](https://pytorch.org/tutorials/beginner/torchtext_translation_tutorial.html) I wondered how someone could use those convenience classes (`Field, BucketIterator`) to train/fine-tune a `Transformer`.
For instance, I'm currently working with a large data... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4187/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4186/comments | https://api.github.com/repos/huggingface/transformers/issues/4186/events | https://github.com/huggingface/transformers/pull/4186 | 613,634,282 | MDExOlB1bGxSZXF1ZXN0NDE0MzUxNjEy | 4,186 | Add patience argument to Trainer | {
"login": "thesamuel",
"id": 6275391,
"node_id": "MDQ6VXNlcjYyNzUzOTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6275391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thesamuel",
"html_url": "https://github.com/thesamuel",
"followers_url": "https://api.github.com/users/th... | [] | closed | false | null | [] | [
"This supercedes https://github.com/huggingface/transformers/pull/2840, where I added patience to the outdated `run_language_modeling.py` script.",
"Looking good! Can you add a reference to your original post that this closes https://github.com/huggingface/transformers/issues/4894? Thanks",
"Hello, when this fe... | 1,588 | 1,606 | 1,606 | NONE | null | This closes #4894.
# Summary
Often, we want to stop training if loss does not improve for a number of epochs. This PR adds a "patience" argument, which is a limit on the number of times we can get a non-improving eval loss before stopping training early.
It is implemented by other NLP frameworks, such as AllenNL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4186/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/4186/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4186",
"html_url": "https://github.com/huggingface/transformers/pull/4186",
"diff_url": "https://github.com/huggingface/transformers/pull/4186.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4186.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4185/comments | https://api.github.com/repos/huggingface/transformers/issues/4185/events | https://github.com/huggingface/transformers/issues/4185 | 613,618,890 | MDU6SXNzdWU2MTM2MTg4OTA= | 4,185 | New model request: MobileBERT from Google | {
"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": 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 | [] | [
"https://github.com/lonePatient/MobileBert_PyTorch",
"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",
"This was completed in #4901"
] | 1,588 | 1,595 | 1,595 | CONTRIBUTOR | null | # 🌟 New model addition
This issue is to request adding the MobileBERT model, which was recently released by Carnegie Mellon University, Google Research, and Google Brain.
## Model description
MobileBERT is a more computationally-efficient model for achieving BERT-base level accuracy on a smartphone.
<!-- Impor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4185/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/4185/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4184/comments | https://api.github.com/repos/huggingface/transformers/issues/4184/events | https://github.com/huggingface/transformers/pull/4184 | 613,575,969 | MDExOlB1bGxSZXF1ZXN0NDE0MzAzNzcy | 4,184 | Model card for allegro/herbert-klej-cased-tokenizer-v1 | {
"login": "rmroczkowski",
"id": 64909124,
"node_id": "MDQ6VXNlcjY0OTA5MTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/64909124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rmroczkowski",
"html_url": "https://github.com/rmroczkowski",
"followers_url": "https://api.github.c... | [
{
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4184/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4184",
"html_url": "https://github.com/huggingface/transformers/pull/4184",
"diff_url": "https://github.com/huggingface/transformers/pull/4184.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4184.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4183/comments | https://api.github.com/repos/huggingface/transformers/issues/4183/events | https://github.com/huggingface/transformers/pull/4183 | 613,574,017 | MDExOlB1bGxSZXF1ZXN0NDE0MzAyMTkw | 4,183 | Model card for allegro/herbert-klej-cased-v1 | {
"login": "rmroczkowski",
"id": 64909124,
"node_id": "MDQ6VXNlcjY0OTA5MTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/64909124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rmroczkowski",
"html_url": "https://github.com/rmroczkowski",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"Great work and great model cards, congrats on beating the state-of-the-art of Polish NLU!",
"Thanks!"
] | 1,588 | 1,589 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4183/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4183",
"html_url": "https://github.com/huggingface/transformers/pull/4183",
"diff_url": "https://github.com/huggingface/transformers/pull/4183.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4183.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4182/comments | https://api.github.com/repos/huggingface/transformers/issues/4182/events | https://github.com/huggingface/transformers/issues/4182 | 613,560,540 | MDU6SXNzdWU2MTM1NjA1NDA= | 4,182 | Is it possible to get document embeddings using GPT-2? If so, how? | {
"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... | [
{
"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 | [] | [
"Not from Huggingface, but for this, I would use something like SentenceBERT. As far as I know.",
"@moinnadeem Thank you for pointing me in that direction! But would sentencebert really work for documents?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be cl... | 1,588 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
I posted a question here on SO: https://stackoverflow.com/questions/61641257/how-to-get-document-embeddings-using-gpt-2?noredirect=1#comment109035633_61641257
But unfortunately was informed that "Please notice that SO is not a tutorial service, and also that recommendation requests for extern... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4182/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4181/comments | https://api.github.com/repos/huggingface/transformers/issues/4181/events | https://github.com/huggingface/transformers/issues/4181 | 613,503,438 | MDU6SXNzdWU2MTM1MDM0Mzg= | 4,181 | [Marian] Key-Error for some languages | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | 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... | [
"marian C++ code uses `<unk>` in this case"
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | model -> symbol that caused `KeyError`.
```python
{'ha-en': '|',
'ber-es': '▁Be',
'pis-fi': '▁|',
'es-mt': '|',
'fr-he': '₫',
'niu-sv': 'OGI',
'fi-fse': '▁rentou',
'fi-mh': '|',
'hr-es': '|',
'fr-ber': '▁devr',
'ase-en': 'olos'}
```
Reproduce
```python
pair = 'ber-es'
mname = f'Helsinki... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4181/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4180/comments | https://api.github.com/repos/huggingface/transformers/issues/4180/events | https://github.com/huggingface/transformers/pull/4180 | 613,477,467 | MDExOlB1bGxSZXF1ZXN0NDE0MjIzNzY3 | 4,180 | considering empty input text to avoid string index out of range error | {
"login": "hmohebbi",
"id": 16359318,
"node_id": "MDQ6VXNlcjE2MzU5MzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/16359318?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hmohebbi",
"html_url": "https://github.com/hmohebbi",
"followers_url": "https://api.github.com/users/hmo... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | When the input string is empty, the above condition in the tokenization_roberta will encounter string index out of range error. For example, a pair input string exists in the QQP dataset that has an empty string:
{'idx': 362246,
'label': 0,
'question1': b'How can I develop android app?',
'question2': b''} | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4180/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4180",
"html_url": "https://github.com/huggingface/transformers/pull/4180",
"diff_url": "https://github.com/huggingface/transformers/pull/4180.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4180.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4179/comments | https://api.github.com/repos/huggingface/transformers/issues/4179/events | https://github.com/huggingface/transformers/pull/4179 | 613,417,949 | MDExOlB1bGxSZXF1ZXN0NDE0MTc1ODI1 | 4,179 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4179?src=pr&el=h1) Report\n> Merging [#4179](https://codecov.io/gh/huggingface/transformers/pull/4179?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ff8ed52dd8c6268f2535c0721cde9e360fbb0ce0&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | model card for my De Novo Drug discovery model using MLM | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4179/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4179",
"html_url": "https://github.com/huggingface/transformers/pull/4179",
"diff_url": "https://github.com/huggingface/transformers/pull/4179.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4179.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4178/comments | https://api.github.com/repos/huggingface/transformers/issues/4178/events | https://github.com/huggingface/transformers/pull/4178 | 613,413,107 | MDExOlB1bGxSZXF1ZXN0NDE0MTcxODc0 | 4,178 | [Model Cards] Add 1010 model cards for Helsinki-NLP | {
"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": 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/4178?src=pr&el=h1) Report\n> Merging [#4178](https://codecov.io/gh/huggingface/transformers/pull/4178?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ff8ed52dd8c6268f2535c0721cde9e360fbb0ce0&el=desc) will **decrease... | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | - Generated using tools in `convert_marian_to_pytorch.py`.
- Takes the bottom most entry in each opus-mt-train/models/*/README.md. This assumes that the bottom entry is most recent. (Created by @jorgtied).
- Example below is at `model_cards/Helsinki-NLP/opus-mt-fr-en/README.md`
__________________________
# opus-2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4178/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4178/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4178",
"html_url": "https://github.com/huggingface/transformers/pull/4178",
"diff_url": "https://github.com/huggingface/transformers/pull/4178.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4178.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4177/comments | https://api.github.com/repos/huggingface/transformers/issues/4177/events | https://github.com/huggingface/transformers/issues/4177 | 613,337,980 | MDU6SXNzdWU2MTMzMzc5ODA= | 4,177 | Not able to import certain packages | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You need to make sure you install from source as documented in the README"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
## Information
- I am using `run_glue.py`.
- Working with GLUE
## To reproduce
Steps to reproduce the behavior:
Even though these functions are imported in `__init__.py` (I have thoroughly checked myself), I'm not able to import `EvalPrediction`, `HfArgumentParser`, `Trainer`, `TrainingArguments`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4177/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4176/comments | https://api.github.com/repos/huggingface/transformers/issues/4176/events | https://github.com/huggingface/transformers/pull/4176 | 613,251,933 | MDExOlB1bGxSZXF1ZXN0NDE0MDQxMDMz | 4,176 | ONNX conversion script. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,588 | 1,651 | 1,589 | MEMBER | null | This PR adds conversion script to export our models to ONNX IR.
Plan is to support both PyTorch and TensorFlow:
- [x] PyTorch
- [ ] TensorFlow
TensorFlow currently blocked because of an issue in the conversion script provided by ONNX (seems fixed on master : https://github.com/onnx/tensorflow-onnx/issues/87... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4176/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4176/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4176",
"html_url": "https://github.com/huggingface/transformers/pull/4176",
"diff_url": "https://github.com/huggingface/transformers/pull/4176.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4176.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4175/comments | https://api.github.com/repos/huggingface/transformers/issues/4175/events | https://github.com/huggingface/transformers/issues/4175 | 613,181,942 | MDU6SXNzdWU2MTMxODE5NDI= | 4,175 | args.output_dir seems like been ignored | {
"login": "yilanchen6",
"id": 38677181,
"node_id": "MDQ6VXNlcjM4Njc3MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/38677181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yilanchen6",
"html_url": "https://github.com/yilanchen6",
"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,588 | 1,594 | 1,594 | NONE | null | https://github.com/huggingface/transformers/blob/a638e986f45b338c86482e1c13e045c06cfeccad/examples/run_squad.py#L814
It seems that args.output_dir is been ignored in checkpoints when args.eval_all_checkpoints is True.
It probably should be like this:
global_step = checkpoint.split("-")[-1] if (len(checkpoints) > 1 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4175/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4174/comments | https://api.github.com/repos/huggingface/transformers/issues/4174/events | https://github.com/huggingface/transformers/issues/4174 | 613,109,156 | MDU6SXNzdWU2MTMxMDkxNTY= | 4,174 | Make ElectraPreTrainedModel importable | {
"login": "kumapo",
"id": 70637,
"node_id": "MDQ6VXNlcjcwNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kumapo",
"html_url": "https://github.com/kumapo",
"followers_url": "https://api.github.com/users/kumapo/followers",
... | [] | closed | false | null | [] | [
"Thanks for contributing #4173 :)."
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🚀 Feature request
Make `ElectraPreTrainedModel` importable
## Motivation
Consistency.
`DistilBertPreTrainedModel` and `AlbertPreTrainedModel` are importable but I cannot import `ElectraPretrainedModel` from v2.8.0
(see https://github.com/huggingface/transformers/issues/1968)
## Your contribution
h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4174/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4173/comments | https://api.github.com/repos/huggingface/transformers/issues/4173/events | https://github.com/huggingface/transformers/pull/4173 | 613,105,591 | MDExOlB1bGxSZXF1ZXN0NDEzOTIyMDk1 | 4,173 | Include ElectraPreTrainedModel into __init__ | {
"login": "kumapo",
"id": 70637,
"node_id": "MDQ6VXNlcjcwNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kumapo",
"html_url": "https://github.com/kumapo",
"followers_url": "https://api.github.com/users/kumapo/followers",
... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/issues/4174 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4173/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4173",
"html_url": "https://github.com/huggingface/transformers/pull/4173",
"diff_url": "https://github.com/huggingface/transformers/pull/4173.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4173.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4172/comments | https://api.github.com/repos/huggingface/transformers/issues/4172/events | https://github.com/huggingface/transformers/issues/4172 | 613,097,429 | MDU6SXNzdWU2MTMwOTc0Mjk= | 4,172 | ImportError: cannot import name 'AutoModel' from 'transformers' | {
"login": "akeyhero",
"id": 23152825,
"node_id": "MDQ6VXNlcjIzMTUyODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/23152825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akeyhero",
"html_url": "https://github.com/akeyhero",
"followers_url": "https://api.github.com/users/ake... | [] | closed | false | null | [] | [
"Got the same result with 2.9.0, i.e. with `# pip install tensorflow==2.0 transformers==2.9.0`",
"`AutoModel` is the equivalent of `TFAutoModel` but for PyTorch model classes. If you don't have pytorch installed this is expected.\r\n\r\nUse `TFAutoModel` instead =)\r\n\r\n",
"Thank you!",
"@julien-c \r\nBut t... | 1,588 | 1,661 | 1,588 | NONE | null | # 🐛 Bug
(Not sure that it is a bug, but it is too easy to reproduce I think)
## Information
I couldn't run `python -c 'from transformers import AutoModel'`, instead getting the error on the titile.
## To reproduce
Steps to reproduce the behavior:
1. `$ sudo docker run -it --rm python:3.6 bash`
2. `#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4172/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4172/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4171/comments | https://api.github.com/repos/huggingface/transformers/issues/4171/events | https://github.com/huggingface/transformers/issues/4171 | 613,094,452 | MDU6SXNzdWU2MTMwOTQ0NTI= | 4,171 | Encoder/Decoder generation | {
"login": "anishthite",
"id": 14373068,
"node_id": "MDQ6VXNlcjE0MzczMDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/14373068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anishthite",
"html_url": "https://github.com/anishthite",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Are you using this exact line\r\n```\r\nmodel = EncoderDecoderModel.from_encoder_decoder_pretrained('bert-base-uncased', 'bert-base-uncased') # initialize Bert2Bert\r\n```\r\nIf yes, then please use paths for your saved model. Few other things to try: verify data pipeline,\r\ntry using beam search or sampling in g... | 1,588 | 1,595 | 1,588 | NONE | null | Hello! I tried to train a Bert2Bert model for QA generation, however when I try the generate function it returns gibberish. I also tried using the example code below, and that also generated gibberish(the output is "[PAD] leon leon leon leon leonieieieieie shall shall shall shall shall shall shall shall shall"). Is the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4171/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4170/comments | https://api.github.com/repos/huggingface/transformers/issues/4170/events | https://github.com/huggingface/transformers/issues/4170 | 613,055,589 | MDU6SXNzdWU2MTMwNTU1ODk= | 4,170 | How to position encode a sentence? | {
"login": "saahiluppal",
"id": 47444392,
"node_id": "MDQ6VXNlcjQ3NDQ0Mzky",
"avatar_url": "https://avatars.githubusercontent.com/u/47444392?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saahiluppal",
"html_url": "https://github.com/saahiluppal",
"followers_url": "https://api.github.com/... | [
{
"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 don't need to provide position IDs to the model, the model will create them on its own. Similarly to the `attention_mask` and `token_type_ids`, you only need to provide them if you want them to be different to the default.\r\n\r\nIn the case of position IDs, provide them if you want to use a special scheme/dif... | 1,588 | 1,595 | 1,595 | NONE | null | BertTokenizer provide us with input_ids, attention_mask and token_type_ids but i'm unable to get so called "Position ids".
I have read the documentation as well but unable to find anything. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4170/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4169/comments | https://api.github.com/repos/huggingface/transformers/issues/4169/events | https://github.com/huggingface/transformers/pull/4169 | 613,041,410 | MDExOlB1bGxSZXF1ZXN0NDEzODcwMTM4 | 4,169 | Update __init__.py for AlbertMLMHead | {
"login": "zzj0402",
"id": 15345547,
"node_id": "MDQ6VXNlcjE1MzQ1NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/15345547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zzj0402",
"html_url": "https://github.com/zzj0402",
"followers_url": "https://api.github.com/users/zzj040... | [
{
"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",
"The issue was resolved."
] | 1,588 | 1,594 | 1,594 | NONE | null | https://github.com/huggingface/transformers/issues/4168 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4169/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4169",
"html_url": "https://github.com/huggingface/transformers/pull/4169",
"diff_url": "https://github.com/huggingface/transformers/pull/4169.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4169.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4168/comments | https://api.github.com/repos/huggingface/transformers/issues/4168/events | https://github.com/huggingface/transformers/issues/4168 | 613,039,522 | MDU6SXNzdWU2MTMwMzk1MjI= | 4,168 | No name 'AlbertMLMHead' in module 'transformers' | {
"login": "zzj0402",
"id": 15345547,
"node_id": "MDQ6VXNlcjE1MzQ1NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/15345547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zzj0402",
"html_url": "https://github.com/zzj0402",
"followers_url": "https://api.github.com/users/zzj040... | [
{
"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 | [] | [
"Hi, you can import it as such:\r\n```py\r\nfrom transformers.modeling_albert import AlbertMLMHead\r\n```\r\n\r\nIt's not in the `__init.py__` as it's not a model but part of one."
] | 1,588 | 1,589 | 1,589 | NONE | null | # 🌟 New model addition
## Model description
MLM model head
```
No name 'AlbertMLMHead' in module 'transformers'
```
## Open source status
* [x] the model implementation is available:
```
class AlbertMLMHead(nn.Module):
def __init__(self, config):
super().__init__()
self.Layer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4168/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4167/comments | https://api.github.com/repos/huggingface/transformers/issues/4167/events | https://github.com/huggingface/transformers/pull/4167 | 612,893,038 | MDExOlB1bGxSZXF1ZXN0NDEzNzUxNDky | 4,167 | change order pytorch/tf in readme | {
"login": "clmnt",
"id": 821155,
"node_id": "MDQ6VXNlcjgyMTE1NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/821155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clmnt",
"html_url": "https://github.com/clmnt",
"followers_url": "https://api.github.com/users/clmnt/followers"... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4167/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4167",
"html_url": "https://github.com/huggingface/transformers/pull/4167",
"diff_url": "https://github.com/huggingface/transformers/pull/4167.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4167.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4166/comments | https://api.github.com/repos/huggingface/transformers/issues/4166/events | https://github.com/huggingface/transformers/issues/4166 | 612,875,957 | MDU6SXNzdWU2MTI4NzU5NTc= | 4,166 | Tapas | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"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 | [] | [
"hey, @thomwolf this would be a great addition! have a look into it.",
"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",
"I think @NielsRogge is working on this over here: https://gith... | 1,588 | 1,602 | 1,595 | CONTRIBUTOR | null | # 🌟 New model addition
## Model descriptin
Tapas extends Bert architecture and is a transformer-based Table QA model
Paper: https://arxiv.org/abs/2004.02349
## Open source status
* [X] the model implementation is available: (give details)
https://github.com/google-research/tapas
* [X] the model weight... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4166/reactions",
"total_count": 11,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 5
} | https://api.github.com/repos/huggingface/transformers/issues/4166/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4165/comments | https://api.github.com/repos/huggingface/transformers/issues/4165/events | https://github.com/huggingface/transformers/pull/4165 | 612,860,574 | MDExOlB1bGxSZXF1ZXN0NDEzNzI1MjMw | 4,165 | [RFC] Sampling transform function for generation | {
"login": "turtlesoupy",
"id": 448590,
"node_id": "MDQ6VXNlcjQ0ODU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/448590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/turtlesoupy",
"html_url": "https://github.com/turtlesoupy",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"(note that this will need to be refined to work with TF / beam search if we decide on the direction)",
"Closing in favor of #5416 "
] | 1,588 | 1,593 | 1,593 | NONE | null | See https://github.com/huggingface/transformers/issues/4164 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4165/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4165",
"html_url": "https://github.com/huggingface/transformers/pull/4165",
"diff_url": "https://github.com/huggingface/transformers/pull/4165.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4165.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4164/comments | https://api.github.com/repos/huggingface/transformers/issues/4164/events | https://github.com/huggingface/transformers/issues/4164 | 612,859,708 | MDU6SXNzdWU2MTI4NTk3MDg= | 4,164 | Add a sampling_transform callback to generation for arbitrary probability-warps | {
"login": "turtlesoupy",
"id": 448590,
"node_id": "MDQ6VXNlcjQ0ODU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/448590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/turtlesoupy",
"html_url": "https://github.com/turtlesoupy",
"followers_url": "https://api.github.com/user... | [
{
"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... | [
"Very interesting idea! I think we eventually have to make the generation function more general anyways. \r\n\r\nMaybe it's time to move this whole code:\r\n\r\n```python \r\n # repetition penalty from CTRL paper (https://arxiv.org/abs/1909.05858)\r\n if repetition_penalty != 1.0:\r\n ... | 1,588 | 1,599 | 1,599 | NONE | null | # 🚀 Feature request
I'd like to add `sampling_transform` callback argument to all `generate` functions in `modeling_utils` that allows arbitrary sampling from the probability distribution during sequence generation. The signature of this function would be `(input_ids, next_probs, next_token) -> next_token`.
## Mot... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4164/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4164/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4163/comments | https://api.github.com/repos/huggingface/transformers/issues/4163/events | https://github.com/huggingface/transformers/issues/4163 | 612,849,891 | MDU6SXNzdWU2MTI4NDk4OTE= | 4,163 | Cannot use camembert for question answering | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [] | 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... | [] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Camembert
Language I am using the model on (English, Chinese ...):
French
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4163/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4162/comments | https://api.github.com/repos/huggingface/transformers/issues/4162/events | https://github.com/huggingface/transformers/pull/4162 | 612,818,401 | MDExOlB1bGxSZXF1ZXN0NDEzNjkwODA4 | 4,162 | Add model card for the NER model | {
"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": 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,588 | 1,589 | 1,588 | CONTRIBUTOR | null | Add the model-card for a new NER model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4162/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4162",
"html_url": "https://github.com/huggingface/transformers/pull/4162",
"diff_url": "https://github.com/huggingface/transformers/pull/4162.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4162.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4161/comments | https://api.github.com/repos/huggingface/transformers/issues/4161/events | https://github.com/huggingface/transformers/issues/4161 | 612,816,172 | MDU6SXNzdWU2MTI4MTYxNzI= | 4,161 | run_generation.py - use of < redirect for input text file only reads first line - solution requested | {
"login": "GenTxt",
"id": 22547261,
"node_id": "MDQ6VXNlcjIyNTQ3MjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22547261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GenTxt",
"html_url": "https://github.com/GenTxt",
"followers_url": "https://api.github.com/users/GenTxt/fo... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I think in your case it might make more sense to use the `TextGenerationPipeline`. It's a two liner that does the same as the script. You can wrap a `open(inpt_text_file)` and `file.write()` around these two lines in your use case. \r\n\r\nSee documentation for the generation pipeline here: https://huggingface.co/... | 1,588 | 1,591 | 1,591 | NONE | null | Example:
python3 examples/run_generation.py --model_type=gpt2 --model_name_or_path="models/custom-774M" --length=400 < test.txt > test_gpt2_400.txt
Version 2.0.3 and earlier accepts a simple linux redirect < test.txt and reads the file line-by-line while generating the corresponding output to > test_gpt2_400_out.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4161/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4160/comments | https://api.github.com/repos/huggingface/transformers/issues/4160/events | https://github.com/huggingface/transformers/issues/4160 | 612,783,395 | MDU6SXNzdWU2MTI3ODMzOTU= | 4,160 | [Marian] Multilingual models require language codes | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | 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... | [] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | [ ] figure out codes
[ ] update/subclass `MarianTokenizer`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4160/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4159/comments | https://api.github.com/repos/huggingface/transformers/issues/4159/events | https://github.com/huggingface/transformers/pull/4159 | 612,780,029 | MDExOlB1bGxSZXF1ZXN0NDEzNjYwMDg1 | 4,159 | Tokenizer.batch_decode convenience method | {
"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/4159?src=pr&el=h1) Report\n> Merging [#4159](https://codecov.io/gh/huggingface/transformers/pull/4159?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7822cd38a0e18004ab1a55bfe85e8b3bc0d8857a&el=desc) will **increase... | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | convenience method that turns the list returned by `model.generate` into a list of sentences. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4159/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4159",
"html_url": "https://github.com/huggingface/transformers/pull/4159",
"diff_url": "https://github.com/huggingface/transformers/pull/4159.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4159.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4158/comments | https://api.github.com/repos/huggingface/transformers/issues/4158/events | https://github.com/huggingface/transformers/issues/4158 | 612,773,264 | MDU6SXNzdWU2MTI3NzMyNjQ= | 4,158 | [Marian] @-@ symbol causes strange generations | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | 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... | [
"This is only an issue for BPE models, which we are not supporting."
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | good fr-en test case:
```
Veuillez m' apporter une demi @-@ bouteille de vin .
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4158/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4157/comments | https://api.github.com/repos/huggingface/transformers/issues/4157/events | https://github.com/huggingface/transformers/issues/4157 | 612,772,673 | MDU6SXNzdWU2MTI3NzI2NzM= | 4,157 | [Marian] Readme parser defaults to porting oldest model | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | 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... | [
"Not true, fixed on master."
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | - logic should be newest model or all models with unique names.
- the download URL (and probably other metadata) should be put in a `model_cards/` file.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4157/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4156/comments | https://api.github.com/repos/huggingface/transformers/issues/4156/events | https://github.com/huggingface/transformers/pull/4156 | 612,756,040 | MDExOlB1bGxSZXF1ZXN0NDEzNjQwNzg1 | 4,156 | Removed the use of deprecated Variable API in PPLM example | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Could you please tell what does this mean ?\r\n```\r\n#!/bin/bash -eo pipefail\r\nblack --check --line-length 119 --target-version py35 examples templates tests src utils\r\n\r\nwould reformat /home/circleci/transformers/examples/pplm/run_pplm.py\r\nOh no! 💥 💔 💥\r\n1 file would be reformatted, 266 files would b... | 1,588 | 1,590 | 1,590 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4156/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4156",
"html_url": "https://github.com/huggingface/transformers/pull/4156",
"diff_url": "https://github.com/huggingface/transformers/pull/4156.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4156.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4155/comments | https://api.github.com/repos/huggingface/transformers/issues/4155/events | https://github.com/huggingface/transformers/issues/4155 | 612,664,241 | MDU6SXNzdWU2MTI2NjQyNDE= | 4,155 | num_samples=0 when using pretrained model | {
"login": "Rajashan",
"id": 8950525,
"node_id": "MDQ6VXNlcjg5NTA1MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8950525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rajashan",
"html_url": "https://github.com/Rajashan",
"followers_url": "https://api.github.com/users/Rajas... | [] | closed | false | null | [] | [
"Hi, did you find out the reason for this error? I get the same error even on Wikitext-2 corpus ",
"Yeah, it is an issue with how your data is read. Try the --line_by_line argument. "
] | 1,588 | 1,589 | 1,588 | NONE | null | When training the "run_language_modelling.py" example with a pretrained bert model, I get the error:
"""
Traceback (most recent call last): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4155/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4154/comments | https://api.github.com/repos/huggingface/transformers/issues/4154/events | https://github.com/huggingface/transformers/pull/4154 | 612,656,937 | MDExOlB1bGxSZXF1ZXN0NDEzNTU5OTY0 | 4,154 | Rewritten batch support in pipelines. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4154?src=pr&el=h1) Report\n> Merging [#4154](https://codecov.io/gh/huggingface/transformers/pull/4154?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/818463ee8eaf3a1cd5ddc2623789cbd7bb517d02&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | MEMBER | null | Batch support in Pipeline was confusing and not well tested.
This PR rewrites all the content of `DefaultArgumentHandler` which handles most of the input conversions (args, kwargs, batched, etc.) and brings unit tests on this specific class.
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co> | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4154/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4154",
"html_url": "https://github.com/huggingface/transformers/pull/4154",
"diff_url": "https://github.com/huggingface/transformers/pull/4154.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4154.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4153/comments | https://api.github.com/repos/huggingface/transformers/issues/4153/events | https://github.com/huggingface/transformers/issues/4153 | 612,655,536 | MDU6SXNzdWU2MTI2NTU1MzY= | 4,153 | Embedding index getting out of range while running camemebert model | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [] | closed | false | null | [] | [
"I am running into the same error on my own script. Interestingly it only appears on CPU... Did you find a solution?",
"No, I want to get a French Q&A pipeline, surprinsingly, with the hugging face pipeline everything works great, I can plug the code in a local server and make requests on it. \r\n\r\nBut when I t... | 1,588 | 1,591 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Camembert
Language I am using the model on (English, Chinese ...):
French
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4153/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4152/comments | https://api.github.com/repos/huggingface/transformers/issues/4152/events | https://github.com/huggingface/transformers/pull/4152 | 612,579,185 | MDExOlB1bGxSZXF1ZXN0NDEzNDk2OTk0 | 4,152 | [Marian] documentation and AutoModel support | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"### Screenshots of Documentation\r\n\r\n\r\n\r\n\r\n[ x] Shows up in TOC:\r\n:
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4152/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4152/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4152",
"html_url": "https://github.com/huggingface/transformers/pull/4152",
"diff_url": "https://github.com/huggingface/transformers/pull/4152.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4152.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4151/comments | https://api.github.com/repos/huggingface/transformers/issues/4151/events | https://github.com/huggingface/transformers/issues/4151 | 612,482,533 | MDU6SXNzdWU2MTI0ODI1MzM= | 4,151 | How to pre-train BART model | {
"login": "omerarshad",
"id": 16164105,
"node_id": "MDQ6VXNlcjE2MTY0MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omerarshad",
"html_url": "https://github.com/omerarshad",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834052847,
"node_id": "MDU6TGFiZWwxODM0MDUyODQ3",
... | 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... | [
"We still need to provide a good docstring/notebook for this. It's on our ToDo-List. :-) \r\n\r\nOr @sshleifer - is there already something for Bart? ",
"Nothing yet, would be good to add!",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no furthe... | 1,588 | 1,678 | 1,602 | NONE | null | How to pre-train BART model in an unsupervised manner. any example? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4151/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4150/comments | https://api.github.com/repos/huggingface/transformers/issues/4150/events | https://github.com/huggingface/transformers/issues/4150 | 612,421,653 | MDU6SXNzdWU2MTI0MjE2NTM= | 4,150 | Config File | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | 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... | [
"You get the default config file as written on AWS with \r\n```python \r\nconfig = T5Config.from_pretrained(\"t5-small\")\r\n```\r\n\r\nIf you want to change anything on the config after you can update it with a dict of your specifications:\r\n```python \r\nconfig.update(your_dict)\r\n```",
"Hello @patrickvonplat... | 1,588 | 1,622 | 1,588 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4150/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4149/comments | https://api.github.com/repos/huggingface/transformers/issues/4149/events | https://github.com/huggingface/transformers/issues/4149 | 612,255,996 | MDU6SXNzdWU2MTIyNTU5OTY= | 4,149 | Fine-tuning T5 in Tensorflow | {
"login": "tqdo",
"id": 53948469,
"node_id": "MDQ6VXNlcjUzOTQ4NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/53948469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tqdo",
"html_url": "https://github.com/tqdo",
"followers_url": "https://api.github.com/users/tqdo/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 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @tqdo, \r\n\r\nGood question. We will add better explanation for TF T5 soon :-) ",
"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",
"@tqdo. I open sourced fine-tuning T5 by custom... | 1,588 | 1,605 | 1,605 | NONE | null | I wonder whether there is an example/tutorial about how to fine-tune T5 for a particular task (say translation) in Tensorflow. On the doc website it says that `This model is a tf.keras.Model tf.keras.Model sub-class`. However I am not really sure what the output is for the Keras model. It seems like the output (the tar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4149/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4149/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4148/comments | https://api.github.com/repos/huggingface/transformers/issues/4148/events | https://github.com/huggingface/transformers/issues/4148 | 612,231,472 | MDU6SXNzdWU2MTIyMzE0NzI= | 4,148 | DistilBertForQuestionAnswering returns [UNK] | {
"login": "dimwael",
"id": 32783348,
"node_id": "MDQ6VXNlcjMyNzgzMzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/32783348?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimwael",
"html_url": "https://github.com/dimwael",
"followers_url": "https://api.github.com/users/dimwae... | [] | closed | false | null | [] | [
"Solved : Had to update transformers & torch\r\nthis code is working fine :\r\n```python\r\nfrom transformers import DistilBertTokenizer, DistilBertForQuestionAnswering\r\nimport torch\r\n\r\ntokenizer = DistilBertTokenizer.from_pretrained(\r\n 'distilbert-base-uncased-distilled-squad')\r\nmodel = DistilBertForQ... | 1,588 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):Distilbert
Language I am using the model on (English, Chinese ...):English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [X] my own modified scripts: (give details below)
The tasks I am working on is:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4148/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4147/comments | https://api.github.com/repos/huggingface/transformers/issues/4147/events | https://github.com/huggingface/transformers/issues/4147 | 612,074,903 | MDU6SXNzdWU2MTIwNzQ5MDM= | 4,147 | Error in Calculating Sentence Perplexity for GPT-2 model | {
"login": "states786",
"id": 64096105,
"node_id": "MDQ6VXNlcjY0MDk2MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/64096105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/states786",
"html_url": "https://github.com/states786",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"The longest input length a pretrained GPT2 model can treat depends on its `n_position` value. You can look it up here e.g. https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-config.json . \r\nIf you use a pretrained-model you sadly can only treat sequences <= 1024.\r\n\r\nFor you own model you can increase `... | 1,588 | 1,591 | 1,591 | NONE | null | Hi,
I am using a following code to calculate the perplexity of sentences on my GPT-2 pretrained model:
```
tokenizer = GPT2Tokenizer.from_pretrained('gpt-model')
config = GPT2Config.from_pretrained('gpt-model')
model = GPT2LMHeadModel.from_pretrained('gpt-model', config=config)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4147/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4146/comments | https://api.github.com/repos/huggingface/transformers/issues/4146/events | https://github.com/huggingface/transformers/pull/4146 | 611,968,909 | MDExOlB1bGxSZXF1ZXN0NDEzMDI1OTYw | 4,146 | Tpu trainer | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4146?src=pr&el=h1) Report\n> Merging [#4146](https://codecov.io/gh/huggingface/transformers/pull/4146?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d713cfc5ebfb1ed83de1fce55dd7279f9db30672&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | MEMBER | null | This PR aims to bring TPU support to the trainer. It runs on GLUE/MRPC but is yet untested on others.
Left to do:
- [ ] Saving and reloading mid-training
- [ ] Check it runs on a few examples (Language modeling, NER, other GLUE tasks)
- [ ] Write down training speed-ups
- [ ] Write down evaluation speed-ups
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4146/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4146",
"html_url": "https://github.com/huggingface/transformers/pull/4146",
"diff_url": "https://github.com/huggingface/transformers/pull/4146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4146.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4145/comments | https://api.github.com/repos/huggingface/transformers/issues/4145/events | https://github.com/huggingface/transformers/issues/4145 | 611,697,237 | MDU6SXNzdWU2MTE2OTcyMzc= | 4,145 | tokenizer.batch_encoder_plus do not return input_len | {
"login": "max-yue",
"id": 13486398,
"node_id": "MDQ6VXNlcjEzNDg2Mzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/13486398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/max-yue",
"html_url": "https://github.com/max-yue",
"followers_url": "https://api.github.com/users/max-yu... | [
{
"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,588 | 1,594 | 1,594 | CONTRIBUTOR | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
```
batch_tokens = self.tokenizer.batch_encode_plus(
[example.text_a for example in examples],
max_length=max_seq_len,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4145/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4144/comments | https://api.github.com/repos/huggingface/transformers/issues/4144/events | https://github.com/huggingface/transformers/issues/4144 | 611,695,328 | MDU6SXNzdWU2MTE2OTUzMjg= | 4,144 | Use finetuned-BART large to do conditional generation | {
"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 | {
"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... | [
"If you used pytorch-lightning for training then you can load the weights from checkpoint as follows\r\n```\r\nckpt = torch.load('./bart_sum/checkpointepoch=2.ckpt')\r\nmodel.load_state_dict(ckpt['state_dict'])\r\n```\r\n\r\nonce you load the weights this way then save the model using the `.save_pretrained` method ... | 1,588 | 1,639 | 1,592 | NONE | null | Hi
I am using a slightly old tag of ur repo where BART had run_bart_sum.py. I finetuned bart-large on a custom data set and want to do conditional generation
```
from transformers import BartTokenizer, BartForConditionalGeneration
import torch
model = BartForConditionalGeneration.from_pretrained('bart-large'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4144/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4143/comments | https://api.github.com/repos/huggingface/transformers/issues/4143/events | https://github.com/huggingface/transformers/pull/4143 | 611,687,198 | MDExOlB1bGxSZXF1ZXN0NDEyODAxODM5 | 4,143 | Camembert-large-fquad model card | {
"login": "mdhoffschmidt",
"id": 6451662,
"node_id": "MDQ6VXNlcjY0NTE2NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6451662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mdhoffschmidt",
"html_url": "https://github.com/mdhoffschmidt",
"followers_url": "https://api.github.... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Description for the model card describing the camembert-large-fquad model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4143/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4143",
"html_url": "https://github.com/huggingface/transformers/pull/4143",
"diff_url": "https://github.com/huggingface/transformers/pull/4143.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4143.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4142/comments | https://api.github.com/repos/huggingface/transformers/issues/4142/events | https://github.com/huggingface/transformers/issues/4142 | 611,674,051 | MDU6SXNzdWU2MTE2NzQwNTE= | 4,142 | New model addition: Blender (Facebook chatbot) | {
"login": "trianxy",
"id": 16118129,
"node_id": "MDQ6VXNlcjE2MTE4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/16118129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trianxy",
"html_url": "https://github.com/trianxy",
"followers_url": "https://api.github.com/users/trianx... | [
{
"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 | [] | [
"@tx1985 awesome idea",
"Very Cool !",
"+1",
"Hey, \r\nI want to ask a question regarding Facebook Blender Chatbot. I want to train my custom data into blender. how can i do that? Please help",
"Sorry, I know how to use blender as is but not how to fine tune it. I\nthink that you would require a significa... | 1,588 | 1,598 | 1,598 | NONE | null | # 🌟 New model addition
## Model description
- Dialogue response generation model for multiturn conversations, open-sourced by Facebook (28 April 2020)
- 3 models: 90m, 2.7b and 9.4b parameters
- New state-of-the-art "in terms of engagingness and humanness measurements"
- Blog post: https://parl.ai/projects/blen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4142/reactions",
"total_count": 33,
"+1": 24,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 9
} | https://api.github.com/repos/huggingface/transformers/issues/4142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4141/comments | https://api.github.com/repos/huggingface/transformers/issues/4141/events | https://github.com/huggingface/transformers/issues/4141 | 611,666,573 | MDU6SXNzdWU2MTE2NjY1NzM= | 4,141 | 🚀 An advice about changing variable name from "attention_mask" to "adder" | {
"login": "ianliuy",
"id": 37043548,
"node_id": "MDQ6VXNlcjM3MDQzNTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/37043548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ianliuy",
"html_url": "https://github.com/ianliuy",
"followers_url": "https://api.github.com/users/ianliu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
... | 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... | [
"I agree! Do you want to open a PR about this to change the naming? :-) \r\nWhen doing this we just have to be careful to not change the user facing api when doing this -> which means that ideally, we should not rename any function arguments of high level modules like `BertModel.forward()`.",
"I've created PR #45... | 1,588 | 1,595 | 1,595 | 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. -->
## Motivation
I noticed that some users are pretty confused when reading source codes about variable `attention_mask`
like:
[What is the meaning of Attent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4141/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4140/comments | https://api.github.com/repos/huggingface/transformers/issues/4140/events | https://github.com/huggingface/transformers/issues/4140 | 611,636,973 | MDU6SXNzdWU2MTE2MzY5NzM= | 4,140 | How to make run_language_modeling.py work for transformer-xl? | {
"login": "bajajahsaas",
"id": 11806556,
"node_id": "MDQ6VXNlcjExODA2NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/11806556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bajajahsaas",
"html_url": "https://github.com/bajajahsaas",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Yeah we don't have a run_language_modeling.py script yet. It's on a TODO list :-). Also see: #2008 .\r\nIf you feel like writing one, it would be great :-) "
] | 1,588 | 1,591 | 1,591 | NONE | null | The code in [run_language_modeling.py](https://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py) does Language modeling for any pre-trained model. However, for transformer-xl, we need additional arguments to the forward function like `mems` and even [run_transfo_xl.py](https://github.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4139/comments | https://api.github.com/repos/huggingface/transformers/issues/4139/events | https://github.com/huggingface/transformers/issues/4139 | 611,635,474 | MDU6SXNzdWU2MTE2MzU0NzQ= | 4,139 | Cannot set max_position_embeddings to any desired value in T5Config | {
"login": "Akashdesarda",
"id": 26931751,
"node_id": "MDQ6VXNlcjI2OTMxNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/26931751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Akashdesarda",
"html_url": "https://github.com/Akashdesarda",
"followers_url": "https://api.github.c... | [] | 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... | [
"IMO the docstring is confusing here. This PR should fix it: #4422. \r\n& You are right you should change `max_position_embeddings` via `n_positions`."
] | 1,588 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
The model I am using (T5):
Language I am using the model on (English):
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
```
config = T5Config(max_position_embeddings=1024)
```
## To r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4139/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4138/comments | https://api.github.com/repos/huggingface/transformers/issues/4138/events | https://github.com/huggingface/transformers/pull/4138 | 611,544,377 | MDExOlB1bGxSZXF1ZXN0NDEyNjkyNjE0 | 4,138 | [Roberta] fix hard wired pad token id | {
"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 | [] | [
"I checked all models on `https://huggingface.co/models?search=roberta` and all of them have the pad_token_id set to `1` which was used as a default before. So this is good to merge for me."
] | 1,588 | 1,588 | 1,588 | MEMBER | null | This might break backward compatibility for users that have uploaded a roberta model and use a different pad token than 1 in the configs.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4138/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/4138/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4138",
"html_url": "https://github.com/huggingface/transformers/pull/4138",
"diff_url": "https://github.com/huggingface/transformers/pull/4138.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4138.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4137/comments | https://api.github.com/repos/huggingface/transformers/issues/4137/events | https://github.com/huggingface/transformers/issues/4137 | 611,504,515 | MDU6SXNzdWU2MTE1MDQ1MTU= | 4,137 | Error: `cannot import name 'TFBertForMaskedLM'` | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [] | closed | false | null | [] | [
"The issue was that I did not have TensorFlow installed. "
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | When I try the following import:
```python
from transformers import TFBertForMaskedLM
```
I get the following error:
```
Traceback (most recent call last):
File "/Users/danielk/ideaProjects/farsi-language-models/src/try_bert_lm.py", line 3, in <module>
from transformers import TFBertForMaskedLM
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4137/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/4137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4136/comments | https://api.github.com/repos/huggingface/transformers/issues/4136/events | https://github.com/huggingface/transformers/issues/4136 | 611,497,873 | MDU6SXNzdWU2MTE0OTc4NzM= | 4,136 | Cannot loading SpanBERT pre-trained model | {
"login": "changyeli",
"id": 9058204,
"node_id": "MDQ6VXNlcjkwNTgyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9058204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/changyeli",
"html_url": "https://github.com/changyeli",
"followers_url": "https://api.github.com/users/ch... | [
{
"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 | [] | [
"@palooney \r\nCan you check again ?. The following call worked for me\r\n```\r\nmodel = AutoModel.from_pretrained(\"SpanBERT/spanbert-base-cased\")\r\n```",
"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 yo... | 1,588 | 1,594 | 1,594 | NONE | null | I have some questions regarding SpanBert loading using the transformers package.
I downloaded the pre-trained file from [SpanBert](https://github.com/facebookresearch/SpanBERT) GitHub Repo and ```vocab.txt``` from Bert. Here is the code I used for loading:
```python
model = BertModel.from_pretrained(config_file=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4136/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4135/comments | https://api.github.com/repos/huggingface/transformers/issues/4135/events | https://github.com/huggingface/transformers/issues/4135 | 611,487,504 | MDU6SXNzdWU2MTE0ODc1MDQ= | 4,135 | Why does ALBERT use einsum in PyTorch implementation while in TF one it does not? | {
"login": "marrrcin",
"id": 6958772,
"node_id": "MDQ6VXNlcjY5NTg3NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6958772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marrrcin",
"html_url": "https://github.com/marrrcin",
"followers_url": "https://api.github.com/users/marrr... | [] | closed | false | null | [] | [
"The two implementations are equivalent, but the Pytorch version is cumbersome.\r\nI think the code\r\n\r\n```python\r\n context_layer = context_layer.permute(0, 2, 1, 3).contiguous()\r\n\r\n # Should find a better way to do this\r\n w = (\r\n self.dense.weight.t()\r\n ... | 1,588 | 1,602 | 1,602 | CONTRIBUTOR | null | # ❓ Questions & Help
I wanted to learn internals of ALBERT model from your implementation (which is BTW really clean in comparison to the original one - good job!), but I've stumbled upon weird looking part in the `AlbertAttention`: https://github.com/huggingface/transformers/blob/6af3306a1da0322f58861b1fbb62ce5223d97... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4134/comments | https://api.github.com/repos/huggingface/transformers/issues/4134/events | https://github.com/huggingface/transformers/issues/4134 | 611,479,305 | MDU6SXNzdWU2MTE0NzkzMDU= | 4,134 | jplu/tf-xlm-roberta-large showing random performance | {
"login": "mobassir94",
"id": 24439592,
"node_id": "MDQ6VXNlcjI0NDM5NTky",
"avatar_url": "https://avatars.githubusercontent.com/u/24439592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mobassir94",
"html_url": "https://github.com/mobassir94",
"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",
"same here, mine is torch version, though.\r\n@mobassir94 Did you fix it?",
"@HenryPaik1 no\r\ni also faced this issue in both pytorch... | 1,588 | 1,611 | 1,594 | NONE | null | # 🐛 jplu/tf-xlm-roberta-large showing random performance on tpu model training
## i have observed several times that jplu/tf-xlm-roberta-large showing random performance on several experiments,for example if i train a model and get validation accuracy 61% then if i run the model again (without changing anythin or d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4134/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/4134/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4133/comments | https://api.github.com/repos/huggingface/transformers/issues/4133/events | https://github.com/huggingface/transformers/issues/4133 | 611,443,102 | MDU6SXNzdWU2MTE0NDMxMDI= | 4,133 | problem about change from pytorch-pretrained-bert to transformers | {
"login": "BiggHeadd",
"id": 30789106,
"node_id": "MDQ6VXNlcjMwNzg5MTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/30789106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BiggHeadd",
"html_url": "https://github.com/BiggHeadd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"OK, the problem is, in transformers, forward() method args position is little bit different compare to pytorch-pretrained-bert. the order change from (token, segment, mask) to (token, mask, segment). So pass the args by name will always right, lol"
] | 1,588 | 1,588 | 1,588 | NONE | null | I am doing the sentiment analysis with pytorch-pretrained-bert, it work correct, but when I change to transformers, the accuracy on the dev data is poor (but the accuracy with pytorch-pretrained-bert is quite higher). Besides, I notice the Migrating from pytorch-pretrained-bert to transformers module.
the input is:
[... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4132/comments | https://api.github.com/repos/huggingface/transformers/issues/4132/events | https://github.com/huggingface/transformers/pull/4132 | 611,400,627 | MDExOlB1bGxSZXF1ZXN0NDEyNTk0MTEx | 4,132 | Create README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4132?src=pr&el=h1) Report\n> Merging [#4132](https://codecov.io/gh/huggingface/transformers/pull/4132?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6af3306a1da0322f58861b1fbb62ce5223d97b8a&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4132/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4132",
"html_url": "https://github.com/huggingface/transformers/pull/4132",
"diff_url": "https://github.com/huggingface/transformers/pull/4132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4132.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4131/comments | https://api.github.com/repos/huggingface/transformers/issues/4131/events | https://github.com/huggingface/transformers/pull/4131 | 611,376,443 | MDExOlB1bGxSZXF1ZXN0NDEyNTc4Njc2 | 4,131 | Make transformers-cli cross-platform | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4131?src=pr&el=h1) Report\n> Merging [#4131](https://codecov.io/gh/huggingface/transformers/pull/4131?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1cdd2ad2afb73f6af185aafecb7dd7941a90c4d1&el=desc) will **decrease... | 1,588 | 1,590 | 1,590 | COLLABORATOR | null | Using `scripts` is a useful option in `setup.py` particularly when you want to get access to non-python scripts. However, in this case we want to have an entry point into some of our own Python scripts. To do this in a concise, cross-platfom way, we can use `entry_points.console_scripts`. This change is necessary to pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4131",
"html_url": "https://github.com/huggingface/transformers/pull/4131",
"diff_url": "https://github.com/huggingface/transformers/pull/4131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4131.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4130/comments | https://api.github.com/repos/huggingface/transformers/issues/4130/events | https://github.com/huggingface/transformers/issues/4130 | 611,354,140 | MDU6SXNzdWU2MTEzNTQxNDA= | 4,130 | GPT-2 past behaves incorrectly when attention_mask is used | {
"login": "s-jse",
"id": 60150701,
"node_id": "MDQ6VXNlcjYwMTUwNzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/60150701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/s-jse",
"html_url": "https://github.com/s-jse",
"followers_url": "https://api.github.com/users/s-jse/follow... | [] | closed | false | null | [] | [
"Solved. `attention_mask ` should be the full tensor (not just the last step), even when `past` is used."
] | 1,588 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT-2
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
*... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4130/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4129/comments | https://api.github.com/repos/huggingface/transformers/issues/4129/events | https://github.com/huggingface/transformers/issues/4129 | 611,334,490 | MDU6SXNzdWU2MTEzMzQ0OTA= | 4,129 | Parse in tensorflow strings as well as normal strings | {
"login": "sachinruk",
"id": 1410927,
"node_id": "MDQ6VXNlcjE0MTA5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinruk",
"html_url": "https://github.com/sachinruk",
"followers_url": "https://api.github.com/users/sa... | [
{
"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",
"Hey, any updates about this issue? I'm facing the exact same problem!",
"@sachinruk @joaopedromattos any luck here in the end :)"
] | 1,588 | 1,646 | 1,594 | CONTRIBUTOR | null | # 🚀 Feature request
So this is something I came across while trying to get a (fast) streaming dataset via the tensorflow data API for TPUs. This is a crosspost of [this SO question](https://stackoverflow.com/questions/61555097/mapping-text-data-through-huggingface-tokenizer/).
I have my encode function that looks... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4129/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4129/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4128/comments | https://api.github.com/repos/huggingface/transformers/issues/4128/events | https://github.com/huggingface/transformers/pull/4128 | 611,324,049 | MDExOlB1bGxSZXF1ZXN0NDEyNTQyNzI2 | 4,128 | Add decoder specific error message for T5Stack.forward | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4128?src=pr&el=h1) Report\n> Merging [#4128](https://codecov.io/gh/huggingface/transformers/pull/4128?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1cdd2ad2afb73f6af185aafecb7dd7941a90c4d1&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | #### This PR adds a decoder specific error message in `T5Stack.forward` in the case that `self.is_decoder == True`
This was requested in #4126 and suggested by @patrickvonplaten in #3626 .
Confirmed that this works as expected in this colab [notebook](https://colab.research.google.com/drive/1j1mdtOylXZClH-ikZthDi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4128",
"html_url": "https://github.com/huggingface/transformers/pull/4128",
"diff_url": "https://github.com/huggingface/transformers/pull/4128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4128.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4127/comments | https://api.github.com/repos/huggingface/transformers/issues/4127/events | https://github.com/huggingface/transformers/issues/4127 | 611,323,721 | MDU6SXNzdWU2MTEzMjM3MjE= | 4,127 | Model output should be dict | {
"login": "max-yue",
"id": 13486398,
"node_id": "MDQ6VXNlcjEzNDg2Mzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/13486398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/max-yue",
"html_url": "https://github.com/max-yue",
"followers_url": "https://api.github.com/users/max-yu... | [] | 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... | [
"We will soon convert the outputs of models to named tuples to that it will be more readable :-) "
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
I think model output should be a dict. Since dict are more clearly than tuple, we do not know what output[1] means, but we do know output["pooled_ouptut"] mean... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4126/comments | https://api.github.com/repos/huggingface/transformers/issues/4126/events | https://github.com/huggingface/transformers/issues/4126 | 611,322,660 | MDU6SXNzdWU2MTEzMjI2NjA= | 4,126 | No decoder specific error message for T5Stack.forward | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | When I run a forward pass with `T5Model` with a missing value for `decoder_input_ids`, it still gives me the same error message compared to when there is a missing value for `input_ids` (below).
`ValueError: You have to specify either input_ids or inputs_embeds`
I've confirmed with @patrickvonplaten that it makes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4126/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4125/comments | https://api.github.com/repos/huggingface/transformers/issues/4125/events | https://github.com/huggingface/transformers/issues/4125 | 611,294,182 | MDU6SXNzdWU2MTEyOTQxODI= | 4,125 | Is it possible to have high perplexity of some individual sentences, as compared to overall testing corpus perplexity? | {
"login": "states786",
"id": 64096105,
"node_id": "MDQ6VXNlcjY0MDk2MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/64096105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/states786",
"html_url": "https://github.com/states786",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,588 | 1,594 | 1,594 | NONE | null | Hi,
I have calculated an overall perplexity of my testing corpus after finetuning GPT-2 pretrained model
Similarly, I have also calculated perplexity of individual sentences, after extracting it from my testing corpus.
**I notice that some individual sentence perplexity is even higher than the overall perplexity... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4125/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4124/comments | https://api.github.com/repos/huggingface/transformers/issues/4124/events | https://github.com/huggingface/transformers/issues/4124 | 611,258,268 | MDU6SXNzdWU2MTEyNTgyNjg= | 4,124 | convert pytorch_model.pt [pretrained Bert model] to pytorch_model.onnx (ONNX) | {
"login": "pumpkinband",
"id": 39296817,
"node_id": "MDQ6VXNlcjM5Mjk2ODE3",
"avatar_url": "https://avatars.githubusercontent.com/u/39296817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pumpkinband",
"html_url": "https://github.com/pumpkinband",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"May be of interest to @mfuntowicz ",
"Hi @pumpkinband, \r\n\r\nI don't have the exact details of the model you're trying to load, but I'd assume a tensor of shape (1, 3) would make more sense (batch, sequence). ",
"This issue has been automatically marked as stale because it has not had recent activity. It wil... | 1,588 | 1,595 | 1,595 | NONE | null | i use this to convert pytorch_model.pt to pytorch_model.onnx
```
from torch.autograd import Variable
import torch.onnx
import torchvision
import torch
dummy_input = Variable(torch.randn(1, 3, 256, 256))
model = torch.load('./pytorch_model.pt')
torch.onnx.export(model, dummy_input, "pytorch_model.onnx")
```... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4124/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4123/comments | https://api.github.com/repos/huggingface/transformers/issues/4123/events | https://github.com/huggingface/transformers/pull/4123 | 611,250,481 | MDExOlB1bGxSZXF1ZXN0NDEyNDkxODkz | 4,123 | Text corrections | {
"login": "lapolonio",
"id": 1810412,
"node_id": "MDQ6VXNlcjE4MTA0MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1810412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lapolonio",
"html_url": "https://github.com/lapolonio",
"followers_url": "https://api.github.com/users/la... | [] | closed | false | null | [] | [
"@lapolonio - thanks a lot for these fixes. I already applied them in the main PR :-) "
] | 1,588 | 1,588 | 1,588 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4123",
"html_url": "https://github.com/huggingface/transformers/pull/4123",
"diff_url": "https://github.com/huggingface/transformers/pull/4123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4123.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4122/comments | https://api.github.com/repos/huggingface/transformers/issues/4122/events | https://github.com/huggingface/transformers/issues/4122 | 611,237,350 | MDU6SXNzdWU2MTEyMzczNTA= | 4,122 | ValueError: You are attempting to pad samples but the tokenizer you are using (GPT2Tokenizer) does not have one. | {
"login": "zixiliuUSC",
"id": 49173327,
"node_id": "MDQ6VXNlcjQ5MTczMzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/49173327?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zixiliuUSC",
"html_url": "https://github.com/zixiliuUSC",
"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
},
{
"id": 1834053007,
"node_id": "MDU6TGFiZWwxODM0MDUzMDA3",
... | closed | false | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://... | [
"I had the same error; I think the problem lies in \"line_by_line\" since if I remove this option, my code can run fine.",
"@BramVanroy - sorry to just link you here. Did we decide to add a force-padding option here or not yet? ",
"We had the discussion over here https://github.com/huggingface/transformers/pull... | 1,588 | 1,614 | 1,609 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):GPT2
Language I am using the model on (English, Chinese ...):English
The problem arises when using:
my own modified scripts: (give details below)
python examples/run_language_modeling.py \
--train_data_file=temp_gpt2/gpt2.train \
--out... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4122/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4122/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4121/comments | https://api.github.com/repos/huggingface/transformers/issues/4121/events | https://github.com/huggingface/transformers/issues/4121 | 611,223,929 | MDU6SXNzdWU2MTEyMjM5Mjk= | 4,121 | `eos_token_id` breaks the `T5ForConditionalGeneration` | {
"login": "girishponkiya",
"id": 2093282,
"node_id": "MDQ6VXNlcjIwOTMyODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2093282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/girishponkiya",
"html_url": "https://github.com/girishponkiya",
"followers_url": "https://api.github.... | [
{
"id": 1834059054,
"node_id": "MDU6TGFiZWwxODM0MDU5MDU0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20Generation",
"name": "Ex: Generation",
"color": "06EFF8",
"default": false,
"description": "Natural Language Generation"
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @girishponkiya,\r\n\r\nThanks for the detailed error description. I was not able to reproduce the error with the newest version of transformers, 2.9.0.\r\n\r\nSee google colab here: https://colab.research.google.com/drive/14TQzMBPuaNb6aZ_NoVFQrr_ZTJS2mCr3 . Can you check again with a newer version of transforme... | 1,588 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): `T5ForConditionalGeneration`
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
```python... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4121/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4120/comments | https://api.github.com/repos/huggingface/transformers/issues/4120/events | https://github.com/huggingface/transformers/pull/4120 | 611,215,138 | MDExOlB1bGxSZXF1ZXN0NDEyNDY3OTc1 | 4,120 | fixed utils_summarization import path | {
"login": "boxabirds",
"id": 147305,
"node_id": "MDQ6VXNlcjE0NzMwNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/147305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boxabirds",
"html_url": "https://github.com/boxabirds",
"followers_url": "https://api.github.com/users/boxa... | [
{
"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 you need to run `make style` and resolve merge conflicts.\r\n",
"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,588 | 1,599 | 1,599 | NONE | null | As per issue #3827 I've removed the dot in the import. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4120",
"html_url": "https://github.com/huggingface/transformers/pull/4120",
"diff_url": "https://github.com/huggingface/transformers/pull/4120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4120.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4119/comments | https://api.github.com/repos/huggingface/transformers/issues/4119/events | https://github.com/huggingface/transformers/pull/4119 | 611,214,398 | MDExOlB1bGxSZXF1ZXN0NDEyNDY3NTA4 | 4,119 | Fix markdown to show the results table properly | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4119?src=pr&el=h1) Report\n> Merging [#4119](https://codecov.io/gh/huggingface/transformers/pull/4119?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1cdd2ad2afb73f6af185aafecb7dd7941a90c4d1&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4119",
"html_url": "https://github.com/huggingface/transformers/pull/4119",
"diff_url": "https://github.com/huggingface/transformers/pull/4119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4119.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4118/comments | https://api.github.com/repos/huggingface/transformers/issues/4118/events | https://github.com/huggingface/transformers/pull/4118 | 611,189,690 | MDExOlB1bGxSZXF1ZXN0NDEyNDUxNjEw | 4,118 | Update run_pl_ner.py | {
"login": "williamFalcon",
"id": 3640001,
"node_id": "MDQ6VXNlcjM2NDAwMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3640001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/williamFalcon",
"html_url": "https://github.com/williamFalcon",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Thanks @williamFalcon – do we need to bump the minimal version of `pytorch-lightning` then?",
"We're backward compatible, so no need to bump but 0.7.5 has forward support for native amp and solves a few key bugs that were present in earlier versions. I would recommend bumping up."
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4118/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4118",
"html_url": "https://github.com/huggingface/transformers/pull/4118",
"diff_url": "https://github.com/huggingface/transformers/pull/4118.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4118.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4117/comments | https://api.github.com/repos/huggingface/transformers/issues/4117/events | https://github.com/huggingface/transformers/pull/4117 | 611,189,483 | MDExOlB1bGxSZXF1ZXN0NDEyNDUxNDg2 | 4,117 | Update run_pl_glue.py | {
"login": "williamFalcon",
"id": 3640001,
"node_id": "MDQ6VXNlcjM2NDAwMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3640001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/williamFalcon",
"html_url": "https://github.com/williamFalcon",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Same question as https://github.com/huggingface/transformers/pull/4118#issuecomment-622963241"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4117/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4117",
"html_url": "https://github.com/huggingface/transformers/pull/4117",
"diff_url": "https://github.com/huggingface/transformers/pull/4117.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4117.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4116/comments | https://api.github.com/repos/huggingface/transformers/issues/4116/events | https://github.com/huggingface/transformers/pull/4116 | 611,182,351 | MDExOlB1bGxSZXF1ZXN0NDEyNDQ3NjE4 | 4,116 | Updated | {
"login": "qianchu",
"id": 19550979,
"node_id": "MDQ6VXNlcjE5NTUwOTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/19550979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qianchu",
"html_url": "https://github.com/qianchu",
"followers_url": "https://api.github.com/users/qianch... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4116/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4116",
"html_url": "https://github.com/huggingface/transformers/pull/4116",
"diff_url": "https://github.com/huggingface/transformers/pull/4116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4116.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4115/comments | https://api.github.com/repos/huggingface/transformers/issues/4115/events | https://github.com/huggingface/transformers/pull/4115 | 611,164,305 | MDExOlB1bGxSZXF1ZXN0NDEyNDM3NTg2 | 4,115 | Create model card | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Great!",
"You do not rest even on Saturday! 🦾"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Create Model card for distilroberta-base-finetuned-sentiment | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4115",
"html_url": "https://github.com/huggingface/transformers/pull/4115",
"diff_url": "https://github.com/huggingface/transformers/pull/4115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4115.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4114/comments | https://api.github.com/repos/huggingface/transformers/issues/4114/events | https://github.com/huggingface/transformers/pull/4114 | 611,158,856 | MDExOlB1bGxSZXF1ZXN0NDEyNDM0MDQw | 4,114 | model card for surajp/albert-base-sanskrit | {
"login": "parmarsuraj99",
"id": 9317265,
"node_id": "MDQ6VXNlcjkzMTcyNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9317265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parmarsuraj99",
"html_url": "https://github.com/parmarsuraj99",
"followers_url": "https://api.github.... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4114?src=pr&el=h1) Report\n> Merging [#4114](https://codecov.io/gh/huggingface/transformers/pull/4114?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/abb1fa3f374811ea09d0bc3440d820c50735008d&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Added Model card for `surajp/albert-base-sanskrit` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4114",
"html_url": "https://github.com/huggingface/transformers/pull/4114",
"diff_url": "https://github.com/huggingface/transformers/pull/4114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4114.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4113/comments | https://api.github.com/repos/huggingface/transformers/issues/4113/events | https://github.com/huggingface/transformers/pull/4113 | 611,134,447 | MDExOlB1bGxSZXF1ZXN0NDEyNDE3OTA2 | 4,113 | [Reformer] Move model card to google model | {
"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,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4113/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4113",
"html_url": "https://github.com/huggingface/transformers/pull/4113",
"diff_url": "https://github.com/huggingface/transformers/pull/4113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4113.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.