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/3912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3912/comments | https://api.github.com/repos/huggingface/transformers/issues/3912/events | https://github.com/huggingface/transformers/issues/3912 | 605,252,709 | MDU6SXNzdWU2MDUyNTI3MDk= | 3,912 | ImportError: cannot import name 'DataCollatorForLanguageModeling'_File "run_language_modeling.py" | {
"login": "Kittisaksam",
"id": 51687539,
"node_id": "MDQ6VXNlcjUxNjg3NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/51687539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kittisaksam",
"html_url": "https://github.com/Kittisaksam",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Unfortunatelly I have the same error\r\n\r\nTraceback (most recent call last):\r\n File \"run_language_modeling.py\", line 29, in <module>\r\n from transformers import (\r\nImportError: cannot import name 'DataCollatorForLanguageModeling' from 'transformers' (E:\\PycharmProjects\\Ancient_BERT\\venv\\lib\\site-... | 1,587 | 1,657 | 1,587 | 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/3912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3912/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3911/comments | https://api.github.com/repos/huggingface/transformers/issues/3911/events | https://github.com/huggingface/transformers/issues/3911 | 605,228,871 | MDU6SXNzdWU2MDUyMjg4NzE= | 3,911 | Type Hints for modeling_utils.py | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,587 | 1,590 | 1,590 | CONTRIBUTOR | null | add [type hints](https://docs.python.org/3/library/typing.html) to the methods for better readability and autocomplete.
If possible, check your work with an automated tool and tell us how you did it! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3911/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3910/comments | https://api.github.com/repos/huggingface/transformers/issues/3910/events | https://github.com/huggingface/transformers/issues/3910 | 605,167,683 | MDU6SXNzdWU2MDUxNjc2ODM= | 3,910 | GPT2 generations with specific words | {
"login": "prabalbansal",
"id": 30004110,
"node_id": "MDQ6VXNlcjMwMDA0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/30004110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prabalbansal",
"html_url": "https://github.com/prabalbansal",
"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... | [
"These `next_token_logits[batch_idx, banned_tokens[batch_idx]]` are logits in the `range(-inf, inf)` not probabilities. You can try to set all other logits except your banned_tokens to `-float(\"inf\")`"
] | 1,587 | 1,591 | 1,591 | 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/3910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3910/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3909/comments | https://api.github.com/repos/huggingface/transformers/issues/3909/events | https://github.com/huggingface/transformers/pull/3909 | 605,134,545 | MDExOlB1bGxSZXF1ZXN0NDA3NTk2ODg2 | 3,909 | Shuffle train subset for summarization example | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3909?src=pr&el=h1) Report\n> Merging [#3909](https://codecov.io/gh/huggingface/transformers/pull/3909?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cb3c2212c79d7ff0a4a4e84c3db48371ecc1c15d&el=desc) will **increase... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | Fix #3892
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3909",
"html_url": "https://github.com/huggingface/transformers/pull/3909",
"diff_url": "https://github.com/huggingface/transformers/pull/3909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3909.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3908/comments | https://api.github.com/repos/huggingface/transformers/issues/3908/events | https://github.com/huggingface/transformers/pull/3908 | 605,119,098 | MDExOlB1bGxSZXF1ZXN0NDA3NTg0MTA3 | 3,908 | MarianMTModel.from_pretrained('Helsinki-NLP/opus-marian-en-de') | {
"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": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1NjA5MDE3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq",
"name": "seq2seq",
"color": "fef2c0",
"default": false,
"description": ""
},
{
"id": 2009457320,
"node_id": "MDU6TGFiZWwyMDA5NDU3MzIw",
... | closed | false | null | [] | [
"I think that's awesome! Such little code changes to include that many models is amazing :-) \r\nDoes the model with the pre-trained weights produce 1-to-1 the same results as the official Marian models in C++?",
"@patrickvonplaten the generations are very sensible, but not identical to marian, due to slightly di... | 1,587 | 1,592 | 1,588 | CONTRIBUTOR | null | Adds support for `opus/marian-en-de` translation models:
- There are 900 models with this `MarianSentencePieceTokenizer`, `MarianMTModel` setup. - This PR only adds en-de to avoid massive S3 maintenance if names/other things change.
- There is no formal connection to the bart authors, but the bart code is well-tested... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3908/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 4,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3908",
"html_url": "https://github.com/huggingface/transformers/pull/3908",
"diff_url": "https://github.com/huggingface/transformers/pull/3908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3908.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3907/comments | https://api.github.com/repos/huggingface/transformers/issues/3907/events | https://github.com/huggingface/transformers/pull/3907 | 605,105,346 | MDExOlB1bGxSZXF1ZXN0NDA3NTcyNzYw | 3,907 | Fix TF optimization classes and apply the changes in the NER TF script | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3907?src=pr&el=h1) Report\n> Merging [#3907](https://codecov.io/gh/huggingface/transformers/pull/3907?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cb3c2212c79d7ff0a4a4e84c3db48371ecc1c15d&el=desc) will **not chan... | 1,587 | 1,589 | 1,589 | CONTRIBUTOR | null | This PR fix the AdamW and GradientAccumulator optimization classes for Tensorflow. Furthermore, we apply these new changes in the NER TF script. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3907",
"html_url": "https://github.com/huggingface/transformers/pull/3907",
"diff_url": "https://github.com/huggingface/transformers/pull/3907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3907.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3906/comments | https://api.github.com/repos/huggingface/transformers/issues/3906/events | https://github.com/huggingface/transformers/pull/3906 | 605,098,176 | MDExOlB1bGxSZXF1ZXN0NDA3NTY3MDc2 | 3,906 | [Cleanup] Fix typos in modeling_utils.py | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,587 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3906",
"html_url": "https://github.com/huggingface/transformers/pull/3906",
"diff_url": "https://github.com/huggingface/transformers/pull/3906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3906.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3905/comments | https://api.github.com/repos/huggingface/transformers/issues/3905/events | https://github.com/huggingface/transformers/issues/3905 | 605,073,477 | MDU6SXNzdWU2MDUwNzM0Nzc= | 3,905 | BERT TF-Lite conversion not working in TensorFlow 2.2.0 | {
"login": "r4ghu",
"id": 5736976,
"node_id": "MDQ6VXNlcjU3MzY5NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5736976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/r4ghu",
"html_url": "https://github.com/r4ghu",
"followers_url": "https://api.github.com/users/r4ghu/follower... | [
{
"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,587 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
Model conversion succeeds but inputs and outputs are not recognized.
## Information
Model I am using (Bert, XLNet ...): BERT (`bert-base-uncased`)
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
- TensorFlow 2.1.0 + Transformers 2.8.0 - has no probl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3905/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/3905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3904/comments | https://api.github.com/repos/huggingface/transformers/issues/3904/events | https://github.com/huggingface/transformers/issues/3904 | 605,041,334 | MDU6SXNzdWU2MDUwNDEzMzQ= | 3,904 | how i pass from an AutoModelWithLMHead to a GPT2DoubleHeadsModel ? | {
"login": "nikkon3",
"id": 41228217,
"node_id": "MDQ6VXNlcjQxMjI4MjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/41228217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikkon3",
"html_url": "https://github.com/nikkon3",
"followers_url": "https://api.github.com/users/nikkon... | [] | closed | false | null | [] | [
"It will load the weights, but will not load the multiple choice head as it's not in the checkpoint. That's why fine-tuning it is a good idea, so that this head's weights get trained!"
] | 1,587 | 1,589 | 1,589 | NONE | null | I used your script of run_language_modeling.py to train a gpt2 model from scratch. Here i save it and upload:
from transformers import AutoModelWithLMHead, AutoTokenizer
import os
directory = "./checkpoint"
model = AutoModelWithLMHead.from_pretrained(directory)
tokenizer = AutoTokenizer.from_pretrained(directory... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3904/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3903/comments | https://api.github.com/repos/huggingface/transformers/issues/3903/events | https://github.com/huggingface/transformers/issues/3903 | 604,996,755 | MDU6SXNzdWU2MDQ5OTY3NTU= | 3,903 | T5 shows weird behaviour in a sanity check of its pre-training task. | {
"login": "yuvalkirstain",
"id": 57996478,
"node_id": "MDQ6VXNlcjU3OTk2NDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuvalkirstain",
"html_url": "https://github.com/yuvalkirstain",
"followers_url": "https://api.githu... | [] | 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 @yuvalkirstain,\r\n\r\n\r\nThanks for your message! \r\n\r\nWhen you put in `input_ids` and `lm_labels` at the some time the following happens:\r\nthe `decoder_input_ids` are created automatically depending on the `lm_labels` (shift `lm_labels` to the right and pre-prend `<PAD>`) and look as follows: \r\n`<PAD>... | 1,587 | 1,588 | 1,587 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): T5
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* no script, just a few simple commands. watch below.
## To reproduce
Steps to reproduce the behavior:
1.
```
from transformers import T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3903/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3902/comments | https://api.github.com/repos/huggingface/transformers/issues/3902/events | https://github.com/huggingface/transformers/issues/3902 | 604,995,241 | MDU6SXNzdWU2MDQ5OTUyNDE= | 3,902 | RuntimeError: index out of range at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:237 | {
"login": "rvoak",
"id": 42851812,
"node_id": "MDQ6VXNlcjQyODUxODEy",
"avatar_url": "https://avatars.githubusercontent.com/u/42851812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rvoak",
"html_url": "https://github.com/rvoak",
"followers_url": "https://api.github.com/users/rvoak/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 | [] | [
"How big are your batches? BERT can only accept tensors of maximum length of 512. Is it possible one of your inputs is longer than 512?",
"I had the same issue while my `per_gpu_eval_batch_size=8` and `per_gpu_train_batch_size=8 `. ",
"Yes, it's unrelated to batch size. Is your sequence length longer than 512?"... | 1,587 | 1,612 | 1,605 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert-base-uncased
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 work... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3902/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3901/comments | https://api.github.com/repos/huggingface/transformers/issues/3901/events | https://github.com/huggingface/transformers/issues/3901 | 604,975,183 | MDU6SXNzdWU2MDQ5NzUxODM= | 3,901 | How to only use part of pretrained model | {
"login": "yes1234man",
"id": 59166627,
"node_id": "MDQ6VXNlcjU5MTY2NjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/59166627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yes1234man",
"html_url": "https://github.com/yes1234man",
"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 | [] | [
"How did you obtain your pre-trained model? Does your pre-train model have a classification head? What is `model_class`? Is it `BertForSequenceClassification`?",
"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 fo... | 1,587 | 1,595 | 1,595 | NONE | null | Hi
I am using BERT for classification, I have a pretrained model, and my question is when I load the model like this:
model = model_class.from_pretrained(
args.model_name_or_path,
from_tf=bool(".ckpt" in args.model_name_or_path),
config=config,
cache_dir=args.cache_dir if args.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3901/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3900/comments | https://api.github.com/repos/huggingface/transformers/issues/3900/events | https://github.com/huggingface/transformers/pull/3900 | 604,949,987 | MDExOlB1bGxSZXF1ZXN0NDA3NDQ1OTg5 | 3,900 | quick fix wording readme for community models | {
"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,587 | 1,587 | 1,587 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3900",
"html_url": "https://github.com/huggingface/transformers/pull/3900",
"diff_url": "https://github.com/huggingface/transformers/pull/3900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3900.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3899/comments | https://api.github.com/repos/huggingface/transformers/issues/3899/events | https://github.com/huggingface/transformers/issues/3899 | 604,832,353 | MDU6SXNzdWU2MDQ4MzIzNTM= | 3,899 | NLQ application | {
"login": "thiagomoeng",
"id": 64150563,
"node_id": "MDQ6VXNlcjY0MTUwNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/64150563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thiagomoeng",
"html_url": "https://github.com/thiagomoeng",
"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 | [] | [
"I assume you concatenate all paragraphs in a single text string, encode it with your question, and give the string as an input to your QA model (or pipeline). What you get back, is an answer span: indexes of the first and last character of the answer in the input text. To find a paragraph it belongs to, compute i... | 1,587 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
I have a pdf extractor and from this I got a dataframe with 2 columns (sections,paragraphs).
Is there any easy way to do a question and get answer like: (example)
Question: "where is the book?"
Answer: "It's on the bookshelf."
Section: "1.2.3 The Book"
Paragraph: "(Full section paragraph)"
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3898/comments | https://api.github.com/repos/huggingface/transformers/issues/3898/events | https://github.com/huggingface/transformers/pull/3898 | 604,827,892 | MDExOlB1bGxSZXF1ZXN0NDA3MzQ3OTQx | 3,898 | Bump tokenizers version to final 0.7.0 | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [] | closed | false | null | [] | [] | 1,587 | 1,587 | 1,587 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3898",
"html_url": "https://github.com/huggingface/transformers/pull/3898",
"diff_url": "https://github.com/huggingface/transformers/pull/3898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3898.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3897/comments | https://api.github.com/repos/huggingface/transformers/issues/3897/events | https://github.com/huggingface/transformers/issues/3897 | 604,774,339 | MDU6SXNzdWU2MDQ3NzQzMzk= | 3,897 | How to fine-tune DialoGPT with your own data? | {
"login": "avinregmi",
"id": 32203792,
"node_id": "MDQ6VXNlcjMyMjAzNzky",
"avatar_url": "https://avatars.githubusercontent.com/u/32203792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avinregmi",
"html_url": "https://github.com/avinregmi",
"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... | [
"DialoGPT is fine-tuned in the same way GPT2 in fine-tuned. Please take a look at the paper: \r\nhttps://arxiv.org/pdf/1911.00536.pdf . \r\n\r\nI will also add some training tips to the doc string."
] | 1,587 | 1,588 | 1,588 | NONE | null | # 🚀 How to fine-tune DialoGPT with your own data?
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
## Motivation
I really liked the new DialoGPT that allows to make chatbots, but how do i fine-tune this for own dataset?
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3897/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3896/comments | https://api.github.com/repos/huggingface/transformers/issues/3896/events | https://github.com/huggingface/transformers/issues/3896 | 604,681,806 | MDU6SXNzdWU2MDQ2ODE4MDY= | 3,896 | ImportError: cannot import name 'DataCollatorForLanguageModeling' in run_language_modeling.py | {
"login": "ishaansharma",
"id": 8963395,
"node_id": "MDQ6VXNlcjg5NjMzOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8963395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ishaansharma",
"html_url": "https://github.com/ishaansharma",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Duplicate of #3893 \r\n\r\nPlease install from source until we release a new version of the library on PyPI"
] | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug ImportError: cannot import name 'DataCollatorForLanguageModeling' in run_language_modeling.py
## Information
> Traceback (most recent call last):
> File "transformers/examples/run_language_modeling.py", line 29, in <module>
> from transformers import (
> ImportError: cannot import name 'DataCollat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3896/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3895/comments | https://api.github.com/repos/huggingface/transformers/issues/3895/events | https://github.com/huggingface/transformers/issues/3895 | 604,659,995 | MDU6SXNzdWU2MDQ2NTk5OTU= | 3,895 | run_bertology: AttributeError: 'NoneType' object has no attribute 'abs' | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"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
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
... | closed | false | null | [] | [
"Sorry, I think it is the same issue as #4103. ",
"Please don't open duplicate issues. If you have more info about this issue, post it here. Also, please use [code blocks](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks).",
"> Please don't open duplicate issues. If you ... | 1,587 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
One more question did run_bertology also support albert model?
Model I am using (Bert, XLNet ...): Bert
Language I am using the model on (English, Chinese ...):English
The problem arises when using:
* [ ] the official example scripts: (give details below)
run_bertology.py
* [ ] my ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3895/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3894/comments | https://api.github.com/repos/huggingface/transformers/issues/3894/events | https://github.com/huggingface/transformers/issues/3894 | 604,647,290 | MDU6SXNzdWU2MDQ2NDcyOTA= | 3,894 | FileNotFoundError: [Errno 2] No such file or directory: 'mnli/dev_matched.tsv' | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Well, it looks like you don't have the \"mnli/dev_matched.tsv\" file downloaded? You can download the GLUE datasets using [utils/download_glue_data.py](https://github.com/huggingface/transformers/blob/master/utils/download_glue_data.py)"
] | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
## Information
A strange error:
INFO:transformers.data.datasets.glue:Creating features from dataset file at mnli
Traceback (most recent call last):
File "run_bertology.py", line 426, in <module>
main()
File "run_bertology.py", line 407, in main
eval_dataset = GlueDataset(args, tokenizer=t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3894/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3893/comments | https://api.github.com/repos/huggingface/transformers/issues/3893/events | https://github.com/huggingface/transformers/issues/3893 | 604,468,068 | MDU6SXNzdWU2MDQ0NjgwNjg= | 3,893 | Can not import DataCollatorForLanguageModeling | {
"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.... | [] | closed | false | null | [] | [
"I was installing from pip and it isn't updated yet. Building from source solved this.",
"I am trying to run this from source and still I am getting the same error! \r\nPlease have a look at this [here](https://github.com/huggingface/transformers/issues/3896#issue-604681806)",
"It's because the pip package hasn... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (ALBERT):
Language I am using the model on (Sanskrit, Hindi):
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:
* [ ] an official GLUE/SQUaD ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3892/comments | https://api.github.com/repos/huggingface/transformers/issues/3892/events | https://github.com/huggingface/transformers/issues/3892 | 604,404,617 | MDU6SXNzdWU2MDQ0MDQ2MTc= | 3,892 | ❓ Summarization example : Why no shuffling ? | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | 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... | [
"No good reason.\r\nDo you feel comfortable sending a PR that shuffles for train loader only?\r\n"
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | # ❓ Questions & Help
Usually, when loading using Dataloader, data is shuffled for the training set. But in the case of the summarization example, data is not shuffled for training set :
https://github.com/huggingface/transformers/blob/1dc9b3c7847269961458c059ad8ad443b26bf60d/examples/summarization/bart/finetune.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3892/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3891/comments | https://api.github.com/repos/huggingface/transformers/issues/3891/events | https://github.com/huggingface/transformers/issues/3891 | 604,330,183 | MDU6SXNzdWU2MDQzMzAxODM= | 3,891 | Allow one to return encoder attentions in seq2seq generation | {
"login": "aced125",
"id": 44452903,
"node_id": "MDQ6VXNlcjQ0NDUyOTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/44452903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aced125",
"html_url": "https://github.com/aced125",
"followers_url": "https://api.github.com/users/aced12... | [
{
"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 @aced125, I agree that this functionality should be provided :-) \r\n\r\nI think in the PR, one has to include a `output_attention` argument to the `generate()` function and then make sure that the output idx are correct! \r\nBefore starting this PR, this PR should probably be solved before: https://github.com/... | 1,587 | 1,608 | 1,608 | NONE | null | # 🚀 Feature request
Please could we have the ability to return attention weights from the decoded generated tokens to the encoded source?
## Motivation
To attribute the decoded text. E.g in the summarization task we want to see where the decoder was paying attention to in the source.
## Your contribution
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3890/comments | https://api.github.com/repos/huggingface/transformers/issues/3890/events | https://github.com/huggingface/transformers/pull/3890 | 604,297,515 | MDExOlB1bGxSZXF1ZXN0NDA2OTE4MzM4 | 3,890 | 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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3890?src=pr&el=h1) Report\n> Merging [#3890](https://codecov.io/gh/huggingface/transformers/pull/3890?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eb5601b0a5a88824a2598956f96e06e7f2422bce&el=desc) will **decrease... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | Model: TinyBERT-spanish-uncased-finetuned-ner | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3890",
"html_url": "https://github.com/huggingface/transformers/pull/3890",
"diff_url": "https://github.com/huggingface/transformers/pull/3890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3890.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3889/comments | https://api.github.com/repos/huggingface/transformers/issues/3889/events | https://github.com/huggingface/transformers/pull/3889 | 604,296,355 | MDExOlB1bGxSZXF1ZXN0NDA2OTE3Mzky | 3,889 | Update comparison table | {
"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,587 | 1,587 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3889/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3889",
"html_url": "https://github.com/huggingface/transformers/pull/3889",
"diff_url": "https://github.com/huggingface/transformers/pull/3889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3889.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3888/comments | https://api.github.com/repos/huggingface/transformers/issues/3888/events | https://github.com/huggingface/transformers/issues/3888 | 604,260,241 | MDU6SXNzdWU2MDQyNjAyNDE= | 3,888 | encode_for_summarization function did actually add CLS and SEP to separate sentences | {
"login": "xdwang0726",
"id": 16963017,
"node_id": "MDQ6VXNlcjE2OTYzMDE3",
"avatar_url": "https://avatars.githubusercontent.com/u/16963017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xdwang0726",
"html_url": "https://github.com/xdwang0726",
"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,587 | 1,593 | 1,593 | NONE | null | https://github.com/huggingface/transformers/blob/d32585a304107cb9f42ccb0e1278405aa3eb6c9c/examples/summarization/bertabs/utils_summarization.py#L130
Hi,
Could you please take a look at this part of the codes? I think this part might not act the function to separate the sentences. The function doesn't actually ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3887/comments | https://api.github.com/repos/huggingface/transformers/issues/3887/events | https://github.com/huggingface/transformers/issues/3887 | 604,229,904 | MDU6SXNzdWU2MDQyMjk5MDQ= | 3,887 | pytorch lightning examples doesn't work in multi gpu's with backend=dp | {
"login": "leslyarun",
"id": 5101854,
"node_id": "MDQ6VXNlcjUxMDE4NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5101854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leslyarun",
"html_url": "https://github.com/leslyarun",
"followers_url": "https://api.github.com/users/le... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I get the below error:\r\n\r\n```\r\nValidation sanity check: 0%| | 0/5 [00:00<?, ?it/s]Traceback (most recent call last):\r\n File \"run_pl_glue.py\", line 186, in <module>\r\n trainer = generic_tr... | 1,587 | 1,603 | 1,603 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] the official example scripts: run_pl.sh (run_pl_glue.py)
The tasks I am working on is:
* [x] an official GLUE/SQUaD task: Glue
## To ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3886/comments | https://api.github.com/repos/huggingface/transformers/issues/3886/events | https://github.com/huggingface/transformers/issues/3886 | 604,178,238 | MDU6SXNzdWU2MDQxNzgyMzg= | 3,886 | How to find a correct place of original word from the list of predicted words from 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/... | [
{
"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... | [
"It won't be that easy since some words will be split into multiple tokens so you have to make two forward passes. \r\n\r\nIf you limit your `original_word` to just one token words (you can check that simply with `len(tokenizer.encode(original_word))==1`. Then your idea here should work. \r\n\r\nIf not it's gonna ... | 1,587 | 1,593 | 1,593 | NONE | null | Hi,
I would like to calculate at which place correct word option lies in the top 5 predicted words from GPT-2 model?
For this purpose, I am using following code snippet:
```
subseq = "The car moves very" #sample sequence
orignal_word="fast"
sequence = tokenizer.encode(subseq, retur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3885/comments | https://api.github.com/repos/huggingface/transformers/issues/3885/events | https://github.com/huggingface/transformers/issues/3885 | 604,173,463 | MDU6SXNzdWU2MDQxNzM0NjM= | 3,885 | Pretrain From Scratch using Google TPU | {
"login": "muhammadfahid51",
"id": 57350797,
"node_id": "MDQ6VXNlcjU3MzUwNzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/57350797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muhammadfahid51",
"html_url": "https://github.com/muhammadfahid51",
"followers_url": "https://api... | [
{
"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,587 | 1,593 | 1,593 | NONE | null | @julien-c @patrickvonplaten
I want to pretrain a model from scratch by utilizing Google Cloud TPU offered in kaggle. I can train the model without TPU but I want to train it on a TPU. Any help will be much appreciated.
Also what options do I have, if there is no straight forward approach ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3884/comments | https://api.github.com/repos/huggingface/transformers/issues/3884/events | https://github.com/huggingface/transformers/issues/3884 | 604,143,345 | MDU6SXNzdWU2MDQxNDMzNDU= | 3,884 | Problem trying to run AlbertForMaskedLM on Colab TPU: TypeError: can't pickle torch._C.ScriptFunction objects when calling xm.send_cpu_data_to_device(model, dev) | {
"login": "ayanyuegupta",
"id": 43908663,
"node_id": "MDQ6VXNlcjQzOTA4NjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/43908663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayanyuegupta",
"html_url": "https://github.com/ayanyuegupta",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Seems fixed now--delete transformers installed via pip and install by cloning this repo."
] | 1,587 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): AlbertForMaskedLM
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)
The tasks I am wor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3884/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/3884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3883/comments | https://api.github.com/repos/huggingface/transformers/issues/3883/events | https://github.com/huggingface/transformers/issues/3883 | 604,112,109 | MDU6SXNzdWU2MDQxMTIxMDk= | 3,883 | No longer able to fine-tune GPT2 using provided examples | {
"login": "texturejc",
"id": 24894080,
"node_id": "MDQ6VXNlcjI0ODk0MDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/24894080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/texturejc",
"html_url": "https://github.com/texturejc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Never mind; this was an issue with the colab. It's sorted now."
] | 1,587 | 1,587 | 1,587 | NONE | null | A few months ago, I was able to run GPT2 on a Google Colab notebook. This was using the following script, which is based on the provided docs:
```
!git clone https://github.com/huggingface/transformers
%cd transformers
!pip install .
!pip install -r ./examples/requirements.txt
!python /content/transformers/ex... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3883/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3882/comments | https://api.github.com/repos/huggingface/transformers/issues/3882/events | https://github.com/huggingface/transformers/pull/3882 | 604,099,727 | MDExOlB1bGxSZXF1ZXN0NDA2NzU2ODM1 | 3,882 | Create model card for RoBERTa large fine-tuned on wsc | {
"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 | [] | [
"I there any problem with this card?"
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3882/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3882",
"html_url": "https://github.com/huggingface/transformers/pull/3882",
"diff_url": "https://github.com/huggingface/transformers/pull/3882.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3882.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3881/comments | https://api.github.com/repos/huggingface/transformers/issues/3881/events | https://github.com/huggingface/transformers/pull/3881 | 604,065,612 | MDExOlB1bGxSZXF1ZXN0NDA2NzI5NTMz | 3,881 | Fix Torch.hub + Integration test | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"(Hmm, GitHub was failing earlier today, and now it seems to have posted my comment multiple times. Sorry about that.)",
"See cbbb3c43c55d2d93a156fc80bd12f31ecbac8520"
] | 1,587 | 1,587 | 1,587 | MEMBER | null | - Torch.hub doesn't use pip-installed versions of modules, but uses a [custom importer instead](https://github.com/pytorch/pytorch/blob/master/torch/hub.py#L70-L83) (it imports `hubconf.py`) which means that:
- all imports from hubconf.py refer to src.transformers instead of transformers
- all imports inside the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3881",
"html_url": "https://github.com/huggingface/transformers/pull/3881",
"diff_url": "https://github.com/huggingface/transformers/pull/3881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3881.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3880/comments | https://api.github.com/repos/huggingface/transformers/issues/3880/events | https://github.com/huggingface/transformers/issues/3880 | 604,022,389 | MDU6SXNzdWU2MDQwMjIzODk= | 3,880 | Replace `config.output_attentions` parameter with function argument `output_attentions` | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi, I would like to work on this issue.",
"That's great :-) Do you want to open a PR and do the changes analogous to PR: #3734 ? ",
"Is this still be worked on? If not, I'd be happy to make a first contribution here",
"First PR first serve ;-) Still an open issue",
"Any tips on how I should proceed? I was ... | 1,587 | 1,591 | 1,591 | MEMBER | null | # 🚀 Feature request
Currently the user has to decide whether the model should output the attentions when she/he creates the config of a model: config.output_attentions = True/False. It would be nice if the user can decide this when calling the models `forward()` / `call()` with a flag `output_attentions`. This shou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3880/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/3880/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3879/comments | https://api.github.com/repos/huggingface/transformers/issues/3879/events | https://github.com/huggingface/transformers/issues/3879 | 604,020,219 | MDU6SXNzdWU2MDQwMjAyMTk= | 3,879 | Replace `config.output_hidden_states` parameter with function argument `output_hidden_states` | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 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 | null | [] | [
"Hi, @patrickvonplaten I want to take up this issue. Can I move forward with it? ",
"I think this could have side effects for libraries that use `config.output_hidden_states`, so I'm cc'ing @Timoeller and @brandenchan, because this parameter is used in [FARM](https://github.com/deepset-ai/FARM).",
"> Hi, @patri... | 1,587 | 1,595 | 1,595 | MEMBER | null | # 🚀 Feature request
Currently the user has to decide whether the model should output the hidden states when she/he creates the config of a model: `config.output_hidden_states = True/False`. It would be nice if the user can decide this when calling the models `forward()` / `call()` with a flag `output_hidden_states... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3879/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/3879/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3878/comments | https://api.github.com/repos/huggingface/transformers/issues/3878/events | https://github.com/huggingface/transformers/issues/3878 | 603,976,902 | MDU6SXNzdWU2MDM5NzY5MDI= | 3,878 | When will ELECTRA pretraining from scratch will be available? | {
"login": "008karan",
"id": 18630864,
"node_id": "MDQ6VXNlcjE4NjMwODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18630864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/008karan",
"html_url": "https://github.com/008karan",
"followers_url": "https://api.github.com/users/008... | [
{
"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 | [] | [
"Working on it as we speak :).\r\n\r\nI'd say it will be out in a few weeks at most.",
"Is Albert pretraining from scratch is available? @LysandreJik \r\n",
"@LysandreJik do you think the update will be available by the end of the month ? Maybe it has been postponed due to the recent addition of the Trainer and... | 1,587 | 1,620 | 1,605 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to 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/3878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3878/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3877/comments | https://api.github.com/repos/huggingface/transformers/issues/3877/events | https://github.com/huggingface/transformers/issues/3877 | 603,951,572 | MDU6SXNzdWU2MDM5NTE1NzI= | 3,877 | ImportError: cannot import name 'MODEL_CLASSES' from 'run_glue' | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"Should be fixed on master, please share if it does/your results"
] | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
## Information
I try to run the latest versions of the examples and got the error message(I have installed the main README mentioned procedure from source):
Traceback (most recent call last):
File "run_bertology.py", line 33, in <module>
from run_glue import ALL_MODELS, MODEL_CLASSES, load_and_c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3876/comments | https://api.github.com/repos/huggingface/transformers/issues/3876/events | https://github.com/huggingface/transformers/issues/3876 | 603,868,520 | MDU6SXNzdWU2MDM4Njg1MjA= | 3,876 | How to reduce random summary generation of BART Summarization models? | {
"login": "aliasneo1",
"id": 3222258,
"node_id": "MDQ6VXNlcjMyMjIyNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3222258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aliasneo1",
"html_url": "https://github.com/aliasneo1",
"followers_url": "https://api.github.com/users/al... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"BART is used as a model for abstractive summarization so it can use different words than those used in the original text. But it should not go *off-topic*. You could use an extractive summarization model instead which does not generate new nouns. Also you might be interested in the methods from [*Controlling the A... | 1,587 | 1,593 | 1,593 | NONE | null | Currently BART model trained on CNN dataset is generating summaries which consist of new nouns which are not present in the input text.
How to control the randomness of these summaries. Is there any parameter like temperature in GPT-2 model which can control the degree to which the model can go off-topic?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3876/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3875/comments | https://api.github.com/repos/huggingface/transformers/issues/3875/events | https://github.com/huggingface/transformers/issues/3875 | 603,862,682 | MDU6SXNzdWU2MDM4NjI2ODI= | 3,875 | T5 Translation Error | {
"login": "liesun1994",
"id": 16813308,
"node_id": "MDQ6VXNlcjE2ODEzMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/16813308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liesun1994",
"html_url": "https://github.com/liesun1994",
"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... | [
"Why do you use `decoder_start_token_id = tokenizer.eos_token_id` ? Is that stated in the examples somewhere? \r\n\r\nIf you do:\r\n```\r\nfrom transformers import T5Tokenizer, T5ForConditionalGeneration\r\ntokenizer = T5Tokenizer.from_pretrained('t5-base')\r\nmodel = T5ForConditionalGeneration.from_pretrained('t5-... | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
## Information
Model I am using (T5-base):
Language I am using the model on (T5-base):
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
```
from transformers import T5Tokenizer, T5ForConditionalGenerat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3875/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3874/comments | https://api.github.com/repos/huggingface/transformers/issues/3874/events | https://github.com/huggingface/transformers/pull/3874 | 603,644,379 | MDExOlB1bGxSZXF1ZXN0NDA2MzkxMDE1 | 3,874 | create readme for spentaur/yelp model | {
"login": "spentaur",
"id": 2055801,
"node_id": "MDQ6VXNlcjIwNTU4MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2055801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spentaur",
"html_url": "https://github.com/spentaur",
"followers_url": "https://api.github.com/users/spent... | [
{
"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 | [] | [
"It is! (though ideally you would add an example of use + details about training)\r\n\r\nWill merge this unless you add more in the next 24 hours.",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3874?src=pr&el=h1) Report\n> Merging [#3874](https://codecov.io/gh/huggingface/transformers/pull/387... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | sorry, not sure if this is the right way to do this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3874/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/3874/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3874",
"html_url": "https://github.com/huggingface/transformers/pull/3874",
"diff_url": "https://github.com/huggingface/transformers/pull/3874.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3874.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3873/comments | https://api.github.com/repos/huggingface/transformers/issues/3873/events | https://github.com/huggingface/transformers/issues/3873 | 603,602,658 | MDU6SXNzdWU2MDM2MDI2NTg= | 3,873 | Call to torch.pow() passing integer as exponent isn't per PyTorch docs | {
"login": "mneilly-et",
"id": 55827703,
"node_id": "MDQ6VXNlcjU1ODI3NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/55827703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mneilly-et",
"html_url": "https://github.com/mneilly-et",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think you are correct. Any way you'd open a PR? Otherwise we'll get on it in the next few days/weeks"
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | # 🐛 Bug
## Information
I am running the GPT2 pytest and it fails to load in [PyTorch Glow](https://github.com/pytorch/glow) because the model calls _torch.pow()_ with an integer for the _exponent_ parameter.
Per the PyTorch documentation (https://pytorch.org/docs/master/torch.html?highlight=torch%20pow#torch.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3873/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/3873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3872/comments | https://api.github.com/repos/huggingface/transformers/issues/3872/events | https://github.com/huggingface/transformers/issues/3872 | 603,593,929 | MDU6SXNzdWU2MDM1OTM5Mjk= | 3,872 | torchscript tests fail with RuntimeError: normal_ expects std > 0.0, but found std=0 | {
"login": "mneilly-et",
"id": 55827703,
"node_id": "MDQ6VXNlcjU1ODI3NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/55827703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mneilly-et",
"html_url": "https://github.com/mneilly-et",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,587 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
## Information
I am running the gpt2 torchscript test from master and a call to _normal_()_ fails because the _std_ parameter is zero. The error is not limited to the GPT2 model.
## To reproduce
Steps to reproduce the behavior:
1. python -m pytest -v -k 'test_torchscript and not test_torchscri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3872/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3871/comments | https://api.github.com/repos/huggingface/transformers/issues/3871/events | https://github.com/huggingface/transformers/issues/3871 | 603,581,467 | MDU6SXNzdWU2MDM1ODE0Njc= | 3,871 | Tokenizer could accept a string tensor | {
"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,587 | 1,593 | 1,593 | NONE | null | Currently, the [`batch_encode_plus`](https://huggingface.co/transformers/main_classes/tokenizer.html#transformers.PreTrainedTokenizer.batch_encode_plus) method from tokenizer, can return a Tensorflow tensor.
It can be done assigning `tf` to the optional parameter `return_tensors`.
It would be great if this method ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3871/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/3871/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3870/comments | https://api.github.com/repos/huggingface/transformers/issues/3870/events | https://github.com/huggingface/transformers/issues/3870 | 603,579,780 | MDU6SXNzdWU2MDM1Nzk3ODA= | 3,870 | bert summarizer module import error | {
"login": "eeegnu",
"id": 36356950,
"node_id": "MDQ6VXNlcjM2MzU2OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/36356950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eeegnu",
"html_url": "https://github.com/eeegnu",
"followers_url": "https://api.github.com/users/eeegnu/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"HELLO eeegnu, I'm also facing the same issue.\r\n\r\n**Environment Info :**\r\nPlatform: Windows 10 64bit\r\nPython version: 3.6.10\r\nPyTorch version (GPU?): 1.4.0 \r\nTensorflow version (GPU?): not inst... | 1,587 | 1,597 | 1,597 | NONE | null | # 🐛
Running bert summarizer ([run_summarization.py](https://github.com/huggingface/transformers/blob/master/examples/summarization/bertabs/run_summarization.py)) gives the following error
```
Traceback (most recent call last):
File "run_summarization.py", line 15, in <module>
from .utils_summarization im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3869/comments | https://api.github.com/repos/huggingface/transformers/issues/3869/events | https://github.com/huggingface/transformers/issues/3869 | 603,479,766 | MDU6SXNzdWU2MDM0Nzk3NjY= | 3,869 | ImportError: cannot import name 'HfArgumentParser' from 'transformers' | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, \r\n\r\nAs mentioned [here](https://github.com/huggingface/transformers/tree/master/examples#examples) and in the main README you need to install from source in order to run the latest versions of the examples"
] | 1,587 | 1,587 | 1,587 | NONE | null | Hi,
I installed tokenizers-0.5.2 transformers-2.8.0.
When I try to run run_bertology.py in the example dir calling it with
export TASK_NAME=mnli
python ./run_bertology.py --data_dir $GLUE_DIR/$TASK_NAME
--model_name bert-base-uncased
--ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3869/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3868/comments | https://api.github.com/repos/huggingface/transformers/issues/3868/events | https://github.com/huggingface/transformers/issues/3868 | 603,410,942 | MDU6SXNzdWU2MDM0MTA5NDI= | 3,868 | unable to load model 'bert', tensor 'input_ids': the model expects 1 dimensions but the model configuration specified 2 dimensions | {
"login": "laohur",
"id": 5047256,
"node_id": "MDQ6VXNlcjUwNDcyNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5047256?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laohur",
"html_url": "https://github.com/laohur",
"followers_url": "https://api.github.com/users/laohur/foll... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
}
] | closed | false | null | [] | [
"I'm assuming you read https://blog.einstein.ai/benchmarking-tensorrt-inference-server/ ?",
"> \r\n> \r\n> I'm assuming you read https://blog.einstein.ai/benchmarking-tensorrt-inference-server/ ?\r\nok: torch.jit.trace(bert)\r\nFailed :torch.jit.script\r\nFailed:torch.jit.trace(bert+after)\r\nFailed: to onnx: \r\... | 1,587 | 1,587 | 1,587 | 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/3868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3867/comments | https://api.github.com/repos/huggingface/transformers/issues/3867/events | https://github.com/huggingface/transformers/issues/3867 | 603,382,590 | MDU6SXNzdWU2MDMzODI1OTA= | 3,867 | Tokenization issue with RoBERTa and DistilRoBERTa. | {
"login": "vincentwen1995",
"id": 29601049,
"node_id": "MDQ6VXNlcjI5NjAxMDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/29601049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vincentwen1995",
"html_url": "https://github.com/vincentwen1995",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
">Furthermore, I am also curious about what these 'Ġ' characters are in the RoBERTa encoding?\r\n\r\nIt's a feature of byte-level BPE (an encoded space character)\r\n[Ref-bart-fairseq](https://github.com/pytorch/fairseq/issues/1716), [Ref-openai-gpt](https://github.com/openai/gpt-2/issues/80)",
"This issue has be... | 1,587 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
RoBERTa (roberta-base), DistilRoBERTa (distilroberta-base)
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3867/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/3867/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3866/comments | https://api.github.com/repos/huggingface/transformers/issues/3866/events | https://github.com/huggingface/transformers/pull/3866 | 603,287,310 | MDExOlB1bGxSZXF1ZXN0NDA2MTAzMjAw | 3,866 | [examples] fix summarization do_predict | {
"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/3866?src=pr&el=h1) Report\n> Merging [#3866](https://codecov.io/gh/huggingface/transformers/pull/3866?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a21d4fa410dc3b4c62f93aa0e6bbe4b75a101ee9&el=desc) will **increase... | 1,587 | 1,590 | 1,587 | CONTRIBUTOR | null | - by copying NER
- add type hints | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3866/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3866",
"html_url": "https://github.com/huggingface/transformers/pull/3866",
"diff_url": "https://github.com/huggingface/transformers/pull/3866.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3866.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3865/comments | https://api.github.com/repos/huggingface/transformers/issues/3865/events | https://github.com/huggingface/transformers/issues/3865 | 603,223,777 | MDU6SXNzdWU2MDMyMjM3Nzc= | 3,865 | Summarisation tuning | {
"login": "dimagalat",
"id": 15843978,
"node_id": "MDQ6VXNlcjE1ODQzOTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/15843978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimagalat",
"html_url": "https://github.com/dimagalat",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Great, thanks @sshleifer ",
"(Duplicate of https://github.com/huggingface/transformers/issues/3853)\r\n",
"sorry, mentioned wrong issue"
] | 1,587 | 1,588 | 1,587 | CONTRIBUTOR | null | Hi everybody,
I’ve tried using BART summarisation code, and I had a question about finetune.py
Can SummarisationTrainer checkpoint be loaded as a BartForConditionalGeneration model from the evaluation script? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3865/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3864/comments | https://api.github.com/repos/huggingface/transformers/issues/3864/events | https://github.com/huggingface/transformers/pull/3864 | 603,131,626 | MDExOlB1bGxSZXF1ZXN0NDA1OTc3NDY0 | 3,864 | Add language and license information to model cards | {
"login": "alexcombessie",
"id": 4739848,
"node_id": "MDQ6VXNlcjQ3Mzk4NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4739848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcombessie",
"html_url": "https://github.com/alexcombessie",
"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/3864?src=pr&el=h1) Report\n> Merging [#3864](https://codecov.io/gh/huggingface/transformers/pull/3864?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a21d4fa410dc3b4c62f93aa0e6bbe4b75a101ee9&el=desc) will **increase... | 1,587 | 1,588 | 1,588 | CONTRIBUTOR | null | Should fix issues #3397 and #3357 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3864/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3864",
"html_url": "https://github.com/huggingface/transformers/pull/3864",
"diff_url": "https://github.com/huggingface/transformers/pull/3864.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3864.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3863/comments | https://api.github.com/repos/huggingface/transformers/issues/3863/events | https://github.com/huggingface/transformers/issues/3863 | 602,979,654 | MDU6SXNzdWU2MDI5Nzk2NTQ= | 3,863 | Cannot convert RoBERTa to tflite model | {
"login": "kubux1",
"id": 18151912,
"node_id": "MDQ6VXNlcjE4MTUxOTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/18151912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kubux1",
"html_url": "https://github.com/kubux1",
"followers_url": "https://api.github.com/users/kubux1/fo... | [] | closed | false | null | [] | [
"I believe this is because `tf.Cumsum` is not a supported operation and not an issue relating to this repo. Here is a link to the tensorflow documentation on supported ops. [https://www.tensorflow.org/lite/guide/ops_compatibility]\r\nIn the past, I've been able to get around unsupported ops by reimplementing the o... | 1,587 | 1,606 | 1,587 | NONE | null | # 🐛 Bug
## Information
Model I am using:
RoBERTa (roberta-base)
Language I am using the model on:
English
The problem arises when using:
Conversion based on https://github.com/huggingface/tflite-android-transformers/blob/master/models_generation/distilbert.py
The tasks I am working on is:
It is irre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3863/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3862/comments | https://api.github.com/repos/huggingface/transformers/issues/3862/events | https://github.com/huggingface/transformers/pull/3862 | 602,888,730 | MDExOlB1bGxSZXF1ZXN0NDA1NzgzOTQ0 | 3,862 | New model added | {
"login": "punyajoy",
"id": 22558222,
"node_id": "MDQ6VXNlcjIyNTU4MjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/22558222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/punyajoy",
"html_url": "https://github.com/punyajoy",
"followers_url": "https://api.github.com/users/pun... | [
{
"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 | [] | [
"Thanks! [model page](https://huggingface.co/Hate-speech-CNERG/dehatebert-mono-english)",
"A few things to add to the model card if you can (happy to help!)\r\n\r\n- which language(s) is it trained on?\r\n- How can one use it, i.e. is this a sequence classifier? "
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | The first model added to the repo | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3862/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3862",
"html_url": "https://github.com/huggingface/transformers/pull/3862",
"diff_url": "https://github.com/huggingface/transformers/pull/3862.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3862.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3861/comments | https://api.github.com/repos/huggingface/transformers/issues/3861/events | https://github.com/huggingface/transformers/issues/3861 | 602,881,156 | MDU6SXNzdWU2MDI4ODExNTY= | 3,861 | How to do parameter sharing between two BERT models | {
"login": "xiepuzhao",
"id": 30302487,
"node_id": "MDQ6VXNlcjMwMzAyNDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/30302487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiepuzhao",
"html_url": "https://github.com/xiepuzhao",
"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 | [] | [
"You could do it very simply by passing the reference around:\r\n\r\n```py\r\nfrom transformers import BertModel\r\n\r\nmodel = BertModel.from_pretrained(\"bert-base-cased\")\r\nmodel2 = BertModel.from_pretrained(\"bert-base-cased\")\r\n\r\nmodel2.embeddings = model.embeddings\r\n\r\nprint(model2.embeddings.word_em... | 1,587 | 1,593 | 1,593 | 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/3861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3860/comments | https://api.github.com/repos/huggingface/transformers/issues/3860/events | https://github.com/huggingface/transformers/pull/3860 | 602,779,094 | MDExOlB1bGxSZXF1ZXN0NDA1NzA1NjMz | 3,860 | Update README.md | {
"login": "ahotrod",
"id": 44321615,
"node_id": "MDQ6VXNlcjQ0MzIxNjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/44321615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahotrod",
"html_url": "https://github.com/ahotrod",
"followers_url": "https://api.github.com/users/ahotro... | [
{
"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/3860?src=pr&el=h1) Report\n> Merging [#3860](https://codecov.io/gh/huggingface/transformers/pull/3860?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a21d4fa410dc3b4c62f93aa0e6bbe4b75a101ee9&el=desc) will **not chan... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | Improved results from new hardware | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3860",
"html_url": "https://github.com/huggingface/transformers/pull/3860",
"diff_url": "https://github.com/huggingface/transformers/pull/3860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3860.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3859/comments | https://api.github.com/repos/huggingface/transformers/issues/3859/events | https://github.com/huggingface/transformers/issues/3859 | 602,762,083 | MDU6SXNzdWU2MDI3NjIwODM= | 3,859 | ValueError: Unable to set proper padding strategy as the tokenizer does not have a padding token. | {
"login": "banunitte",
"id": 6847024,
"node_id": "MDQ6VXNlcjY4NDcwMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6847024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/banunitte",
"html_url": "https://github.com/banunitte",
"followers_url": "https://api.github.com/users/ba... | [] | 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... | [
"\r\n",
"tokenizer.pad_token = 0",
"You have to set the pad_token_id yourself as it's stated in the error message ;-). I would recommend using the `eos_token_id` as the `pad_token_id` for GPT... | 1,587 | 1,603 | 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/3859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3858/comments | https://api.github.com/repos/huggingface/transformers/issues/3858/events | https://github.com/huggingface/transformers/issues/3858 | 602,706,271 | MDU6SXNzdWU2MDI3MDYyNzE= | 3,858 | Write with transformers demo hardware | {
"login": "pelegb",
"id": 6249508,
"node_id": "MDQ6VXNlcjYyNDk1MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6249508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pelegb",
"html_url": "https://github.com/pelegb",
"followers_url": "https://api.github.com/users/pelegb/foll... | [] | closed | false | null | [] | [
"Hi! We run on K80 and V100 GPUs. Running the 1.5B params model was very costly and hard to maintain, so we're not running it anymore, however. It should run fine on a single V100/Titan RTX however.\r\n\r\nDid you have issues with the T4 GPU because of memory?",
"Thanks for you response. This is really beneficial... | 1,587 | 1,589 | 1,589 | NONE | null | Hi,
Your package is great and your demo is cool too. I was wondering what kind of hardware does it take to generate text with the large language models. I've had a difficult time running GPT-2 with 1.5B params on a Tesla T4 GPU.
Any pointers will be greatly appreciated.
Thanks in advance,
Barak | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3858/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3857/comments | https://api.github.com/repos/huggingface/transformers/issues/3857/events | https://github.com/huggingface/transformers/pull/3857 | 602,704,576 | MDExOlB1bGxSZXF1ZXN0NDA1NjU3Njcx | 3,857 | [Pipelines] Encode to max length of input not max length of tokenizer for batch input | {
"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 | [] | [
"Update: rm'ed inaccurate comment"
] | 1,587 | 1,588 | 1,587 | MEMBER | null | I don't see a reason why we have to pad to `tokenizer.max_length` when encoding. Tokenizers automatically encode until the longest `input_ids` which is much more efficient IMO. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3857",
"html_url": "https://github.com/huggingface/transformers/pull/3857",
"diff_url": "https://github.com/huggingface/transformers/pull/3857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3857.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3856/comments | https://api.github.com/repos/huggingface/transformers/issues/3856/events | https://github.com/huggingface/transformers/issues/3856 | 602,686,416 | MDU6SXNzdWU2MDI2ODY0MTY= | 3,856 | Bug in optimization_tf create_optimizer | {
"login": "JunnYu",
"id": 50394665,
"node_id": "MDQ6VXNlcjUwMzk0NjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/50394665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunnYu",
"html_url": "https://github.com/JunnYu",
"followers_url": "https://api.github.com/users/JunnYu/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I have raised https://github.com/huggingface/transformers/pull/4940, waiting for approval.",
"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,587 | 1,597 | 1,597 | CONTRIBUTOR | null | # 🐛 Bug
## Information
WHEN I am using optimization_tf(create_optimizer):
Problems with learning rate schedule
## To reproduce
```
from transformers.optimization_tf import create_optimizer
import matplotlib.pyplot as plt
%matplotlib inline
opt = create_optimizer(init_lr=5e-5, num_train_steps=100, num_warm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3856/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/3856/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3855/comments | https://api.github.com/repos/huggingface/transformers/issues/3855/events | https://github.com/huggingface/transformers/pull/3855 | 602,681,067 | MDExOlB1bGxSZXF1ZXN0NDA1NjQxNzgz | 3,855 | Fix Documentation issue in BertForMaskedLM forward | {
"login": "bharatr21",
"id": 13381361,
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharatr21",
"html_url": "https://github.com/bharatr21",
"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... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3855?src=pr&el=h1) Report\n> Merging [#3855](https://codecov.io/gh/huggingface/transformers/pull/3855?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a21d4fa410dc3b4c62f93aa0e6bbe4b75a101ee9&el=desc) will **increase... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | Fix #3066 by interchanging positions of `ltr_lm_loss` and `masked_lm_loss` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3855",
"html_url": "https://github.com/huggingface/transformers/pull/3855",
"diff_url": "https://github.com/huggingface/transformers/pull/3855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3855.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3854/comments | https://api.github.com/repos/huggingface/transformers/issues/3854/events | https://github.com/huggingface/transformers/pull/3854 | 602,661,527 | MDExOlB1bGxSZXF1ZXN0NDA1NjI4NjMx | 3,854 | Added electra-bahasa README | {
"login": "huseinzol05",
"id": 19810909,
"node_id": "MDQ6VXNlcjE5ODEwOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/19810909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huseinzol05",
"html_url": "https://github.com/huseinzol05",
"followers_url": "https://api.github.com/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3854?src=pr&el=h1) Report\n> Merging [#3854](https://codecov.io/gh/huggingface/transformers/pull/3854?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a21d4fa410dc3b4c62f93aa0e6bbe4b75a101ee9&el=desc) will **increase... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3854/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3854/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3854",
"html_url": "https://github.com/huggingface/transformers/pull/3854",
"diff_url": "https://github.com/huggingface/transformers/pull/3854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3854.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/3853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3853/comments | https://api.github.com/repos/huggingface/transformers/issues/3853/events | https://github.com/huggingface/transformers/issues/3853 | 602,563,213 | MDU6SXNzdWU2MDI1NjMyMTM= | 3,853 | How to use fine-tuned BART for prediction? | {
"login": "riacheruvu",
"id": 22090501,
"node_id": "MDQ6VXNlcjIyMDkwNTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/22090501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/riacheruvu",
"html_url": "https://github.com/riacheruvu",
"followers_url": "https://api.github.com/use... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"Facing a similar type of issue for T5. @sshleifer ",
"The last ckpt file should be loaded into a `pl.LightningModule` if the --do_predict flag is specified.\r\n\r\nThere is a bug on master that messes up the loading, but it's fixed in #3866\r\n\r\nTo use that code immediately, you can run:\r\n```\r\ngit fetch\r\... | 1,587 | 1,612 | 1,597 | NONE | null | # ❓ Questions & Help
## Details
I fine-tuned the BART model on a custom summarization dataset using the **transformers/examples/summarization/bart/finetune.py** and **transformers/examples/summarization/bart/run_train.sh** files in the repository for training (which generated three _checkpointepoch=*.ckpt_ files) a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3853/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3853/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3852/comments | https://api.github.com/repos/huggingface/transformers/issues/3852/events | https://github.com/huggingface/transformers/issues/3852 | 602,547,217 | MDU6SXNzdWU2MDI1NDcyMTc= | 3,852 | TFT5: get_input_embeddings() and get_output_embeddings() | {
"login": "parthe",
"id": 5085600,
"node_id": "MDQ6VXNlcjUwODU2MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5085600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parthe",
"html_url": "https://github.com/parthe",
"followers_url": "https://api.github.com/users/parthe/foll... | [] | 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... | [
"From what I'm seeing, the `TFT5Model` **does** have [documentation](https://huggingface.co/transformers/model_doc/t5.html#transformers.TFT5Model.get_input_embeddings) for `get_input_embeddings` and `get_output_embeddings`.\r\n\r\nI believe the output embeddings and input embeddings should actually be the same. The... | 1,587 | 1,661 | 1,591 | CONTRIBUTOR | null | In class TFT5Model
1. The get_input_embeddings() and get_output_embeddings() methods do not have any documentation provided in them
2. Furthermore, the get_output_embeddings provides the same output as the get_input embeddings. This needs to be resolved. Or flagged with a NotImplementedError | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3852/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3851/comments | https://api.github.com/repos/huggingface/transformers/issues/3851/events | https://github.com/huggingface/transformers/issues/3851 | 602,529,109 | MDU6SXNzdWU2MDI1MjkxMDk= | 3,851 | How properly apply a tokenizer map function to a Tensorflow batched dataset? | {
"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... | [] | closed | false | null | [] | [
"This seems like more of a TF-related question rather than a Transformers-related question. The issue seems to stem from your code trying to get the value of a tensor which is not eager, using numpy. I believe the `tf.data.Dataset.map` method must trace inputs, resulting in the Tensors not being eager.\r\n\r\nCould... | 1,587 | 1,639 | 1,591 | NONE | null | Considering the following `batched_dataset`:
```python3
samples = ([{"query": "this is a query 1", "doc": "this is one relevant document regarding query 1"},
{"query": "this is a query 2", "doc": "this is one relevant document regarding query 2"},
{"query": "this is a query 3", "doc"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3851/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3850/comments | https://api.github.com/repos/huggingface/transformers/issues/3850/events | https://github.com/huggingface/transformers/issues/3850 | 602,484,854 | MDU6SXNzdWU2MDI0ODQ4NTQ= | 3,850 | 'pad_to_max_length' in Pipeline should be set to True by default | {
"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": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"Hi @Akashdesarda, thanks for reporting this.\r\nYou should be able to pass `pad_to_max_length=True` when calling your pipeline: \r\n\r\n`pipe(train_data['comment_text'][:100].values.tolist(), pad_to_max_length=True)`\r\n\r\nCan you let us know if it works in your case ?\r\n",
"Yes it worked, thanks for the solut... | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
pad_to_max_length is set by default False in Piplene class' _parse_and_tokenize() function
## Information
Model I am using (Bert):
Language I am using the model on (English):
The problem arises when using: my own modified scripts:
```
import numpy as np
from transformers import AutoTokenizer, pi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3850/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3849/comments | https://api.github.com/repos/huggingface/transformers/issues/3849/events | https://github.com/huggingface/transformers/issues/3849 | 602,454,721 | MDU6SXNzdWU2MDI0NTQ3MjE= | 3,849 | Bug in run_glue | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"You need to install from source as specified in the README."
] | 1,587 | 1,587 | 1,587 | NONE | null | Hi
I am getting this error when running run_glue.py
ImportError: cannot import name 'TrainingArguments' from 'transformers' (/idiap/user/rkarimi/libs/anaconda3/envs/iborn/lib/python3.7/site-packages/transformers/__init__.py)
Traceback (most recent call last):
File "run_glue.py", line 34, in <module>
fro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3849/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3848/comments | https://api.github.com/repos/huggingface/transformers/issues/3848/events | https://github.com/huggingface/transformers/issues/3848 | 602,359,819 | MDU6SXNzdWU2MDIzNTk4MTk= | 3,848 | Electra for question answering | {
"login": "Santosh-Gupta",
"id": 5524261,
"node_id": "MDQ6VXNlcjU1MjQyNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Santosh-Gupta",
"html_url": "https://github.com/Santosh-Gupta",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"You can basically copy+paste the code from BertForQuestionAnswering and just change it for ELECTRA. However, the original ELECTRA implementation to fine-tune on squad looks a bit different (it's more like in XLNet). \r\n\r\nIf you want to reproduce the official implementation it's probably best you take a look at ... | 1,587 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🚀 Feature request
Electra for question answering
## Motivation
Electra is the highest rated single model (non essemble) on the Squad leaderboard
## Your contribution
I am not sure if I have the skills, but I'm willing to take a crack at it! Looking the other QA architectures, it seems that I'll need t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3848/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3847/comments | https://api.github.com/repos/huggingface/transformers/issues/3847/events | https://github.com/huggingface/transformers/issues/3847 | 602,246,881 | MDU6SXNzdWU2MDIyNDY4ODE= | 3,847 | Share more details on fine-tuning GPT-2 on WikiText-2 ? | {
"login": "xihui-wu",
"id": 58450438,
"node_id": "MDQ6VXNlcjU4NDUwNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/58450438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xihui-wu",
"html_url": "https://github.com/xihui-wu",
"followers_url": "https://api.github.com/users/xih... | [
{
"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 | [] | [
"@xihui-wu To get the hyperparameters specific to the model (in this case `gpt2`), you can check the config file of `gpt2` with the code below:\r\n\r\n```\r\nfrom transformers import GPT2Config\r\nprint(GPT2Config())\r\n```\r\n\r\nSome higher level hyperparameters are still not included here (e.g. \"epochs\"). Thes... | 1,587 | 1,605 | 1,598 | NONE | null | Hello! Regarding https://github.com/huggingface/transformers/tree/master/examples#gpt-2gpt-and-causal-language-modeling, would you mind sharing what hyper-parameters you use to get this result ? How many epochs, what's the batch size? etc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3847/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3846/comments | https://api.github.com/repos/huggingface/transformers/issues/3846/events | https://github.com/huggingface/transformers/issues/3846 | 602,221,827 | MDU6SXNzdWU2MDIyMjE4Mjc= | 3,846 | Roberta (and BERT) tokenization converts "do not" to "don't" | {
"login": "davisyoshida",
"id": 1377776,
"node_id": "MDQ6VXNlcjEzNzc3NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1377776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davisyoshida",
"html_url": "https://github.com/davisyoshida",
"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... | [
"For anyone coming across this issue, you can disable all such transformations in `decode` by passing `clean_up_tokenization_spaces=False`. However, I maintain that this decoding behavior is not a sensible default.",
"fixed with #4024 "
] | 1,587 | 1,591 | 1,591 | 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:
* [ ] 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/3846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3846/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3845/comments | https://api.github.com/repos/huggingface/transformers/issues/3845/events | https://github.com/huggingface/transformers/issues/3845 | 602,074,288 | MDU6SXNzdWU2MDIwNzQyODg= | 3,845 | list index out of range error when I execute a command with examples/run_glue.py | {
"login": "HiroshigeAoki",
"id": 58395317,
"node_id": "MDQ6VXNlcjU4Mzk1MzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/58395317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HiroshigeAoki",
"html_url": "https://github.com/HiroshigeAoki",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi, have you fixed this error? I just got the same error. Any help will be grateful!",
"Hi, I have already fixed it. I made a mistake on tsv files. After converting them to correct format by using LibreOffice, glue.py ran correctly. \r\nI hope this could help you!",
"Thanks! I fixed this error. There were some... | 1,587 | 1,590 | 1,587 | NONE | null | Hi, I am new to transformers, and I got a list index out of range error when I execute a command for examples/run_glue.py.
I want to do Fine-Turning to classify Japanese words, and I modified some files following a web site.
**The process was:**
**1. I used these commands below to install transformers and to u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3844/comments | https://api.github.com/repos/huggingface/transformers/issues/3844/events | https://github.com/huggingface/transformers/pull/3844 | 602,051,732 | MDExOlB1bGxSZXF1ZXN0NDA1MTk0NjEx | 3,844 | [TF T5] Higher tolerance for past testing in TF T5 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,587 | 1,587 | 1,587 | MEMBER | null | Higher tolerance to be certain that tests pass | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3844/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3844",
"html_url": "https://github.com/huggingface/transformers/pull/3844",
"diff_url": "https://github.com/huggingface/transformers/pull/3844.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3844.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3843/comments | https://api.github.com/repos/huggingface/transformers/issues/3843/events | https://github.com/huggingface/transformers/pull/3843 | 602,051,460 | MDExOlB1bGxSZXF1ZXN0NDA1MTk0Mzg4 | 3,843 | [T5] Higher tolerance for past testing in T5 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,587 | 1,587 | 1,587 | MEMBER | null | Higher tolerance to be certain that tests pass | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3843",
"html_url": "https://github.com/huggingface/transformers/pull/3843",
"diff_url": "https://github.com/huggingface/transformers/pull/3843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3843.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3842/comments | https://api.github.com/repos/huggingface/transformers/issues/3842/events | https://github.com/huggingface/transformers/pull/3842 | 602,034,292 | MDExOlB1bGxSZXF1ZXN0NDA1MTgwNDMx | 3,842 | Fix bug in run_*.py scripts: double wrap into DataParallel during eval | {
"login": "and-kul",
"id": 15240922,
"node_id": "MDQ6VXNlcjE1MjQwOTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/15240922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/and-kul",
"html_url": "https://github.com/and-kul",
"followers_url": "https://api.github.com/users/and-ku... | [] | closed | false | null | [] | [
"Merging this, though it will be rendered obsolete (for a subset of the script initially) by #3800 "
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | This bug is present in several scripts in `examples`:
* `examples/run_language_modeling.py`
* `examples/run_multiple_choice.py`
* `examples/run_xnli.py`
* `examples/ner/run_ner.py`
* `examples/mm-imdb/run_mmimdb.py`
* `examples/hans/test_hans.py`
The problem is exactly the same as it was in #1801 and in #1504:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3842/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3842",
"html_url": "https://github.com/huggingface/transformers/pull/3842",
"diff_url": "https://github.com/huggingface/transformers/pull/3842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3842.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3841/comments | https://api.github.com/repos/huggingface/transformers/issues/3841/events | https://github.com/huggingface/transformers/issues/3841 | 601,948,472 | MDU6SXNzdWU2MDE5NDg0NzI= | 3,841 | Reproducing squad score with TFXLMRoberta? | {
"login": "nchocho",
"id": 3957900,
"node_id": "MDQ6VXNlcjM5NTc5MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3957900?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nchocho",
"html_url": "https://github.com/nchocho",
"followers_url": "https://api.github.com/users/nchocho/... | [
{
"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,587 | 1,592 | 1,592 | NONE | null | # ❓ Questions & Help
Hello all,
first of all, thanks for the library that is very helpful. There have been several discussions regarding XLM-Roberta and questions answering (#3732 #3694 ). On my side, I added a TFXLMRobertaForQuestionAnswering but never reproduced a decent squad score (I was always below 50% f1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3840/comments | https://api.github.com/repos/huggingface/transformers/issues/3840/events | https://github.com/huggingface/transformers/issues/3840 | 601,912,906 | MDU6SXNzdWU2MDE5MTI5MDY= | 3,840 | Decoding predictions for masked language modeling task using custom BPE | {
"login": "singhay",
"id": 14236438,
"node_id": "MDQ6VXNlcjE0MjM2NDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/14236438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/singhay",
"html_url": "https://github.com/singhay",
"followers_url": "https://api.github.com/users/singha... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Maybe @mfuntowicz ? :-) ",
"Bump",
"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,587 | 1,593 | 1,593 | 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/3840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3839/comments | https://api.github.com/repos/huggingface/transformers/issues/3839/events | https://github.com/huggingface/transformers/issues/3839 | 601,746,519 | MDU6SXNzdWU2MDE3NDY1MTk= | 3,839 | Different output encode and encode_plus | {
"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... | [] | closed | false | null | [] | [
"I made a mistake in my code. The output is the same."
] | 1,587 | 1,587 | 1,587 | NONE | null | Hi everyone,
I'm struggling with the following scenario:
I have the following input:
```
sentence = "Sheldon : If a photon is directed through a plane with two slits in it and either is observed . Sheldon : . it will not go through both . If unobserved , it will . UNKNAME : If it 's observed after it left the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3839/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3838/comments | https://api.github.com/repos/huggingface/transformers/issues/3838/events | https://github.com/huggingface/transformers/issues/3838 | 601,711,222 | MDU6SXNzdWU2MDE3MTEyMjI= | 3,838 | Cutom tokenizer not loaded in AutoTokenizer | {
"login": "muhammadfahid51",
"id": 57350797,
"node_id": "MDQ6VXNlcjU3MzUwNzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/57350797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muhammadfahid51",
"html_url": "https://github.com/muhammadfahid51",
"followers_url": "https://api... | [
{
"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 | [] | [
"If it's a BPETokenizer, you can load it with `RobertaTokenizer.from_pretrained(\"vocab.json\", \"merges.json\")`",
"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,587 | 1,592 | 1,592 | NONE | null | I am training a language model from scratch. I trained **ByteLevelBPETokenizer** and then when I am trying to load this tokenizer using **AutoTokenizer**, it is giving me the following error.
OSError: Model name './MyRobertaConfig/' was not found in tokenizers model name list (bert-base-uncased, bert-large-uncased, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3837/comments | https://api.github.com/repos/huggingface/transformers/issues/3837/events | https://github.com/huggingface/transformers/pull/3837 | 601,694,215 | MDExOlB1bGxSZXF1ZXN0NDA0OTE1NTMx | 3,837 | PretrainedTokenizer cleanup: Typehints, decode_batch | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3837?src=pr&el=h1) Report\n> Merging [#3837](https://codecov.io/gh/huggingface/transformers/pull/3837?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f399c00610506325bc1690f0e68c6885e73395ec&el=desc) will **decrease... | 1,587 | 1,588 | 1,588 | CONTRIBUTOR | null | This is very very minor cleanup
- adds `decode_batch` which calls `.decode` on every entry in a list.
- A few cosmetic changes to tokenization_utils.py (type hints using defaultdict)
- adds type hints in files I touched. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3837/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3837",
"html_url": "https://github.com/huggingface/transformers/pull/3837",
"diff_url": "https://github.com/huggingface/transformers/pull/3837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3837.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3836/comments | https://api.github.com/repos/huggingface/transformers/issues/3836/events | https://github.com/huggingface/transformers/pull/3836 | 601,656,875 | MDExOlB1bGxSZXF1ZXN0NDA0ODg2MjAw | 3,836 | Update camembert-base-README.md | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3836?src=pr&el=h1) Report\n> Merging [#3836](https://codecov.io/gh/huggingface/transformers/pull/3836?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f0c96fafd16d206b22a74fe76b251414f7314703&el=desc) will **increase... | 1,587 | 1,588 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3836",
"html_url": "https://github.com/huggingface/transformers/pull/3836",
"diff_url": "https://github.com/huggingface/transformers/pull/3836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3836.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3835/comments | https://api.github.com/repos/huggingface/transformers/issues/3835/events | https://github.com/huggingface/transformers/issues/3835 | 601,435,600 | MDU6SXNzdWU2MDE0MzU2MDA= | 3,835 | Transfo-XL cannot generate long texts. Using run_generation.py to generate texts | {
"login": "AdaUchendu",
"id": 32556160,
"node_id": "MDQ6VXNlcjMyNTU2MTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/32556160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdaUchendu",
"html_url": "https://github.com/AdaUchendu",
"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... | [
"What is the error?",
"So, first, it does not generate long texts. It usually generates texts with\nabout 10 tokens. And I think it is because of the warning:\nWARNING - transformers.modeling_utils - Setting `pad_token_id` to 0 (first\n`eos_token_id`) to generate sequence\n\nOther generators in run_generation.py ... | 1,587 | 1,591 | 1,591 | 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/3835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3835/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3834/comments | https://api.github.com/repos/huggingface/transformers/issues/3834/events | https://github.com/huggingface/transformers/issues/3834 | 601,381,666 | MDU6SXNzdWU2MDEzODE2NjY= | 3,834 | i want help to create saved model(.pth) from Pytorch Dump(pytorch_model.bin) if possible! | {
"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/... | [] | closed | false | null | [] | [
"i used `transformers-cli convert` to make `python_model.bin` from checkpoints",
"Did you try to put in in quotes? If you have a model you should do `torch.save(model.state_dict(), PATH)`.\r\n\r\nPlease take a look at the [PyTorch documentation](https://pytorch.org/tutorials/beginner/saving_loading_models.html). ... | 1,587 | 1,587 | 1,587 | NONE | null | i have, PROJECT(folder)
├── pytorch_model.bin
├── bert_config.json
└── vocab.txt
i tried saving it with
`torch.save( pytorch_model.bin , PATH)`
but came with error
`-bash: syntax error near unexpected token `pytorch_model.bin,'`
what am i ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3834/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3833/comments | https://api.github.com/repos/huggingface/transformers/issues/3833/events | https://github.com/huggingface/transformers/pull/3833 | 601,245,894 | MDExOlB1bGxSZXF1ZXN0NDA0NTM0NDY3 | 3,833 | Remove tqdm logging when using 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 | [] | [] | 1,587 | 1,587 | 1,587 | MEMBER | null | Attempt to fix #3744
Introduce `tqdm_enabled` parameter on `squad_convert_examples_to_features()` default to `True` and set to `False` in QA pipelines. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3833",
"html_url": "https://github.com/huggingface/transformers/pull/3833",
"diff_url": "https://github.com/huggingface/transformers/pull/3833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3833.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3832/comments | https://api.github.com/repos/huggingface/transformers/issues/3832/events | https://github.com/huggingface/transformers/issues/3832 | 601,244,776 | MDU6SXNzdWU2MDEyNDQ3NzY= | 3,832 | The issue I met when do the NER task for Universal language by using XLM-R | {
"login": "zongbingwang",
"id": 6621467,
"node_id": "MDQ6VXNlcjY2MjE0Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6621467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zongbingwang",
"html_url": "https://github.com/zongbingwang",
"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"
] | 1,587 | 1,592 | 1,592 | 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/3832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3832/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3831/comments | https://api.github.com/repos/huggingface/transformers/issues/3831/events | https://github.com/huggingface/transformers/issues/3831 | 601,224,342 | MDU6SXNzdWU2MDEyMjQzNDI= | 3,831 | AlbertModel output is not HalfTensor when using apex fp16 | {
"login": "rasoolims",
"id": 1611317,
"node_id": "MDQ6VXNlcjE2MTEzMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1611317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rasoolims",
"html_url": "https://github.com/rasoolims",
"followers_url": "https://api.github.com/users/ra... | [] | closed | false | null | [] | [
"Hi @rasoolims, \r\n\r\nThis seems correct. Basically, using `opt_level=\"O1\"` means apex will add some downcasting to `float16` from a set of whitelisted operations, such as GEMM or Conv. This way, these operations will benefit from using Tensor Cores on latest devices, achieving higher throughput.. \r\n\r\nIn th... | 1,587 | 1,593 | 1,587 | NONE | null | # 🐛 Bug
Despite the fact that I turned the model to fp16 with apex, the hidden representation output is not half tensor (see code snippet for details) while class heads are half tensors.
## Information
Model I am using AlbertModel.
Language I am using the model on arbitrary:
The problem arises when using:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3831/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3830/comments | https://api.github.com/repos/huggingface/transformers/issues/3830/events | https://github.com/huggingface/transformers/issues/3830 | 601,196,542 | MDU6SXNzdWU2MDExOTY1NDI= | 3,830 | Faster mask computation | {
"login": "rasoolims",
"id": 1611317,
"node_id": "MDQ6VXNlcjE2MTEzMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1611317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rasoolims",
"html_url": "https://github.com/rasoolims",
"followers_url": "https://api.github.com/users/ra... | [] | 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 @rasoolims ,\r\n\r\nThat sounds reasonable what you are saying! I wanted to take a look into masking optimization in a couple of weeks. If you feel like it, you could also open a PR and we take a look together :-) ",
"Feel free to open a PR for this :-) Closing for now"
] | 1,587 | 1,591 | 1,591 | NONE | null | # 🚀 Feature request
Currently, the masking is done using the full prediction matrix which is both memory and computation inefficient. One example is in [here](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_albert.py#L675). I think with Pytorch indexing, first and foremost, we don'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3830/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3829/comments | https://api.github.com/repos/huggingface/transformers/issues/3829/events | https://github.com/huggingface/transformers/issues/3829 | 601,180,126 | MDU6SXNzdWU2MDExODAxMjY= | 3,829 | Can't install transformers in conda environment | {
"login": "chen-bowen",
"id": 18410378,
"node_id": "MDQ6VXNlcjE4NDEwMzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/18410378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chen-bowen",
"html_url": "https://github.com/chen-bowen",
"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 | [] | [
"Looking at the error message, you seem to be running into an error with the sentencepiece package, not transformers.\r\n\r\nI looked at the sentencepiece GitHub repo and there is an open issue on this here:\r\nhttps://github.com/google/sentencepiece/issues/452",
"Looks like this issue can be closed now. @chen-bo... | 1,587 | 1,603 | 1,596 | NONE | null | # 🐛 Bug
I tried to install transformers into a conda environment
```
pip install transformers
Collecting transformers
Using cached transformers-2.8.0-py3-none-any.whl (563 kB)
Collecting tokenizers==0.5.2
Downloading tokenizers-0.5.2-cp38-cp38-macosx_10_15_x86_64.whl (1.1 MB)
|████████████████████... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3829/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3828/comments | https://api.github.com/repos/huggingface/transformers/issues/3828/events | https://github.com/huggingface/transformers/pull/3828 | 601,164,041 | MDExOlB1bGxSZXF1ZXN0NDA0NDYzOTg5 | 3,828 | Tanh torch warnings | {
"login": "aryanshomray",
"id": 50213704,
"node_id": "MDQ6VXNlcjUwMjEzNzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/50213704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aryanshomray",
"html_url": "https://github.com/aryanshomray",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3828?src=pr&el=h1) Report\n> Merging [#3828](https://codecov.io/gh/huggingface/transformers/pull/3828?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b1e2368b32f3af88a920dac47cfc02a869409b20&el=desc) will **not chan... | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | This pull request the warning generated by using torch.nn.functional.tanh (which is deprecated). This pull request changes it to torch.tanh to remove the warning. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3828",
"html_url": "https://github.com/huggingface/transformers/pull/3828",
"diff_url": "https://github.com/huggingface/transformers/pull/3828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3828.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3827/comments | https://api.github.com/repos/huggingface/transformers/issues/3827/events | https://github.com/huggingface/transformers/issues/3827 | 601,133,560 | MDU6SXNzdWU2MDExMzM1NjA= | 3,827 | ModuleNotFoundError: No module named '__main__.utils_summarization'; '__main__' is not a package | {
"login": "stellaywu",
"id": 10345436,
"node_id": "MDQ6VXNlcjEwMzQ1NDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/10345436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stellaywu",
"html_url": "https://github.com/stellaywu",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1990944155,
"node_id": "MDU6TGFiZWwxOTkwOTQ0MTU1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bertabs",
"name": "bertabs",
"color": "9ab22e",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"closing the issue \r\nchanged the from `.utils_summarization import ( `\r\nto ` from utils_summarization import ( `\r\nin run_summarization.py\r\nand solved the issue "
] | 1,587 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
## Information
I am using ./examples/summarization/bertabs/
`python run_summarization.py \
--documents_dir $data_dir\
--summaries_output_dir$output_dir \
--no_cuda true \
--batch_size 4 \
--min_length 50 \
--max_length 200 \
--beam_size 5 \
--alpha 0.95 \
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3826/comments | https://api.github.com/repos/huggingface/transformers/issues/3826/events | https://github.com/huggingface/transformers/issues/3826 | 601,129,719 | MDU6SXNzdWU2MDExMjk3MTk= | 3,826 | [readability] consolidate examples/summarization/bart and examples/summarization/t5 | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1841... | closed | false | null | [] | [
"Hey @sshleifer !\r\nI would like to work on the issue. It's my first issue so I appreciate any help!",
"Awesome, helpful command to get quick feedback on whether your change is working:\r\n\r\n```bash\r\npytest --tb=short -p no:warnings examples/summarization/bart\r\n```\r\n\r\nMake sure you tag @sshleifer when ... | 1,587 | 1,591 | 1,591 | CONTRIBUTOR | null | This involves
- [ ] consolidating README.md
- [ ] consolidating evaluate_cnn.py scripts.
- [ ] evaluate_wmt.py should also work
- [ ] consolidating unittests
- [ ] updating bash scripts
- [ ] checking that consolidated stuff works, adding appropriate test coverage.
the resulting code should probably ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3826/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3825/comments | https://api.github.com/repos/huggingface/transformers/issues/3825/events | https://github.com/huggingface/transformers/issues/3825 | 601,125,823 | MDU6SXNzdWU2MDExMjU4MjM= | 3,825 | [readability] Consolidate prune_heads logic to PretrainedModel. | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1834... | closed | false | null | [] | [
"Hi @sshleifer , \r\nI am new to opensource and would like to help out with this issue. Could you please point me to some guide to setting up the project locally.\r\nThanks.",
"I got the contributing.md file. Thanks anyways. :)",
"Hi @sshleifer \r\nI am looking for a contribution. Is the issue is still open?\r\... | 1,587 | 1,594 | 1,594 | CONTRIBUTOR | null | Many models have identical implementations of `prune_heads` it would be nice to store that implementation as a method on `PretrainedModel` and reduce the redundancy. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3825/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3825/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3824/comments | https://api.github.com/repos/huggingface/transformers/issues/3824/events | https://github.com/huggingface/transformers/pull/3824 | 601,121,396 | MDExOlB1bGxSZXF1ZXN0NDA0NDI3Mjc2 | 3,824 | [examples] summarization/bart/finetune.py supports t5 | {
"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 | [] | [
"Super! LGTM",
"Thanks @sshleifer for the quick fix. Just a small query where it will save the output sentences. A file is generated in output_dir with only losses specified when --do_predict is passed in Argument.\r\nWhat if I want to generate for unknown inputs using fine-tuned model."
] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | - we were passing attention_mask as an arg, not a kwarg, causing `test_step` to break.
- That case is now covered in the unittest, unittests also cover the t5 model.
- renamed run_bart_sum.py to finetune.py since it is model agnostic.
- The `bart/` and `t5` subdirectories should be consolidated in a future PR.
T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3824/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/3824/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3824",
"html_url": "https://github.com/huggingface/transformers/pull/3824",
"diff_url": "https://github.com/huggingface/transformers/pull/3824.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3824.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3823/comments | https://api.github.com/repos/huggingface/transformers/issues/3823/events | https://github.com/huggingface/transformers/issues/3823 | 601,070,523 | MDU6SXNzdWU2MDEwNzA1MjM= | 3,823 | lowercasing on LM with cased models | {
"login": "boxorange",
"id": 49205846,
"node_id": "MDQ6VXNlcjQ5MjA1ODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/49205846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boxorange",
"html_url": "https://github.com/boxorange",
"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 | [] | [
"Unfortunately, this is because these models didn't get uploaded with the `tokenizer_config.json` specifying they shouldn't be lowercased.\r\n\r\ncc @julien-c ",
"I see. Thanks for the explanation. I think it would be helpful to mention that in the instruction or somewhere for newbies like me though. They may ove... | 1,587 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert
Language I am using the model on (English, Chinese ...): English
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/3823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3823/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3822/comments | https://api.github.com/repos/huggingface/transformers/issues/3822/events | https://github.com/huggingface/transformers/issues/3822 | 601,065,394 | MDU6SXNzdWU2MDEwNjUzOTQ= | 3,822 | getting random results when running run_glue | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi\r\nAny comment on this? I also tested with these versions, run_glue with BERT gets fully random results. Like this I cannot run experiments, could you please have a look?\r\n \r\npython 3.6.9 h265db76_0 \r\npytorch 1.2.0 py3.6_cuda10.0.130_cudnn7.6... | 1,587 | 1,592 | 1,592 | NONE | null | Hi
I am running run_glue.py script on RTE dataset with BERT base model, on different gpus and I am getting very random results, like changing a lot by changing the gpu. I am using python 3.6 and transformer version 2.5.0. I tried with two gpu types like
Kepler , GTX1080ti and P40, ...
such randomness really affects... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3821/comments | https://api.github.com/repos/huggingface/transformers/issues/3821/events | https://github.com/huggingface/transformers/pull/3821 | 601,027,248 | MDExOlB1bGxSZXF1ZXN0NDA0MzQ4MDI0 | 3,821 | Typo fix | {
"login": "davidefiocco",
"id": 4547987,
"node_id": "MDQ6VXNlcjQ1NDc5ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4547987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidefiocco",
"html_url": "https://github.com/davidefiocco",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,587 | 1,587 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3821/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3821",
"html_url": "https://github.com/huggingface/transformers/pull/3821",
"diff_url": "https://github.com/huggingface/transformers/pull/3821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3821.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3820/comments | https://api.github.com/repos/huggingface/transformers/issues/3820/events | https://github.com/huggingface/transformers/pull/3820 | 600,995,719 | MDExOlB1bGxSZXF1ZXN0NDA0MzIxNTMx | 3,820 | #3787 Fixing the pip install issue by installing from git | {
"login": "JonathanSum",
"id": 21982975,
"node_id": "MDQ6VXNlcjIxOTgyOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/21982975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JonathanSum",
"html_url": "https://github.com/JonathanSum",
"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"
] | 1,587 | 1,594 | 1,594 | CONTRIBUTOR | null | #3787 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3820",
"html_url": "https://github.com/huggingface/transformers/pull/3820",
"diff_url": "https://github.com/huggingface/transformers/pull/3820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3820.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3819/comments | https://api.github.com/repos/huggingface/transformers/issues/3819/events | https://github.com/huggingface/transformers/issues/3819 | 600,871,020 | MDU6SXNzdWU2MDA4NzEwMjA= | 3,819 | Tokenizers Notebook Issue | {
"login": "uunal",
"id": 2520197,
"node_id": "MDQ6VXNlcjI1MjAxOTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2520197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uunal",
"html_url": "https://github.com/uunal",
"followers_url": "https://api.github.com/users/uunal/follower... | [] | closed | false | null | [] | [
"pip version of installation has a problem, dependencies are not defined so it installs tokenizers-0.5.2 with transformers 2.8.0. \r\nDownload from source and don't care warning of dependency, works fine :) "
] | 1,587 | 1,587 | 1,587 | 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/3819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3819/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3818/comments | https://api.github.com/repos/huggingface/transformers/issues/3818/events | https://github.com/huggingface/transformers/issues/3818 | 600,849,737 | MDU6SXNzdWU2MDA4NDk3Mzc= | 3,818 | What are the GPU RAM requirements of popular models? | {
"login": "r0levrai",
"id": 22660388,
"node_id": "MDQ6VXNlcjIyNjYwMzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22660388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/r0levrai",
"html_url": "https://github.com/r0levrai",
"followers_url": "https://api.github.com/users/r0l... | [] | 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 @r0levrai,\r\n\r\nGood question! We are actually thinking about a good visualization for exactly that. Maybe in 2,3 weeks :-) \r\n\r\nWe already have a very useful script to test RAM requirements which you can find here: \r\n`https://github.com/huggingface/transformers/blob/master/examples/benchmarks.py`",
"I... | 1,587 | 1,661 | 1,587 | NONE | null | # ❓ Questions & Help
What are the GPU RAM requirement of `gpt2`, `gpt2-medium`, `distilgpt2`, `bert-base-uncased` and/or `distilroberta-base`
* for training?
* for inference?
Additionally, how do you calculate or find this information for other models?
original StackOverflow question: https://stackoverflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3818/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3817/comments | https://api.github.com/repos/huggingface/transformers/issues/3817/events | https://github.com/huggingface/transformers/pull/3817 | 600,815,036 | MDExOlB1bGxSZXF1ZXN0NDA0MTcyMzA1 | 3,817 | [Examples, T5] Change newstest2013 to newstest2014 and clean up | {
"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,587 | 1,587 | 1,587 | MEMBER | null | This PR just adds a small change to #3802 to make the code quality happy. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3817/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3817",
"html_url": "https://github.com/huggingface/transformers/pull/3817",
"diff_url": "https://github.com/huggingface/transformers/pull/3817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3817.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3816/comments | https://api.github.com/repos/huggingface/transformers/issues/3816/events | https://github.com/huggingface/transformers/issues/3816 | 600,788,894 | MDU6SXNzdWU2MDA3ODg4OTQ= | 3,816 | Aborted (core dumped) or Kernel dies | {
"login": "yashwatwani",
"id": 22069499,
"node_id": "MDQ6VXNlcjIyMDY5NDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/22069499?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yashwatwani",
"html_url": "https://github.com/yashwatwani",
"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 | [] | [
"Do you mind showing us the lines that crash? Do you have a reproducible example?",
"+1. @yashwatwani do you have resolved it? I have the same problem too.\r\n\r\nIf I install transformers 2.8.0, it will produce error:\r\n```\r\n[1] 11267 segmentation fault (core dumped) PYTHONPATH=. python apps/absa/main.py\... | 1,587 | 1,597 | 1,597 | NONE | null | Whenever I am trying to import tranfomers my kernel dies off in jupyter notebook .
tranformer version - 2.8.0
python version -3.7.7
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3816/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/3816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3815/comments | https://api.github.com/repos/huggingface/transformers/issues/3815/events | https://github.com/huggingface/transformers/issues/3815 | 600,764,359 | MDU6SXNzdWU2MDA3NjQzNTk= | 3,815 | How to speed up getting answers? | {
"login": "MaheshChandrra",
"id": 13826929,
"node_id": "MDQ6VXNlcjEzODI2OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/13826929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaheshChandrra",
"html_url": "https://github.com/MaheshChandrra",
"followers_url": "https://api.gi... | [
{
"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,587 | 1,592 | 1,592 | NONE | null | Hi ,
I'm facing the issues using BertForQuestionAnswering ,can you please help me fixing these:
1. I'm trying to use BertForQuestionAnswering pretrained model to get answers from news,
answer_question is the function where in you pass the context and the question and get the relevant answers,but if I have 100 co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3814/comments | https://api.github.com/repos/huggingface/transformers/issues/3814/events | https://github.com/huggingface/transformers/issues/3814 | 600,642,093 | MDU6SXNzdWU2MDA2NDIwOTM= | 3,814 | A bug in the padding of input examples in the NER fine-tuning example | {
"login": "AMR-KELEG",
"id": 8365743,
"node_id": "MDQ6VXNlcjgzNjU3NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8365743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AMR-KELEG",
"html_url": "https://github.com/AMR-KELEG",
"followers_url": "https://api.github.com/users/AM... | [
{
"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 PR https://github.com/huggingface/transformers/pull/3803 might be related to the bug but my initial thought is that it will not fix it.",
"Hello! Why do you think it should return 3 for RoBERTa models?\r\n\r\nIt should return 2, single sequences for RoBERTa are built like: \r\n\r\n`<s> tok_0 ... tok_n </s>`... | 1,586 | 1,594 | 1,594 | 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)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3814/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3813/comments | https://api.github.com/repos/huggingface/transformers/issues/3813/events | https://github.com/huggingface/transformers/issues/3813 | 600,622,906 | MDU6SXNzdWU2MDA2MjI5MDY= | 3,813 | T5 prediction using fine-tuned model | {
"login": "prabalbansal",
"id": 30004110,
"node_id": "MDQ6VXNlcjMwMDA0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/30004110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prabalbansal",
"html_url": "https://github.com/prabalbansal",
"followers_url": "https://api.github.c... | [] | 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... | [
"@sshleifer @patrickvonplaten ",
"Hi, I am curious about how you fine-tined T5. Did you used the run_bart_sum.py script by changing the model type from bart to T5? Thanks!",
"@sshleifer - could you take a look at this if you find some time? `T5` should more or less work out-of-the-box with the `run_bart_sum` sc... | 1,586 | 1,587 | 1,587 | NONE | null | After fine-tuning the T5 model on my own dataset, when I use the fine-tuned model to predict for test set using the following command:
python '/content/transformers-master/examples/summarization/bart/run_bart_sum.py' --data_dir='/content/drive/My Drive/two_keywords/' --model_type=t5 --output_dir=/content/t5 --do_pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3813/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.