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/5620
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5620/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5620/comments
https://api.github.com/repos/huggingface/transformers/issues/5620/events
https://github.com/huggingface/transformers/pull/5620
653,833,523
MDExOlB1bGxSZXF1ZXN0NDQ2Njc0Mzc5
5,620
Fix re-tokenization (ignoring is_pretokenized=True) when passing a pretokenized batch to both batch_encode_plus and tokenizer.__call__ methods
{ "login": "amoux", "id": 20451397, "node_id": "MDQ6VXNlcjIwNDUxMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/20451397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amoux", "html_url": "https://github.com/amoux", "followers_url": "https://api.github.com/users/amoux/follow...
[]
closed
false
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[ { "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.gi...
[]
1,594
1,598
1,598
NONE
null
# Bug > Fix unexpected behavior when passing already tokenized tokens (ignoring `is_pretokenized=True`) using `batch_encode_plus` and `self.__call__()` ```python tokenizer = BertTokenizer.from_pretrained("bert-base-cased") batch_sentences = ['The rapid expansion of the current COVID - 19 pandemic.', ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5620/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5620", "html_url": "https://github.com/huggingface/transformers/pull/5620", "diff_url": "https://github.com/huggingface/transformers/pull/5620.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5620.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5619
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5619/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5619/comments
https://api.github.com/repos/huggingface/transformers/issues/5619/events
https://github.com/huggingface/transformers/issues/5619
653,830,607
MDU6SXNzdWU2NTM4MzA2MDc=
5,619
Should t5-small generate coherent text as summaries without finetuning?
{ "login": "marton-avrios", "id": 59836119, "node_id": "MDQ6VXNlcjU5ODM2MTE5", "avatar_url": "https://avatars.githubusercontent.com/u/59836119?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marton-avrios", "html_url": "https://github.com/marton-avrios", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @marton-avrios can you share with me the example? Let me try them out as well and see if I found any edge cases where it is not coherent (subjectively). Can you also point out the dataset?\r\n\r\nWill be appreciated if you can share the example reference, dataset link, or your example source code.", "just go ...
1,594
1,600
1,600
NONE
null
I am following the summarization example and if I run `run_eval.py` for `t5-small` and `xsum` without finetuning I still get coherent, new (similar to source but not the same) and meaningful texts as summaries. The doc does not mention that it was pretrained on any kind of summarization task.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5619/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5618
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5618/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5618/comments
https://api.github.com/repos/huggingface/transformers/issues/5618/events
https://github.com/huggingface/transformers/pull/5618
653,824,548
MDExOlB1bGxSZXF1ZXN0NDQ2NjY3MDYx
5,618
Generate up to max_target_length sequences
{ "login": "tetsef", "id": 58531890, "node_id": "MDQ6VXNlcjU4NTMxODkw", "avatar_url": "https://avatars.githubusercontent.com/u/58531890?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tetsef", "html_url": "https://github.com/tetsef", "followers_url": "https://api.github.com/users/tetsef/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5618?src=pr&el=h1) Report\n> Merging [#5618](https://codecov.io/gh/huggingface/transformers/pull/5618?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
NONE
null
* Modifies the generate() call to allow for generation of sequences up to and including max_target_length number of tokens. * Previous to this commit, implementation caps generation at 20 tokens and may result in poor performance. * See related recent generation_utils.py commit: https://github.com/huggingface/transf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5618/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5618", "html_url": "https://github.com/huggingface/transformers/pull/5618", "diff_url": "https://github.com/huggingface/transformers/pull/5618.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5618.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5617
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5617/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5617/comments
https://api.github.com/repos/huggingface/transformers/issues/5617/events
https://github.com/huggingface/transformers/pull/5617
653,796,023
MDExOlB1bGxSZXF1ZXN0NDQ2NjQzNzAy
5,617
Update README.md
{ "login": "bashartalafha", "id": 26685171, "node_id": "MDQ6VXNlcjI2Njg1MTcx", "avatar_url": "https://avatars.githubusercontent.com/u/26685171?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bashartalafha", "html_url": "https://github.com/bashartalafha", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5617?src=pr&el=h1) Report\n> Merging [#5617](https://codecov.io/gh/huggingface/transformers/pull/5617?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5617/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5617/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5617", "html_url": "https://github.com/huggingface/transformers/pull/5617", "diff_url": "https://github.com/huggingface/transformers/pull/5617.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5617.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5616
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5616/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5616/comments
https://api.github.com/repos/huggingface/transformers/issues/5616/events
https://github.com/huggingface/transformers/pull/5616
653,743,137
MDExOlB1bGxSZXF1ZXN0NDQ2NjAxNDM0
5,616
fix 404
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5616/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5616/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5616", "html_url": "https://github.com/huggingface/transformers/pull/5616", "diff_url": "https://github.com/huggingface/transformers/pull/5616.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5616.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5615
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5615/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5615/comments
https://api.github.com/repos/huggingface/transformers/issues/5615/events
https://github.com/huggingface/transformers/issues/5615
653,700,819
MDU6SXNzdWU2NTM3MDA4MTk=
5,615
🐛 Bart Tokenization difference between 2.11.0 and 3.0.2
{ "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...
[ { "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 line :\r\n\r\nhttps://github.com/huggingface/transformers/blob/b42586ea560a20dcadb78472a6b4596f579e9043/src/transformers/tokenization_utils.py#L1709\r\n\r\nwas changed to :\r\n\r\nhttps://github.com/huggingface/transformers/blob/b0892fa0e8df02d683e05e625b3903209bff362d/src/transformers/tokenization_utils.py#L...
1,594
1,600
1,600
CONTRIBUTOR
null
# 🐛 Bug Running this code : ```python from transformers import BartTokenizer tokenizer = BartTokenizer.from_pretrained("facebook/bart-large") print(tokenizer.batch_encode_plus(["This is an example"])) ``` in `transformers` `2.11.0` and `3.0.2` gives different results. `transformers` `2.11.0` : > {'i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5615/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5614
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5614/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5614/comments
https://api.github.com/repos/huggingface/transformers/issues/5614/events
https://github.com/huggingface/transformers/pull/5614
653,677,115
MDExOlB1bGxSZXF1ZXN0NDQ2NTUwNzQw
5,614
[WIP] Test TF Flaubert + Add {XLM, Flaubert}{TokenClassification, MultipleC…
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5614?src=pr&el=h1) Report\n> Merging [#5614](https://codecov.io/gh/huggingface/transformers/pull/5614?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8a8ae27617e3c4dafb34bcbbaadf4ceee28583bd&el=desc) will **increase...
1,594
1,596
1,596
MEMBER
null
…hoice} models and tests The remaining TF tests pass with TF2.3. Waiting to unpin TF before merge.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5614/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/5614/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5614", "html_url": "https://github.com/huggingface/transformers/pull/5614", "diff_url": "https://github.com/huggingface/transformers/pull/5614.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5614.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5613
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5613/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5613/comments
https://api.github.com/repos/huggingface/transformers/issues/5613/events
https://github.com/huggingface/transformers/pull/5613
653,661,500
MDExOlB1bGxSZXF1ZXN0NDQ2NTM4MDg5
5,613
doc fixes
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5613?src=pr&el=h1) Report\n> Merging [#5613](https://codecov.io/gh/huggingface/transformers/pull/5613?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7d0ef0042042899b67867a4e2962d8e97fb5c6f5&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
a few minor doc improvements.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5613/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5613/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5613", "html_url": "https://github.com/huggingface/transformers/pull/5613", "diff_url": "https://github.com/huggingface/transformers/pull/5613.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5613.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5612
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5612/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5612/comments
https://api.github.com/repos/huggingface/transformers/issues/5612/events
https://github.com/huggingface/transformers/issues/5612
653,610,640
MDU6SXNzdWU2NTM2MTA2NDA=
5,612
Did the run_language_model support TPU?
{ "login": "lai-agent-t", "id": 64478368, "node_id": "MDQ6VXNlcjY0NDc4MzY4", "avatar_url": "https://avatars.githubusercontent.com/u/64478368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lai-agent-t", "html_url": "https://github.com/lai-agent-t", "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 totally agree with you that the transformers team needs to address this issue from a long time ago. I am also struggle to run token classification using TPU. Google gives TPUv3-8 as a part of google collab for only 9$ which equivalent to 8xV100 GPU. Yet until now, we can't run transformers using TPU. This should...
1,594
1,604
1,604
NONE
null
# ❓ Questions & Help I try to using own dataset on tpu with running run_language_model.py, the command is I use below: python examples/xla_spawn.py --num_cores 8 examples/language-modeling/run_language_modeling.py --model_name_or_path hfl/chinese-bert-wwm --output_dir model/tpu --train_data_file /Language_masked_m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5612/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/5612/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5611
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5611/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5611/comments
https://api.github.com/repos/huggingface/transformers/issues/5611/events
https://github.com/huggingface/transformers/issues/5611
653,536,334
MDU6SXNzdWU2NTM1MzYzMzQ=
5,611
IndexError: index out of range in self
{ "login": "monk1337", "id": 17107749, "node_id": "MDQ6VXNlcjE3MTA3NzQ5", "avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monk1337", "html_url": "https://github.com/monk1337", "followers_url": "https://api.github.com/users/mon...
[]
closed
false
null
[]
[ "how did you solve this problem. Can you share your solution.", "Most likely there is mismatch between vocabulary size of tokenizer and bert model ( in bert config). Try setting vocab size of your tokenizer in bert config while initializing your model.", "@zhunipingan I had to trim the length of the sentence t...
1,594
1,665
1,596
NONE
null
# 🐛 Bug ## Information The model I am using Bert ('bert-large-uncased') and I am facing two issues related to this model The language I am using the model on English The problem arises when using: When I am trying to encode a large sentence ( sentence length 500 words ), I am getting this error : `I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5611/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5611/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5610
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5610/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5610/comments
https://api.github.com/repos/huggingface/transformers/issues/5610/events
https://github.com/huggingface/transformers/pull/5610
653,482,406
MDExOlB1bGxSZXF1ZXN0NDQ2MzkyNjE3
5,610
create model cards for qg models
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "id": 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/5610?src=pr&el=h1) Report\n> Merging [#5610](https://codecov.io/gh/huggingface/transformers/pull/5610?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/40d98ebf50c4662bcd6dce6395bbed0b2142ea52&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
cc @julien-c , @danielduckworth
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5610/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5610/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5610", "html_url": "https://github.com/huggingface/transformers/pull/5610", "diff_url": "https://github.com/huggingface/transformers/pull/5610.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5610.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5609
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5609/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5609/comments
https://api.github.com/repos/huggingface/transformers/issues/5609/events
https://github.com/huggingface/transformers/issues/5609
653,429,077
MDU6SXNzdWU2NTM0MjkwNzc=
5,609
Duplicate grouped entities when using 'ner' pipeline
{ "login": "JamesDeAntonis", "id": 33379057, "node_id": "MDQ6VXNlcjMzMzc5MDU3", "avatar_url": "https://avatars.githubusercontent.com/u/33379057?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JamesDeAntonis", "html_url": "https://github.com/JamesDeAntonis", "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
[]
[ "Can you check whether this still occurs after recently merged #4987? ", "Thanks for the response.\r\n\r\nIs there a special repo I have to pull from or can I just update transformers. Assuming the latter, I just re-ran `pip install --upgrade transformers`. After doing this, the bug persists.", "No, you would...
1,594
1,601
1,601
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): 'ner' pipeline 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5609/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5609/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5608
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5608/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5608/comments
https://api.github.com/repos/huggingface/transformers/issues/5608/events
https://github.com/huggingface/transformers/issues/5608
653,428,433
MDU6SXNzdWU2NTM0Mjg0MzM=
5,608
Is there an implementation of BERT architecture in PyTorch that I can modify here?
{ "login": "abhisheknovoic", "id": 62595485, "node_id": "MDQ6VXNlcjYyNTk1NDg1", "avatar_url": "https://avatars.githubusercontent.com/u/62595485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhisheknovoic", "html_url": "https://github.com/abhisheknovoic", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi! Yes, you can modify the BERT architecture as you please, it's self contained. It's in the [modeling_bert.py](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bert.py) file.", "Thanks @LysandreJik , can you also confirm if this implementation supports multi gpu training? ", ...
1,594
1,594
1,594
NONE
null
Hello Team, Firstly, thanks for this amazing repo. I am doing my own research and I want access to a native implementation of BERT in PyTorch so I can modify the architecture and play with it by including a few of my own modules. Is that possible with the codebase in HuggingFace repo here? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5608/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5608/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5607
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5607/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5607/comments
https://api.github.com/repos/huggingface/transformers/issues/5607/events
https://github.com/huggingface/transformers/pull/5607
653,419,435
MDExOlB1bGxSZXF1ZXN0NDQ2MzQyNTU5
5,607
docs(wandb): explain how to use W&B integration
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5607?src=pr&el=h1) Report\n> Merging [#5607](https://codecov.io/gh/huggingface/transformers/pull/5607?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/40d98ebf50c4662bcd6dce6395bbed0b2142ea52&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
Documentation on how to use W&B integration has been added to clear up confusion on how to customize logging. fix #5262
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5607/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5607", "html_url": "https://github.com/huggingface/transformers/pull/5607", "diff_url": "https://github.com/huggingface/transformers/pull/5607.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5607.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5606
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5606/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5606/comments
https://api.github.com/repos/huggingface/transformers/issues/5606/events
https://github.com/huggingface/transformers/issues/5606
653,366,047
MDU6SXNzdWU2NTMzNjYwNDc=
5,606
OSError using FlauBERT
{ "login": "anislll", "id": 61878147, "node_id": "MDQ6VXNlcjYxODc4MTQ3", "avatar_url": "https://avatars.githubusercontent.com/u/61878147?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anislll", "html_url": "https://github.com/anislll", "followers_url": "https://api.github.com/users/anisll...
[ { "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,594
1,600
1,600
NONE
null
Hello everyone, I'm trying to run Flaubert model on my data using ktrain. # 🐛 Bug ## Information Model I am using (Bert, XLNet ...): flaubert/flaubert_base_cased Language I am using the model on (English, Chinese ...): French The problem arises when using: * [x] the official example scripts: (giv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5606/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5606/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5605
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5605/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5605/comments
https://api.github.com/repos/huggingface/transformers/issues/5605/events
https://github.com/huggingface/transformers/issues/5605
653,362,662
MDU6SXNzdWU2NTMzNjI2NjI=
5,605
Here maybe a bug, when we load staged checkpoint
{ "login": "hengchao0248", "id": 17661135, "node_id": "MDQ6VXNlcjE3NjYxMTM1", "avatar_url": "https://avatars.githubusercontent.com/u/17661135?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hengchao0248", "html_url": "https://github.com/hengchao0248", "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", "I'm also puzzled by this. The calculations here seems incorrect.", "To me these calculations are not incorrect if we take `step` as o...
1,594
1,605
1,600
NONE
null
ERROR: type should be string, got "https://github.com/huggingface/transformers/blob/40d98ebf50c4662bcd6dce6395bbed0b2142ea52/src/transformers/trainer.py#L458\r\n\r\nI met this bug when I used the setting below:\r\n\r\nglobal_steps = 2748\r\nlen(train_dataloader) = 27484\r\ngradient_accumulation_steps = 4\r\n\r\nIn the original code, \"steps_trained_in_current_epoch\" will be 2748 ! BUT this variable should be 2748*4 = 10,992\r\n\r\nthe code I suggested is below:\r\n\r\n```\r\nepochs_trained = (self.global_step * self.args.gradient_accumulation_steps) // len(train_dataloader)\r\nsteps_trained_in_current_epoch = (self.global_step * self.args.gradient_accumulation_steps) % len(train_dataloader)\r\n```"
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5605/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/5605/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5604
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5604/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5604/comments
https://api.github.com/repos/huggingface/transformers/issues/5604/events
https://github.com/huggingface/transformers/issues/5604
653,331,917
MDU6SXNzdWU2NTMzMzE5MTc=
5,604
[Benchmark] TFGPT2LMHeadModel is five times slower than GPT2LMHeadModel
{ "login": "bjourne", "id": 142475, "node_id": "MDQ6VXNlcjE0MjQ3NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/142475?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bjourne", "html_url": "https://github.com/bjourne", "followers_url": "https://api.github.com/users/bjourne/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
{ "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...
[ "That's probably because you're in eager mode in your TensorFlow script. You can read about eager mode [here](https://www.tensorflow.org/guide/eager).\r\n\r\n[Here's](https://docs.google.com/spreadsheets/d/1sryqufw2D0XlUH4sq3e9Wnxu5EAQkaohzrJbd5HdQ_w/edit#gid=0) a spreadsheet showcasing several model performances, ...
1,594
1,661
1,602
NONE
null
Here are two scripts I ran. ```python from time import time from transformers import TFGPT2LMHeadModel, GPT2Tokenizer import tensorflow as tf tokenizer = GPT2Tokenizer.from_pretrained("gpt2") model = TFGPT2LMHeadModel.from_pretrained('gpt2') text = "What are you doing after you have finished working?" gene...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5604/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5603
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5603/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5603/comments
https://api.github.com/repos/huggingface/transformers/issues/5603/events
https://github.com/huggingface/transformers/pull/5603
653,321,531
MDExOlB1bGxSZXF1ZXN0NDQ2MjYyNzE4
5,603
Update benchmark notebook
{ "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,594
1,594
1,594
MEMBER
null
Small update
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5603/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5603/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5603", "html_url": "https://github.com/huggingface/transformers/pull/5603", "diff_url": "https://github.com/huggingface/transformers/pull/5603.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5603.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5602
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5602/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5602/comments
https://api.github.com/repos/huggingface/transformers/issues/5602/events
https://github.com/huggingface/transformers/issues/5602
653,296,621
MDU6SXNzdWU2NTMyOTY2MjE=
5,602
MarianMT: "CUDA out of memory" when translating many times with the MarianMT Model
{ "login": "agiagoulas", "id": 46862051, "node_id": "MDQ6VXNlcjQ2ODYyMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/46862051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agiagoulas", "html_url": "https://github.com/agiagoulas", "followers_url": "https://api.github.com/use...
[ { "id": 2039044877, "node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3", "url": "https://api.github.com/repos/huggingface/transformers/labels/marian", "name": "marian", "color": "30cc95", "default": false, "description": "" } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@sshleifer The Documentation page said to assign you, but I can only mention you. ", "how big are your batches?\r\n\r\n```python\r\nsrc = 'en' # source language\r\ntrg = 'de' # target language\r\ndevice='cuda'\r\nmname = f'Helsinki-NLP/opus-mt-{src}-{trg}'\r\nmodel = MarianMTModel.from_pretrained(mname).to(dev...
1,594
1,599
1,596
NONE
null
# 🐛 Bug RuntimeError('CUDA out of memory. Tried to allocate 26.00 MiB (GPU 0; 4.00 GiB total capacity; 3.03 GiB already allocated; 4.72 MiB free; 3.06 GiB reserved in total by PyTorch)') ## Information I wrote a python notebook to translate datasets using MarianMT. Therefore I wrote a function, that gets called ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5602/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5601
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5601/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5601/comments
https://api.github.com/repos/huggingface/transformers/issues/5601/events
https://github.com/huggingface/transformers/pull/5601
653,281,384
MDExOlB1bGxSZXF1ZXN0NDQ2MjMwMjY3
5,601
Create README.md
{ "login": "bashartalafha", "id": 26685171, "node_id": "MDQ6VXNlcjI2Njg1MTcx", "avatar_url": "https://avatars.githubusercontent.com/u/26685171?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bashartalafha", "html_url": "https://github.com/bashartalafha", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5601?src=pr&el=h1) Report\n> Merging [#5601](https://codecov.io/gh/huggingface/transformers/pull/5601?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f82a2a5e8e6827343322a4a9831924c5bb9bd2b2&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5601/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5601/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5601", "html_url": "https://github.com/huggingface/transformers/pull/5601", "diff_url": "https://github.com/huggingface/transformers/pull/5601.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5601.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5600
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5600/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5600/comments
https://api.github.com/repos/huggingface/transformers/issues/5600/events
https://github.com/huggingface/transformers/issues/5600
653,265,333
MDU6SXNzdWU2NTMyNjUzMzM=
5,600
[MarianMT{
{ "login": "agiagoulas", "id": 46862051, "node_id": "MDQ6VXNlcjQ2ODYyMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/46862051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agiagoulas", "html_url": "https://github.com/agiagoulas", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
NONE
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5600/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5600/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5599
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5599/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5599/comments
https://api.github.com/repos/huggingface/transformers/issues/5599/events
https://github.com/huggingface/transformers/pull/5599
653,257,870
MDExOlB1bGxSZXF1ZXN0NDQ2MjEwOTA3
5,599
Add newly trained `calbert-tiny-uncased`
{ "login": "txus", "id": 83234, "node_id": "MDQ6VXNlcjgzMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/83234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/txus", "html_url": "https://github.com/txus", "followers_url": "https://api.github.com/users/txus/followers", "follo...
[ { "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/5599?src=pr&el=h1) Report\n> Merging [#5599](https://codecov.io/gh/huggingface/transformers/pull/5599?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f82a2a5e8e6827343322a4a9831924c5bb9bd2b2&el=desc) will **not chan...
1,594
1,594
1,594
CONTRIBUTOR
null
Calbert is an open-source ALBERT trained on the Catalan OSCAR dataset. This is the `tiny` version, newly trained from a completely rewrite [in this repo](https://github.com/codegram/calbert), now using SentencePiece which makes everything work much better with pipelines and the default tooling, as demonstrated in the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5599/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5599", "html_url": "https://github.com/huggingface/transformers/pull/5599", "diff_url": "https://github.com/huggingface/transformers/pull/5599.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5599.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5598
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5598/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5598/comments
https://api.github.com/repos/huggingface/transformers/issues/5598/events
https://github.com/huggingface/transformers/pull/5598
653,233,476
MDExOlB1bGxSZXF1ZXN0NDQ2MTkxMTU1
5,598
returned value from parse method of MeCab >= 1.0.0 was changed
{ "login": "gorogoroyasu", "id": 17561419, "node_id": "MDQ6VXNlcjE3NTYxNDE5", "avatar_url": "https://avatars.githubusercontent.com/u/17561419?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gorogoroyasu", "html_url": "https://github.com/gorogoroyasu", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5598?src=pr&el=h1) Report\n> Merging [#5598](https://codecov.io/gh/huggingface/transformers/pull/5598?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f82a2a5e8e6827343322a4a9831924c5bb9bd2b2&el=desc) will **increase...
1,594
1,594
1,594
NONE
null
As shown below, returned value from MeCab's parse method was changed, we need to fix MecabTokenizer in BertJapaneseTokenizer. # mecab-python3==1.0.0 (latest version) ``` root@713173e4bace:/# pip freeze | grep mecab mecab-python3==1.0.0 root@713173e4bace:/# python Python 3.8.3 (default, Jul 7 2020, 11:33:46...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5598/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5598/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5598", "html_url": "https://github.com/huggingface/transformers/pull/5598", "diff_url": "https://github.com/huggingface/transformers/pull/5598.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5598.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5597
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5597/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5597/comments
https://api.github.com/repos/huggingface/transformers/issues/5597/events
https://github.com/huggingface/transformers/issues/5597
653,231,863
MDU6SXNzdWU2NTMyMzE4NjM=
5,597
DPR model examples / notebook / pipeline
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
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,594
1,600
1,600
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> An notebook or own script in the examples folders would be pretty nice for the new DPR model, implemented by @lhoestq Maybe an implementation to the pipeline...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5597/reactions", "total_count": 8, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5597/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5596
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5596/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5596/comments
https://api.github.com/repos/huggingface/transformers/issues/5596/events
https://github.com/huggingface/transformers/pull/5596
653,168,270
MDExOlB1bGxSZXF1ZXN0NDQ2MTM2OTUy
5,596
Add data_collator with attention_mask feature
{ "login": "LunaBlack", "id": 11146719, "node_id": "MDQ6VXNlcjExMTQ2NzE5", "avatar_url": "https://avatars.githubusercontent.com/u/11146719?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LunaBlack", "html_url": "https://github.com/LunaBlack", "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
[]
[ "Add a related issue: #4702", "I agree that we should handle `attention_mask`, but I don't think adding another class `DataCollatorForMaskedLanguageModeling` is necessary. The class `DataCollatorForLanguageModeling` already handles masked language modeling, and should imo be modified to handle attention masks as ...
1,594
1,602
1,602
NONE
null
For models like BERT, we should mask the padding ids as invalidate to avoid attention on them. Therefore, in addition to `input_ids`, the feature `attention_mask` should also be fed to the model. Add a data collator `DataCollatorForMaskedLanguageModeling` which will return all of above data, and add a dataset class `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5596/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5596/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5596", "html_url": "https://github.com/huggingface/transformers/pull/5596", "diff_url": "https://github.com/huggingface/transformers/pull/5596.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5596.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5595
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5595/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5595/comments
https://api.github.com/repos/huggingface/transformers/issues/5595/events
https://github.com/huggingface/transformers/issues/5595
653,149,185
MDU6SXNzdWU2NTMxNDkxODU=
5,595
transformer dataset and masked LM
{ "login": "siheming", "id": 30624256, "node_id": "MDQ6VXNlcjMwNjI0MjU2", "avatar_url": "https://avatars.githubusercontent.com/u/30624256?v=4", "gravatar_id": "", "url": "https://api.github.com/users/siheming", "html_url": "https://github.com/siheming", "followers_url": "https://api.github.com/users/sih...
[]
closed
false
null
[]
[ "Should I also put the questions form the stackoverflow post in this issue? Or is there any problem with this issue? Did I overlook something?", "Posted the solution I found on github." ]
1,594
1,595
1,595
NONE
null
# ❓ Questions & Help I was wondering about the masked LM models and the Datasets for the transformer library. <!-- 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) w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5595/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5595/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5594
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5594/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5594/comments
https://api.github.com/repos/huggingface/transformers/issues/5594/events
https://github.com/huggingface/transformers/pull/5594
653,113,306
MDExOlB1bGxSZXF1ZXN0NDQ2MDkzMzM0
5,594
[Benchmark] Add benchmarks for TF Training
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5594?src=pr&el=h1) Report\n> Merging [#5594](https://codecov.io/gh/huggingface/transformers/pull/5594?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cfbb98297449e09e5a2443b4ba76be52a71ec0f7&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
This PR adds train functions to TF benchmarks including tests. The notebook is updated accordingly as well.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5594/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5594", "html_url": "https://github.com/huggingface/transformers/pull/5594", "diff_url": "https://github.com/huggingface/transformers/pull/5594.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5594.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5593
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5593/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5593/comments
https://api.github.com/repos/huggingface/transformers/issues/5593/events
https://github.com/huggingface/transformers/issues/5593
653,098,510
MDU6SXNzdWU2NTMwOTg1MTA=
5,593
AttributeError: 'Tensor' object has no attribute 'ndim'
{ "login": "Imenbaa", "id": 45403868, "node_id": "MDQ6VXNlcjQ1NDAzODY4", "avatar_url": "https://avatars.githubusercontent.com/u/45403868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Imenbaa", "html_url": "https://github.com/Imenbaa", "followers_url": "https://api.github.com/users/Imenba...
[]
closed
false
null
[]
[ "Hi! Do you mind pasting the command you used to run the script? Thank you!", "Hi @LysandreJik ,\r\nThank you for your quick reply.\r\nFirst, I want to cheer you for your amazing work in HuggingFaces Transformers.\r\nFor that error I used the command \"python run.generation.py --model_type=gpt2 --model_name_or_pa...
1,594
1,595
1,595
NONE
null
# ❓ Questions & Help Hello, when I run the run_generation.py file I got this error: Traceback (most recent call last): File "C:\Users\imen.benamor\AppData\Local\Programs\Python\Python36\lib\site-packages\transformers\tokenization_utils_base.py", line 507, in convert_to_tensors if tensor.ndim > 2: Attr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5593/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5593/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5592
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5592/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5592/comments
https://api.github.com/repos/huggingface/transformers/issues/5592/events
https://github.com/huggingface/transformers/pull/5592
653,023,382
MDExOlB1bGxSZXF1ZXN0NDQ2MDE5MTEz
5,592
Allow to set Adam beta1, beta2 in TrainingArgs
{ "login": "gonglinyuan", "id": 9744170, "node_id": "MDQ6VXNlcjk3NDQxNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/9744170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gonglinyuan", "html_url": "https://github.com/gonglinyuan", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5592?src=pr&el=h1) Report\n> Merging [#5592](https://codecov.io/gh/huggingface/transformers/pull/5592?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cfbb98297449e09e5a2443b4ba76be52a71ec0f7&el=desc) will **increase...
1,594
1,595
1,595
CONTRIBUTOR
null
In some models, `beta1` and `beta2` in Adam optimizer are set to be different from the default values `(0.9, 0.999)`. For example, RoBERTa set `beta2 = 0.98`. It is thereby necessary to add `beta1` and `beta2` in `TrainingArgs` if the user wants to fine-tune RoBERTa and other similar models. Also, another hyperparamete...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5592/reactions", "total_count": 5, "+1": 1, "-1": 0, "laugh": 1, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5592/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5592", "html_url": "https://github.com/huggingface/transformers/pull/5592", "diff_url": "https://github.com/huggingface/transformers/pull/5592.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5592.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5591
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5591/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5591/comments
https://api.github.com/repos/huggingface/transformers/issues/5591/events
https://github.com/huggingface/transformers/issues/5591
652,971,055
MDU6SXNzdWU2NTI5NzEwNTU=
5,591
KeyError Issue in Question answering
{ "login": "siddBanPsu", "id": 9299962, "node_id": "MDQ6VXNlcjkyOTk5NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/9299962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/siddBanPsu", "html_url": "https://github.com/siddBanPsu", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I believe this issue has been recurring in other versions due to tokenization related indexing issue. \r\n\r\nI did the following to get the span from the answer. \r\n\r\n```\r\nMODEL_LOC = \"distilbert-base-uncased-distilled-squad\"\r\nTOKENIZER_LOC = \"distilbert-base-uncased-distilled-squad\"\r\nmodel = AutoMod...
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Distillbert Language I am using the model on (English, Chinese ...): English The problem arises when using: * my own modified scripts: (give details below) ## To reproduce Steps to reproduce the behavior: 1. Just run this code. ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5591/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5590
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5590/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5590/comments
https://api.github.com/repos/huggingface/transformers/issues/5590/events
https://github.com/huggingface/transformers/issues/5590
652,916,593
MDU6SXNzdWU2NTI5MTY1OTM=
5,590
HF Trainer Segmentation Fault
{ "login": "ksjae", "id": 17930170, "node_id": "MDQ6VXNlcjE3OTMwMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/17930170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ksjae", "html_url": "https://github.com/ksjae", "followers_url": "https://api.github.com/users/ksjae/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi! Could you paste here the result of `pip list` in your environment ?", "```\r\nabsl-py 0.9.0\r\napex 0.1\r\nastor 0.8.1\r\nastunparse 1.6.3\r\nbackcall 0.1.0\r\nbeautifulsoup4 4.9.1\r\nblis 0.4.1\r\nBottlenec...
1,594
1,602
1,602
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): GPT2-medium & large Language I am using the model on (English, Chinese ...): Korean (with custom trained tokenizer) The problem arises when using: * [ O ] the official example scripts: (give details below) https://huggingface.co/blog/how-to-train...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5590/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/5590/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5589
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5589/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5589/comments
https://api.github.com/repos/huggingface/transformers/issues/5589/events
https://github.com/huggingface/transformers/issues/5589
652,823,895
MDU6SXNzdWU2NTI4MjM4OTU=
5,589
Datasets & collators for NER
{ "login": "Pradhy729", "id": 49659913, "node_id": "MDQ6VXNlcjQ5NjU5OTEz", "avatar_url": "https://avatars.githubusercontent.com/u/49659913?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Pradhy729", "html_url": "https://github.com/Pradhy729", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,599
1,599
CONTRIBUTOR
null
# 🚀 Feature request Is there a plan to add a dataset subclass and loader/collator for token classification tasks in the CONLL format? Or has that been deliberately avoided for some reason. ## Motivation We have TextDatasets and DataCollatorForLanguageModeling. Can we have something similar for token classifi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5589/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5588
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5588/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5588/comments
https://api.github.com/repos/huggingface/transformers/issues/5588/events
https://github.com/huggingface/transformers/issues/5588
652,810,906
MDU6SXNzdWU2NTI4MTA5MDY=
5,588
[Some weights or buffers of the PyTorch model TFGPT2LMHeadModel were not initialized] convert GPT2 pytorch to tensorflow model
{ "login": "gyin94", "id": 67664443, "node_id": "MDQ6VXNlcjY3NjY0NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/67664443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gyin94", "html_url": "https://github.com/gyin94", "followers_url": "https://api.github.com/users/gyin94/fo...
[]
closed
false
null
[]
[ "Hi! The way you converted your model is the recommended way :ok_hand: \r\n\r\nThe warning is irrelevant to this conversion, we should try to make that clearer.", "The warning is very confusing and can be fixed by pull request #6604.", "The warning is very confusing and can be fixed by new pull request #6623" ]
1,594
1,597
1,594
NONE
null
# ❓ Questions & Help How can we convert gpt2 fine tuned model from run_language_model.py from pytorch to tensorflow model? I came into the following warning when importing pytorch model GPT2LMHeadModel into TFGPT2LMHeadModel. ``` WARNING:transformers.modeling_tf_pytorch_utils:Some weights or buffers of the PyTor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5588/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5587
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5587/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5587/comments
https://api.github.com/repos/huggingface/transformers/issues/5587/events
https://github.com/huggingface/transformers/issues/5587
652,801,008
MDU6SXNzdWU2NTI4MDEwMDg=
5,587
Difference between AutoTokenizer.from_pretrained and BertTokenizer.from_pretrained
{ "login": "rxlian", "id": 35382484, "node_id": "MDQ6VXNlcjM1MzgyNDg0", "avatar_url": "https://avatars.githubusercontent.com/u/35382484?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rxlian", "html_url": "https://github.com/rxlian", "followers_url": "https://api.github.com/users/rxlian/fo...
[]
closed
false
null
[]
[ "Hi! The [documentation](https://huggingface.co/transformers/model_doc/auto.html) mentions:\r\n\r\n> In many cases, the architecture you want to use can be guessed from the name or the path of the pretrained model you are supplying to the from_pretrained method.\r\n> \r\n> AutoClasses are here to do this job for yo...
1,594
1,691
1,594
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5587/reactions", "total_count": 12, "+1": 12, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5587/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5586
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5586/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5586/comments
https://api.github.com/repos/huggingface/transformers/issues/5586/events
https://github.com/huggingface/transformers/issues/5586
652,675,400
MDU6SXNzdWU2NTI2NzU0MDA=
5,586
GPT2 past usage
{ "login": "cronoik", "id": 18630848, "node_id": "MDQ6VXNlcjE4NjMwODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cronoik", "html_url": "https://github.com/cronoik", "followers_url": "https://api.github.com/users/cronoi...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @cronoik, \r\n\r\nThanks for your issue. It does not really surprise me that the loss is different. \r\nIn the first case the following loss is calculated:\r\n\r\nloss = CrossEntropy(`input_ids`: \"I like sitting in my new chair and {} about\" vs. `labels`: \"like sitting in my new chair and {} about life\").\...
1,594
1,652
1,594
CONTRIBUTOR
null
Hello everyone, I tried to answer this [stackoverflow question](https://stackoverflow.com/questions/62703391/estimate-token-probability-logits-given-a-sentence-without-computing-the-entire) and stumbled about a strange beheaviour I can't explain. The following code will calculate the loss for a sentence with dif...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5586/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5586/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5585
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5585/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5585/comments
https://api.github.com/repos/huggingface/transformers/issues/5585/events
https://github.com/huggingface/transformers/pull/5585
652,661,344
MDExOlB1bGxSZXF1ZXN0NDQ1Njk1MTk2
5,585
Update question template
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5585?src=pr&el=h1) Report\n> Merging [#5585](https://codecov.io/gh/huggingface/transformers/pull/5585?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6eab53058015483e9cbcbfee4bf900c3a8ab772&el=desc) will **increase...
1,594
1,594
1,594
COLLABORATOR
null
Point people to the forum.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5585/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5585/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5585", "html_url": "https://github.com/huggingface/transformers/pull/5585", "diff_url": "https://github.com/huggingface/transformers/pull/5585.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5585.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5584
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5584/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5584/comments
https://api.github.com/repos/huggingface/transformers/issues/5584/events
https://github.com/huggingface/transformers/issues/5584
652,643,644
MDU6SXNzdWU2NTI2NDM2NDQ=
5,584
On running finetune.py for seq2seq, the following error comes up: optimizer_step() got an unexpected keyword argument 'using_native_amp'
{ "login": "laibamehnaz", "id": 36405283, "node_id": "MDQ6VXNlcjM2NDA1Mjgz", "avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laibamehnaz", "html_url": "https://github.com/laibamehnaz", "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
[]
[ "Same issue here on 0.8.4. Downgrading to 0.8.1 works for me.\r\n\r\nRelated to recent pytorch-lightning commits for Apex: https://github.com/PyTorchLightning/pytorch-lightning/commit/0a092f66836912a714804c5103f03c7929ebf774", "however wandb is not working with 0.8.1", "Getting the same issue today with 0.8.4. ...
1,594
1,605
1,605
NONE
null
File "finetune.py", line 344, in <module> main(args) File "finetune.py", line 322, in main logger=logger, File "/content/drive/My Drive/Colab Notebooks/transformers/examples/lightning_base.py", line 336, in generic_train trainer.fit(model) File "/usr/local/lib/python3.6/dist-packages/pytorch_lig...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5584/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5584/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5583
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5583/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5583/comments
https://api.github.com/repos/huggingface/transformers/issues/5583/events
https://github.com/huggingface/transformers/pull/5583
652,544,887
MDExOlB1bGxSZXF1ZXN0NDQ1NTkzMDY2
5,583
Test XLA examples
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5583?src=pr&el=h1) Report\n> Merging [#5583](https://codecov.io/gh/huggingface/transformers/pull/5583?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33e43edddcab60217027dcf7f6570eead1195083&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
Add a script to test examples on XLA.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5583/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5583/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5583", "html_url": "https://github.com/huggingface/transformers/pull/5583", "diff_url": "https://github.com/huggingface/transformers/pull/5583.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5583.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5582
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5582/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5582/comments
https://api.github.com/repos/huggingface/transformers/issues/5582/events
https://github.com/huggingface/transformers/pull/5582
652,527,771
MDExOlB1bGxSZXF1ZXN0NDQ1NTc5MDEz
5,582
Rename files
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Mmm, guess this change is not possible as long as the file does not support evaluation as well." ]
1,594
1,651
1,594
COLLABORATOR
null
As discussed in #4829
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5582/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5582/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5582", "html_url": "https://github.com/huggingface/transformers/pull/5582", "diff_url": "https://github.com/huggingface/transformers/pull/5582.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5582.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5581
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5581/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5581/comments
https://api.github.com/repos/huggingface/transformers/issues/5581/events
https://github.com/huggingface/transformers/pull/5581
652,499,217
MDExOlB1bGxSZXF1ZXN0NDQ1NTU1NjQ0
5,581
[mbart] prepare_translation_batch passes **kwargs to allow DeprecationWarning
{ "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,594
1,594
1,594
CONTRIBUTOR
null
Since we deleted the old `pad_to_max_length` kwarg, we want to give the user a deprecation warning if it is passed. By passing all `**kwargs` to tokenizer.__call__, all improper parameter usage will cause appropriate warnings/errors.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5581/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5581/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5581", "html_url": "https://github.com/huggingface/transformers/pull/5581", "diff_url": "https://github.com/huggingface/transformers/pull/5581.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5581.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5580
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5580/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5580/comments
https://api.github.com/repos/huggingface/transformers/issues/5580/events
https://github.com/huggingface/transformers/issues/5580
652,469,289
MDU6SXNzdWU2NTI0NjkyODk=
5,580
TypeError: 'BertTokenizer' object is not callable
{ "login": "axhiao", "id": 6879331, "node_id": "MDQ6VXNlcjY4NzkzMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/6879331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axhiao", "html_url": "https://github.com/axhiao", "followers_url": "https://api.github.com/users/axhiao/foll...
[]
closed
false
null
[]
[ "Hello! It seems you're running on an older `transformers` version. The `__call__` was implemented only in version v3.0.0+. Do you mind pasting your environment information here?\r\n\r\nYou should have a dropdown in the documentation with the different versions, so that you can select the documentation that works f...
1,594
1,690
1,594
NONE
null
``` from transformers import BertTokenizer tokenizer = BertTokenizer.from_pretrained("bert-base-cased") sequence_a = "HuggingFace is based in NYC" sequence_b = "Where is HuggingFace based?" encoded_dict = tokenizer(sequence_a, sequence_b) ``` This will produce error 'BertTokenizer' object is not callable. Maybe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5580/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5580/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5579
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5579/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5579/comments
https://api.github.com/repos/huggingface/transformers/issues/5579/events
https://github.com/huggingface/transformers/issues/5579
652,448,887
MDU6SXNzdWU2NTI0NDg4ODc=
5,579
OSError: Model name 'facebook/bart-large-cnn' was not found in tokenizers model name list
{ "login": "WangHexie", "id": 31768052, "node_id": "MDQ6VXNlcjMxNzY4MDUy", "avatar_url": "https://avatars.githubusercontent.com/u/31768052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WangHexie", "html_url": "https://github.com/WangHexie", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Did you get this solved? I cannot load in t5-large.", "> Did you get this solved? I cannot load in t5-large.\r\n\r\nsolved simply by reactivating the environment and restarting the program. I installed old version of transformers, after upgrading transformers, I forgot to deactivate the environment. " ]
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bart):**facebook/bart-large-cnn** Language I am using the model on English The problem arises when using: * [x] the official example scripts: summarization ## To reproduce Steps to reproduce the behavior: run the code below ```python from transf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5579/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5579/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5578
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5578/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5578/comments
https://api.github.com/repos/huggingface/transformers/issues/5578/events
https://github.com/huggingface/transformers/pull/5578
652,424,215
MDExOlB1bGxSZXF1ZXN0NDQ1NDk0NjY1
5,578
[Reformer] - Cache hidden states and buckets to speed up inference
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5578?src=pr&el=h1) Report\n> Merging [#5578](https://codecov.io/gh/huggingface/transformers/pull/5578?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8ab565a4be5a7fd96b19ef88d474037ef31f27e5&el=desc) will **decrease...
1,594
1,595
1,594
MEMBER
null
As discussed with the authors in Reformer we cache the hidden states and buckets to speed up inference for language generation. Caching only the hidden states can save at least twice the memory versus caching the key and value output vectors (often more since the `hidden_size` can be smaller than key and query projecti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5578/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/5578/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5578", "html_url": "https://github.com/huggingface/transformers/pull/5578", "diff_url": "https://github.com/huggingface/transformers/pull/5578.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5578.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5577
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5577/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5577/comments
https://api.github.com/repos/huggingface/transformers/issues/5577/events
https://github.com/huggingface/transformers/pull/5577
652,363,208
MDExOlB1bGxSZXF1ZXN0NDQ1NDQ1MDg0
5,577
Fix tokenizers pretrained saving/loading
{ "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
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[ { "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.gi...
[ "Hey @n1t0, great job, saving works now! :)\r\nDo you think `AddedToken` instances should be serialized with additional meta data? \r\n\r\nI managed to tweak JSON (de)serialization with custom hooks to process objects properly but it is difficult to infer the deserializing type from a single set of attributes, pass...
1,594
1,651
1,597
MEMBER
null
Fix #5571 I managed to fix the saving part, but I don't really know what to do for the loading part (in `_from_pretrained`).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5577/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/5577/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5577", "html_url": "https://github.com/huggingface/transformers/pull/5577", "diff_url": "https://github.com/huggingface/transformers/pull/5577.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5577.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5576
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5576/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5576/comments
https://api.github.com/repos/huggingface/transformers/issues/5576/events
https://github.com/huggingface/transformers/pull/5576
652,355,643
MDExOlB1bGxSZXF1ZXN0NDQ1NDM5MDE2
5,576
Fix tests imports dpr
{ "login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoest...
[]
closed
false
null
[]
[ "Some tests are failing, please only merge once everything pass.", "Yep I'm on it", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5576?src=pr&el=h1) Report\n> Merging [#5576](https://codecov.io/gh/huggingface/transformers/pull/5576?src=pr&el=desc) into [master](https://codecov.io/gh/huggingfa...
1,594
1,594
1,594
MEMBER
null
There were changes in the locations of some functions used for tests in #5350. When #5279 was merged some tests couldn't run. I fixed the imports of those functions. When I re-ran the tests I noticed that some didn't pass for the DPRReaderTokenizer so I fixed them.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5576/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5576/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5576", "html_url": "https://github.com/huggingface/transformers/pull/5576", "diff_url": "https://github.com/huggingface/transformers/pull/5576.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5576.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5575
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5575/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5575/comments
https://api.github.com/repos/huggingface/transformers/issues/5575/events
https://github.com/huggingface/transformers/issues/5575
652,353,048
MDU6SXNzdWU2NTIzNTMwNDg=
5,575
Seperating premise and hypothesis in MNLI
{ "login": "prajjwal1", "id": 24690051, "node_id": "MDQ6VXNlcjI0NjkwMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prajjwal1", "html_url": "https://github.com/prajjwal1", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/...
[ { "login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.githu...
[ "Might be of interest to @joeddav :)", "I've solved this problem. Thanks a lot @joeddav for even showing interest. You guys are very supportive. I'll post what I did so that if someone is stuck, they can refer.\r\nIn all `SequenceClassification` model, there's a linear layer. So we can straightaway add the loss f...
1,594
1,594
1,594
CONTRIBUTOR
null
# ❓ Questions & Help I'm adding it here since I didn't receive any reply on SO. I think this query might be relevant for people who are working in few-shot, contrastive/metric learning space. I'm trying to implement Siamese like transformer architecture. Similar work has been done in SentenceBERT paper. I'm facin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5575/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5575/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5574
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5574/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5574/comments
https://api.github.com/repos/huggingface/transformers/issues/5574/events
https://github.com/huggingface/transformers/pull/5574
652,349,182
MDExOlB1bGxSZXF1ZXN0NDQ1NDMzODk1
5,574
Create README.md for electra-base-squad2
{ "login": "kolk", "id": 9049591, "node_id": "MDQ6VXNlcjkwNDk1OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/9049591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kolk", "html_url": "https://github.com/kolk", "followers_url": "https://api.github.com/users/kolk/followers", ...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Thank you!" ]
1,594
1,594
1,594
CONTRIBUTOR
null
Readme file for deepset/electra-base-squad2
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5574/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5574/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5574", "html_url": "https://github.com/huggingface/transformers/pull/5574", "diff_url": "https://github.com/huggingface/transformers/pull/5574.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5574.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5573
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5573/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5573/comments
https://api.github.com/repos/huggingface/transformers/issues/5573/events
https://github.com/huggingface/transformers/issues/5573
652,338,186
MDU6SXNzdWU2NTIzMzgxODY=
5,573
MBARTTokenizer set_lang logic will only work for src_lang=en_XX
{ "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
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[]
1,594
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5573/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5573/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5572
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5572/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5572/comments
https://api.github.com/repos/huggingface/transformers/issues/5572/events
https://github.com/huggingface/transformers/pull/5572
652,281,015
MDExOlB1bGxSZXF1ZXN0NDQ1Mzc5Mjky
5,572
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5572?src=pr&el=h1) Report\n> Merging [#5572](https://codecov.io/gh/huggingface/transformers/pull/5572?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d2a93991158f15993eba9ab421d82766b892f948&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5572/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5572/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5572", "html_url": "https://github.com/huggingface/transformers/pull/5572", "diff_url": "https://github.com/huggingface/transformers/pull/5572.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5572.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5571
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5571/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5571/comments
https://api.github.com/repos/huggingface/transformers/issues/5571/events
https://github.com/huggingface/transformers/issues/5571
652,172,411
MDU6SXNzdWU2NTIxNzI0MTE=
5,571
Tokenizers save_pretrained doesn't work with custom vocabs (v3.0.2)
{ "login": "mozharovsky", "id": 6762769, "node_id": "MDQ6VXNlcjY3NjI3Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/6762769?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mozharovsky", "html_url": "https://github.com/mozharovsky", "followers_url": "https://api.github.com/us...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
{ "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", ...
[ { "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/use...
[ "Fixed by #6026", "> Fixed by #6026\r\n\r\nI am still experiencing this issue when running transformers 3.1\r\n\r\nIf you load from pretrained as follows:\r\n```py\r\ntokenizer = RobertaTokenizer.from_pretrained(\"path/to/tokenizer/folder\")\r\n```\r\nthen the tokenizer init_kwargs will load appropriately. The in...
1,594
1,604
1,597
NONE
null
# 🐛 Bug ## Information I'm using an instance of `RobertaTokenizerFast` with my custom vocab (pretrained using `tokenizers` library). When I try to save the tokenizer using `tokenizer.save_pretrained(<path>)` method a type error occurs. I did a bit of investigation why this happens and got a workaround https:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5571/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5571/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5570
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5570/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5570/comments
https://api.github.com/repos/huggingface/transformers/issues/5570/events
https://github.com/huggingface/transformers/issues/5570
652,145,624
MDU6SXNzdWU2NTIxNDU2MjQ=
5,570
Freeze the token embeddings for finetuning
{ "login": "santhoshkolloju", "id": 4193817, "node_id": "MDQ6VXNlcjQxOTM4MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4193817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/santhoshkolloju", "html_url": "https://github.com/santhoshkolloju", "followers_url": "https://api.g...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "freezing embedding weights will result in faster training and will also consume less GPU memory. It might result in slightly less performance but I guess it ultimately depends on the task, the dataset etc.", "A tangent question: is it possible to freeze only a subset of the token embedding weights? Background: I...
1,594
1,658
1,603
NONE
null
Hi , I have finetuned the T5 model using the community notebooks given . But when i looked into the code under examples/seq2seq finetuning code token embedding weights are frozen. Can some one throw some light on how does this effect the finetuning process? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5570/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5570/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5569
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5569/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5569/comments
https://api.github.com/repos/huggingface/transformers/issues/5569/events
https://github.com/huggingface/transformers/issues/5569
652,111,700
MDU6SXNzdWU2NTIxMTE3MDA=
5,569
BertEmbeddings code for position_embeddings and word_embeddings
{ "login": "shampp", "id": 55344772, "node_id": "MDQ6VXNlcjU1MzQ0Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/55344772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shampp", "html_url": "https://github.com/shampp", "followers_url": "https://api.github.com/users/shampp/fo...
[]
closed
false
null
[]
[ "Hi, BERT uses absolute positional embeddings, not based on sinusoidal functions. The positional embeddings are learned. \r\n\r\nYou can check the [XLNet code](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_xlnet.py#L704-L712) or the [TransfoXL code](https://github.com/huggingface...
1,594
1,594
1,594
NONE
null
I am trying to figure out how exactly positions and words are embedded in Bert. I checked the code, and it seems following code is used for the purpose. This implies that both the embedding function are calling same `__init__' function from the class `nn.Embedding`. Where exactly is the code doing the actual pos...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5569/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5569/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5568
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5568/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5568/comments
https://api.github.com/repos/huggingface/transformers/issues/5568/events
https://github.com/huggingface/transformers/issues/5568
652,110,887
MDU6SXNzdWU2NTIxMTA4ODc=
5,568
Use pretrained bert withou embedding layers.
{ "login": "demdecuong", "id": 32518096, "node_id": "MDQ6VXNlcjMyNTE4MDk2", "avatar_url": "https://avatars.githubusercontent.com/u/32518096?v=4", "gravatar_id": "", "url": "https://api.github.com/users/demdecuong", "html_url": "https://github.com/demdecuong", "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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread." ]
1,594
1,614
1,614
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/5568/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5568/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5567
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5567/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5567/comments
https://api.github.com/repos/huggingface/transformers/issues/5567/events
https://github.com/huggingface/transformers/issues/5567
652,018,759
MDU6SXNzdWU2NTIwMTg3NTk=
5,567
How to get gradient wrt to a word embedding layer pytorch?
{ "login": "zeyuyun1", "id": 43428393, "node_id": "MDQ6VXNlcjQzNDI4Mzkz", "avatar_url": "https://avatars.githubusercontent.com/u/43428393?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zeyuyun1", "html_url": "https://github.com/zeyuyun1", "followers_url": "https://api.github.com/users/zey...
[]
closed
false
null
[]
[ "Hi, the `word_embeddings` variable is not returned so you won't obtain these except if you modify the file.", "Thanks!" ]
1,594
1,594
1,594
CONTRIBUTOR
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to 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/5567/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/5567/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5566
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5566/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5566/comments
https://api.github.com/repos/huggingface/transformers/issues/5566/events
https://github.com/huggingface/transformers/pull/5566
652,004,116
MDExOlB1bGxSZXF1ZXN0NDQ1MTU1MTMw
5,566
[docs] fix model_doc links in model summary
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5566?src=pr&el=h1) Report\n> Merging [#5566](https://codecov.io/gh/huggingface/transformers/pull/5566?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1d2332861f5225aef17bd7e75abc670a72239081&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
Possible fix for #5561 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5566/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5566/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5566", "html_url": "https://github.com/huggingface/transformers/pull/5566", "diff_url": "https://github.com/huggingface/transformers/pull/5566.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5566.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5565
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5565/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5565/comments
https://api.github.com/repos/huggingface/transformers/issues/5565/events
https://github.com/huggingface/transformers/issues/5565
651,997,744
MDU6SXNzdWU2NTE5OTc3NDQ=
5,565
❓ Why multiplying the output of T5 by some scalar before LM head ?
{ "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...
[ { "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...
[ "I think this would be a great question for our new forum, with a title like \"T5 architecture\": https://discuss.huggingface.co/ - would you mind posting it there? This seems like an interesting question people would probably like to see there.", "This issue has been automatically marked as stale because it has ...
1,594
1,600
1,600
CONTRIBUTOR
null
# ❓ Questions & Help I'm wondering why multiplying the outputs of T5 by some scalar before inputting in the LM head : https://github.com/huggingface/transformers/blob/1d2332861f5225aef17bd7e75abc670a72239081/src/transformers/modeling_tf_t5.py#L1147
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5565/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5565/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5564
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5564/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5564/comments
https://api.github.com/repos/huggingface/transformers/issues/5564/events
https://github.com/huggingface/transformers/issues/5564
651,961,048
MDU6SXNzdWU2NTE5NjEwNDg=
5,564
Where is the documentation on migrating to the 3.0 tokenizer API?
{ "login": "githubrandomuser2017", "id": 25097908, "node_id": "MDQ6VXNlcjI1MDk3OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/25097908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/githubrandomuser2017", "html_url": "https://github.com/githubrandomuser2017", "followers_url...
[]
closed
false
null
[]
[ "Hi @githubrandomuser2017 , AFAIK these methods will still work in v.3.0 as backward compatibility is maintained. This can help\r\nhttps://huggingface.co/transformers/preprocessing.html", "@patil-suraj The page you mentioned (https://huggingface.co/transformers/preprocessing.html) doesn't mention anything about t...
1,594
1,594
1,594
NONE
null
I see that you folks have completely changed the API to do tokenizing, e.g. for BertTokenizer. I have a lot of code using the two methods `encode_plus()` and `batch_encode_plus()`, and when I went to the [documentation](https://huggingface.co/transformers/main_classes/tokenizer.html) to look up an argument, I found tha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5564/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5564/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5563
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5563/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5563/comments
https://api.github.com/repos/huggingface/transformers/issues/5563/events
https://github.com/huggingface/transformers/issues/5563
651,916,231
MDU6SXNzdWU2NTE5MTYyMzE=
5,563
Bug in Question Answering pipeline when question is weird (unanswerable)
{ "login": "pavanchhatpar", "id": 16511756, "node_id": "MDQ6VXNlcjE2NTExNzU2", "avatar_url": "https://avatars.githubusercontent.com/u/16511756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pavanchhatpar", "html_url": "https://github.com/pavanchhatpar", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I believe https://github.com/huggingface/transformers/pull/5542 is trying to fix exactly this.", "Yes, I see. The pipeline failing on that pull request shows the same error.\r\nBut, I think the fix would lie somewhere in squad feature creation because the `feature.token_to_orig_map` is what gives the `KeyError`....
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): TFDistilBertForQuestionAnswering 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5563/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5563/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5562
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5562/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5562/comments
https://api.github.com/repos/huggingface/transformers/issues/5562/events
https://github.com/huggingface/transformers/pull/5562
651,862,502
MDExOlB1bGxSZXF1ZXN0NDQ1MDM4MDY1
5,562
Fix fast tokenizers too
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5562/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5562/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5562", "html_url": "https://github.com/huggingface/transformers/pull/5562", "diff_url": "https://github.com/huggingface/transformers/pull/5562.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5562.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5561
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5561/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5561/comments
https://api.github.com/repos/huggingface/transformers/issues/5561/events
https://github.com/huggingface/transformers/issues/5561
651,832,537
MDU6SXNzdWU2NTE4MzI1Mzc=
5,561
[Docs] Incorrect links to models in the Summary of the Models page
{ "login": "mikaelsouza", "id": 9092284, "node_id": "MDQ6VXNlcjkwOTIyODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9092284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mikaelsouza", "html_url": "https://github.com/mikaelsouza", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Fixed in #5566 " ]
1,594
1,594
1,594
CONTRIBUTOR
null
### Issues with the Summary of the Models page - Description: - Clicking on any model documentation located in https://huggingface.co/transformers/model_summary.html leads us to an empty page. - Possible Fix: - I've noticed that the GPT link is https://huggingface.co/model_doc/gpt while it should be https://hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5561/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5560
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5560/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5560/comments
https://api.github.com/repos/huggingface/transformers/issues/5560/events
https://github.com/huggingface/transformers/pull/5560
651,827,856
MDExOlB1bGxSZXF1ZXN0NDQ1MDA5NTE2
5,560
[Reformer] Adapt Reformer MaskedLM Attn mask
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5560?src=pr&el=h1) Report\n> Merging [#5560](https://codecov.io/gh/huggingface/transformers/pull/5560?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease...
1,594
1,594
1,594
MEMBER
null
The official trax code added an `attention_mask` to the LSH Attention layer a couple of weeks ago: https://github.com/google/trax/commit/94d7d8643d9a6ea38539486dea9ad16da30ec897#diff-a022408d1029c5cbeac49f4589f1b713R1180 . This PR adapts the Hugging Face code to have equal outputs to the official trax code for masked s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5560/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5560", "html_url": "https://github.com/huggingface/transformers/pull/5560", "diff_url": "https://github.com/huggingface/transformers/pull/5560.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5560.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5559
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5559/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5559/comments
https://api.github.com/repos/huggingface/transformers/issues/5559/events
https://github.com/huggingface/transformers/pull/5559
651,822,368
MDExOlB1bGxSZXF1ZXN0NDQ1MDA0OTU3
5,559
Fix #5507
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5559?src=pr&el=h1) Report\n> Merging [#5559](https://codecov.io/gh/huggingface/transformers/pull/5559?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bbc28bee719120f3b6f73dbe7dfe6f67e2e9fa7&el=desc) will **increase...
1,594
1,594
1,594
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5559/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5559", "html_url": "https://github.com/huggingface/transformers/pull/5559", "diff_url": "https://github.com/huggingface/transformers/pull/5559.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5559.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5558
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5558/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5558/comments
https://api.github.com/repos/huggingface/transformers/issues/5558/events
https://github.com/huggingface/transformers/pull/5558
651,812,335
MDExOlB1bGxSZXF1ZXN0NDQ0OTk2NTg2
5,558
Various tokenizers fixes
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5558?src=pr&el=h1) Report\n> Merging [#5558](https://codecov.io/gh/huggingface/transformers/pull/5558?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bbc28bee719120f3b6f73dbe7dfe6f67e2e9fa7&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
Fix https://github.com/huggingface/transformers/issues/5486 Fix https://github.com/huggingface/transformers/issues/5482 Fix https://github.com/huggingface/transformers/issues/5393 Fix https://github.com/huggingface/transformers/issues/5490
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5558/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5558", "html_url": "https://github.com/huggingface/transformers/pull/5558", "diff_url": "https://github.com/huggingface/transformers/pull/5558.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5558.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5557
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5557/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5557/comments
https://api.github.com/repos/huggingface/transformers/issues/5557/events
https://github.com/huggingface/transformers/issues/5557
651,753,961
MDU6SXNzdWU2NTE3NTM5NjE=
5,557
Roberta Large doesn't train for sentiment classification
{ "login": "Srj", "id": 44947896, "node_id": "MDQ6VXNlcjQ0OTQ3ODk2", "avatar_url": "https://avatars.githubusercontent.com/u/44947896?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Srj", "html_url": "https://github.com/Srj", "followers_url": "https://api.github.com/users/Srj/followers", ...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Your learning rate is pretty high and you might be overfitting. Try it again with 3E-5.", "My question is i have freezed the whole roberta layer. Then why still it needs to be such small lr rather than normal 0.001 as i am training only a classifier head.", "This issue has been automatically marked as stale be...
1,594
1,599
1,599
NONE
null
The following is my classifier class. I trained it with appropriate code and same tokenizer(roberta-base). It trained well on SST2 2 class sentiment problem. But when i replaced base model with roberta-large (also the tokenizer and dim of linear layer)my classifier is stuck at 50% accuracy and not matter how many epoch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5557/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5556
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5556/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5556/comments
https://api.github.com/repos/huggingface/transformers/issues/5556/events
https://github.com/huggingface/transformers/pull/5556
651,747,514
MDExOlB1bGxSZXF1ZXN0NDQ0OTQzMjMx
5,556
[pl examples] add using_native_amp flag to support pl 0.8.4
{ "login": "amirziai", "id": 8961464, "node_id": "MDQ6VXNlcjg5NjE0NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8961464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amirziai", "html_url": "https://github.com/amirziai", "followers_url": "https://api.github.com/users/amirz...
[]
closed
false
null
[]
[ "What PL version are you on? The unittests should catch this.", "@sshleifer `pytorch-lightning==0.8.4` which i believe is the latest", "Got it.\r\nI think you need to run `make style` to get CI to pass.\r\nWe also may need to wait to merge this until https://github.com/huggingface/transformers/pull/5361, which ...
1,594
1,595
1,595
NONE
null
running the example `finetune_bart_tiny.sh` in `seq2seq` fails with: ``` Traceback (most recent call last): File "finetune.py", line 344, in <module> main(args) File "finetune.py", line 322, in main logger=logger, File "/root/notebooks/analysis/transformers/examples/lightning_base.py", line 330, in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5556/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/5556/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5556", "html_url": "https://github.com/huggingface/transformers/pull/5556", "diff_url": "https://github.com/huggingface/transformers/pull/5556.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5556.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5555
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5555/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5555/comments
https://api.github.com/repos/huggingface/transformers/issues/5555/events
https://github.com/huggingface/transformers/issues/5555
651,732,664
MDU6SXNzdWU2NTE3MzI2NjQ=
5,555
Training TFBertForSequenceClassification with DataFrame instead of tensorflow_datasets
{ "login": "konstantin-doncov", "id": 6806786, "node_id": "MDQ6VXNlcjY4MDY3ODY=", "avatar_url": "https://avatars.githubusercontent.com/u/6806786?v=4", "gravatar_id": "", "url": "https://api.github.com/users/konstantin-doncov", "html_url": "https://github.com/konstantin-doncov", "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 } ]
closed
false
null
[]
[ "I also find out that every example which uses transformers with `binary_crossentropy` loss changes the pretrained model(i.e. adds some layers). Is it necessary? If so, then what minimal working example for this? ", "Now I'm just trying to copy [this Kaggle notebook](https://www.kaggle.com/definedennis/pretrained...
1,594
1,600
1,600
NONE
null
I'm trying to fine tune `transformers` with my own dataset in the `csv` file. So, I found [an item in the docs which shows a basic usage example](https://huggingface.co/transformers/training.html#fine-tuning-in-native-tensorflow-2). But the main problem is that this example shows how to use transformers with the `tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5555/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/5555/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5554
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5554/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5554/comments
https://api.github.com/repos/huggingface/transformers/issues/5554/events
https://github.com/huggingface/transformers/issues/5554
651,723,386
MDU6SXNzdWU2NTE3MjMzODY=
5,554
huggingface optimizer cannot de-serialize
{ "login": "suhasvk", "id": 11435124, "node_id": "MDQ6VXNlcjExNDM1MTI0", "avatar_url": "https://avatars.githubusercontent.com/u/11435124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suhasvk", "html_url": "https://github.com/suhasvk", "followers_url": "https://api.github.com/users/suhasv...
[ { "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
[]
[ "Great, thanks for your analysis! Do you think you can open a PR with your proposed fix?", "Sure, will do!", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "Hi @suhasvk , Did you ...
1,594
1,603
1,599
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: * [ ] 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/5554/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5554/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5553
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5553/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5553/comments
https://api.github.com/repos/huggingface/transformers/issues/5553/events
https://github.com/huggingface/transformers/issues/5553
651,720,153
MDU6SXNzdWU2NTE3MjAxNTM=
5,553
Customize widget text-generation inference with prepended input
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[ { "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": "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://...
[ "There is some documentation here https://huggingface.co/docs but we will add more later this week.", "I don't think we want to mask (pun intended) too much in the inference widget what the model actually consumes, but did you see that:\r\n- you can specify your model's widget's example input, by adding metadata ...
1,594
1,600
1,600
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Some models for text generation make use of special tokens or additional initialization text. It would be useful to add the possibility to pass additional t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5553/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5553/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5552
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5552/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5552/comments
https://api.github.com/repos/huggingface/transformers/issues/5552/events
https://github.com/huggingface/transformers/pull/5552
651,701,158
MDExOlB1bGxSZXF1ZXN0NDQ0OTA2MTMy
5,552
[Don't merge] Reformer Trax Integration Tests
{ "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 } ]
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,594
1,599
1,599
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5552/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5552", "html_url": "https://github.com/huggingface/transformers/pull/5552", "diff_url": "https://github.com/huggingface/transformers/pull/5552.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5552.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5551
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5551/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5551/comments
https://api.github.com/repos/huggingface/transformers/issues/5551/events
https://github.com/huggingface/transformers/pull/5551
651,619,255
MDExOlB1bGxSZXF1ZXN0NDQ0ODQwMDcw
5,551
Fix #5544
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5551?src=pr&el=h1) Report\n> Merging [#5551](https://codecov.io/gh/huggingface/transformers/pull/5551?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bbc28bee719120f3b6f73dbe7dfe6f67e2e9fa7&el=desc) will **increase...
1,594
1,594
1,594
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5551/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5551/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5551", "html_url": "https://github.com/huggingface/transformers/pull/5551", "diff_url": "https://github.com/huggingface/transformers/pull/5551.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5551.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5550
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5550/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5550/comments
https://api.github.com/repos/huggingface/transformers/issues/5550/events
https://github.com/huggingface/transformers/pull/5550
651,607,438
MDExOlB1bGxSZXF1ZXN0NDQ0ODMwMzky
5,550
Fix the tokenization warning noted in #5505
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5550?src=pr&el=h1) Report\n> Merging [#5550](https://codecov.io/gh/huggingface/transformers/pull/5550?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bc13697b1d2197a18f4ed6009e19aed315ab0f0&el=desc) will **increase...
1,594
1,594
1,594
MEMBER
null
Fix https://github.com/huggingface/transformers/issues/5505 (unwanted warning in batch_encode_plus)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5550/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/5550/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5550", "html_url": "https://github.com/huggingface/transformers/pull/5550", "diff_url": "https://github.com/huggingface/transformers/pull/5550.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5550.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5549
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5549/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5549/comments
https://api.github.com/repos/huggingface/transformers/issues/5549/events
https://github.com/huggingface/transformers/pull/5549
651,599,249
MDExOlB1bGxSZXF1ZXN0NDQ0ODIzNjQ3
5,549
The `add_space_before_punct_symbol` is only for TransfoXL
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5549?src=pr&el=h1) Report\n> Merging [#5549](https://codecov.io/gh/huggingface/transformers/pull/5549?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bbc28bee719120f3b6f73dbe7dfe6f67e2e9fa7&el=desc) will **decrease...
1,594
1,594
1,594
MEMBER
null
Same fix as in the [pipelines](https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py#L626). Not the cleanest way to do a per-model change, but is bug-free for v3.0.2. closes https://github.com/huggingface/transformers/issues/5525
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5549/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5549/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5549", "html_url": "https://github.com/huggingface/transformers/pull/5549", "diff_url": "https://github.com/huggingface/transformers/pull/5549.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5549.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5548
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5548/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5548/comments
https://api.github.com/repos/huggingface/transformers/issues/5548/events
https://github.com/huggingface/transformers/issues/5548
651,594,737
MDU6SXNzdWU2NTE1OTQ3Mzc=
5,548
Possibility to use WhitespaceSplit as pre_tokenizer instead of BPE/Sentencepiece?
{ "login": "tonytan48", "id": 10150598, "node_id": "MDQ6VXNlcjEwMTUwNTk4", "avatar_url": "https://avatars.githubusercontent.com/u/10150598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tonytan48", "html_url": "https://github.com/tonytan48", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,599
1,599
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to 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/5548/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5548/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5547
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5547/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5547/comments
https://api.github.com/repos/huggingface/transformers/issues/5547/events
https://github.com/huggingface/transformers/issues/5547
651,591,112
MDU6SXNzdWU2NTE1OTExMTI=
5,547
[Feature Request] Extract Predictions from Trainer
{ "login": "geblanco", "id": 6652222, "node_id": "MDQ6VXNlcjY2NTIyMjI=", "avatar_url": "https://avatars.githubusercontent.com/u/6652222?v=4", "gravatar_id": "", "url": "https://api.github.com/users/geblanco", "html_url": "https://github.com/geblanco", "followers_url": "https://api.github.com/users/gebla...
[ { "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
[]
[ "Unless I'm mistaken, Question-answering does support Trainer. Is a specific feature missing for your use case?", "Hi @julien-c!\r\n\r\nAt the time of writing the PR was not merged yet (and I was not aware of it, my bad). It is great!\r\n\r\nIn any case, the previous example (the one without trainer) outputted bo...
1,594
1,607
1,607
NONE
null
# 🚀 Feature request Add the possibility to return predictions along with its example id in the new Trainer class. ## Motivation When working with extractive QA (i.e.: SQuAD), you get back the best predictions, but, the current example for running squad uses the old, plain training/eval script, without the new...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5547/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5547/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5546
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5546/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5546/comments
https://api.github.com/repos/huggingface/transformers/issues/5546/events
https://github.com/huggingface/transformers/pull/5546
651,581,766
MDExOlB1bGxSZXF1ZXN0NDQ0ODA5NDcw
5,546
GPT2 tokenizer should not output token type IDs
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
MEMBER
null
The GPT-2 and OpenAI GPT tokenizers should not output `token_type_ids` by default. closes https://github.com/huggingface/transformers/issues/5517 code quality will pass when merged in master. Edit (@thomwolf): This will also fix #4922
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5546/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5546/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5546", "html_url": "https://github.com/huggingface/transformers/pull/5546", "diff_url": "https://github.com/huggingface/transformers/pull/5546.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5546.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5545
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5545/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5545/comments
https://api.github.com/repos/huggingface/transformers/issues/5545/events
https://github.com/huggingface/transformers/issues/5545
651,576,208
MDU6SXNzdWU2NTE1NzYyMDg=
5,545
Batching (TF)BertForQuestionAnswering deployment
{ "login": "rdisipio", "id": 7974270, "node_id": "MDQ6VXNlcjc5NzQyNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7974270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rdisipio", "html_url": "https://github.com/rdisipio", "followers_url": "https://api.github.com/users/rdisi...
[ { "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,594
1,599
1,599
NONE
null
# 🚀 Feature request It may be already possible, but I couldn't figure out how, to call TFBertForQuestionAnswering on a batch on context-question pairs rather than just one by one. ## Motivation I tried out the same code on a machine with 16 cores and a GPU. I could process 22 pairs/sec with the CPUs, but only...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5545/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5545/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5544
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5544/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5544/comments
https://api.github.com/repos/huggingface/transformers/issues/5544/events
https://github.com/huggingface/transformers/issues/5544
651,561,976
MDU6SXNzdWU2NTE1NjE5NzY=
5,544
incorrect typehint for PreTrainedTokenizer.convert_ids_to_tokens() return value
{ "login": "andifunke", "id": 18445361, "node_id": "MDQ6VXNlcjE4NDQ1MzYx", "avatar_url": "https://avatars.githubusercontent.com/u/18445361?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andifunke", "html_url": "https://github.com/andifunke", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "We want to make a clean patched release soon, so I opened #5551 to make sure it's fixed in it.\r\nIn the future, don't hesitate to directly open a PR for an issue with a clear fix like this :-)", "Closed via #5551" ]
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information The return value of `tokenization_utils.PreTrainedTokenizer.convert_ids_to_tokens()` is declared as `Union[int, List[int]]` while the method clearly returns a `Union[str, List[str]]` object type. Would you like me to open a PR? ;) Thanks for the great work! Andreas PS: Excuse me ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5544/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5544/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5543
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5543/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5543/comments
https://api.github.com/repos/huggingface/transformers/issues/5543/events
https://github.com/huggingface/transformers/issues/5543
651,544,580
MDU6SXNzdWU2NTE1NDQ1ODA=
5,543
t5-base translation_en_to_de BLEU lower than the paper
{ "login": "cp-pc", "id": 55797775, "node_id": "MDQ6VXNlcjU1Nzk3Nzc1", "avatar_url": "https://avatars.githubusercontent.com/u/55797775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cp-pc", "html_url": "https://github.com/cp-pc", "followers_url": "https://api.github.com/users/cp-pc/follow...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "I think the script `evaluate_wmt.py` was never really tested. Note that `t5-base` is not a fine-tuned model, but just a pretrained model. So you would definitely get better results by fine-tuning the model on translation. I'm not 100% sure, but I think the T5 paper shows the \"non-finetuned\" results for translati...
1,594
1,599
1,599
NONE
null
I downloaded the "newstest2014.en" and "newstest2014.de" datasets. Then I used examples/translation/t5/evaluate_wmt.py to evaluate the BLEU value of en_to_de, and the BLEU finally obtained is equal to 22.15, which is much lower than the paper. I used the t5-base model and my transformers version is 2.11.0. Is there so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5543/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5543/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5542
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5542/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5542/comments
https://api.github.com/repos/huggingface/transformers/issues/5542/events
https://github.com/huggingface/transformers/pull/5542
651,474,427
MDExOlB1bGxSZXF1ZXN0NDQ0NzIzNDE2
5,542
QA pipeline should mask CLS tokens after handling impossible answer
{ "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
[]
[ "Is the pytorch test failure unrelated here @mfuntowicz ?", "Will check this :)", "Closed as fix was included in #5496 " ]
1,594
1,651
1,594
MEMBER
null
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5542/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5542/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5542", "html_url": "https://github.com/huggingface/transformers/pull/5542", "diff_url": "https://github.com/huggingface/transformers/pull/5542.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5542.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5541
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5541/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5541/comments
https://api.github.com/repos/huggingface/transformers/issues/5541/events
https://github.com/huggingface/transformers/issues/5541
651,465,411
MDU6SXNzdWU2NTE0NjU0MTE=
5,541
High F1 score. But poor accuracy during Inference due to tokenisation
{ "login": "sudharsan2020", "id": 9370130, "node_id": "MDQ6VXNlcjkzNzAxMzA=", "avatar_url": "https://avatars.githubusercontent.com/u/9370130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sudharsan2020", "html_url": "https://github.com/sudharsan2020", "followers_url": "https://api.github....
[ { "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! Why do you believe the tokenization to be the issue here?", "@LysandreJik Thanks for reaching out.\r\n\r\nPlease find my observations with the inconsistency in the Tokenizer(possible issue), since I was using the HuggingFace provided script for training the custom NER Model.\r\n\r\n**1. Expected name:**\r...
1,594
1,599
1,599
NONE
null
# 🐛 Bug ## Information I am using **Bert-Base-cased** model to train my custom Named entity recognition(NER) model with a sequence length of **512**. Language I am using the model on: **English** The problem arises when using: * [ ] the official example scripts: **token-classification/run_ner.py** The ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5541/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5541/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5540
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5540/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5540/comments
https://api.github.com/repos/huggingface/transformers/issues/5540/events
https://github.com/huggingface/transformers/issues/5540
651,443,634
MDU6SXNzdWU2NTE0NDM2MzQ=
5,540
MobileBert embedding vectors values
{ "login": "datapaintings", "id": 38192773, "node_id": "MDQ6VXNlcjM4MTkyNzcz", "avatar_url": "https://avatars.githubusercontent.com/u/38192773?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datapaintings", "html_url": "https://github.com/datapaintings", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi! Firstly, in your code you're using a `MobileBertModel` with tensorflow inputs; does that work? You should either use torch inputs or use `TFMobileBertModel` instead.\r\n\r\nThe model outputs have no reason to be bound between [-1, 1], as they're logits. You can pass them through a softmax layer to get the tota...
1,594
1,600
1,600
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): MobileBert Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ ] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) ```py def BERT_embeddings...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5540/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5540/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5539
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5539/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5539/comments
https://api.github.com/repos/huggingface/transformers/issues/5539/events
https://github.com/huggingface/transformers/issues/5539
651,437,349
MDU6SXNzdWU2NTE0MzczNDk=
5,539
Fine Tuning Using /question-answering/run_squad.py
{ "login": "anirbansaha96", "id": 52232270, "node_id": "MDQ6VXNlcjUyMjMyMjcw", "avatar_url": "https://avatars.githubusercontent.com/u/52232270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anirbansaha96", "html_url": "https://github.com/anirbansaha96", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi, there's a [readme](https://github.com/huggingface/transformers/tree/master/examples/question-answering) in `question-answering`!", "Yes, I've gone through this resource. What I want to achieve is to fine-tune on a custom resource and not on SQuAD dataset. I want to train it on Question-Answer pairs.\r\nYou c...
1,594
1,594
1,594
NONE
null
How do I use `/question-answering/run_squad.py` to fine-tune my own custom dataset? [StackOverflow][1] [1]: https://stackoverflow.com/questions/62752709/how-to-fine-tune-bert-for-question-answering
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5539/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5539/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5538
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5538/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5538/comments
https://api.github.com/repos/huggingface/transformers/issues/5538/events
https://github.com/huggingface/transformers/issues/5538
651,394,176
MDU6SXNzdWU2NTEzOTQxNzY=
5,538
Easier way to download pretrained model files to local
{ "login": "m0hit-aggarwal", "id": 33771685, "node_id": "MDQ6VXNlcjMzNzcxNjg1", "avatar_url": "https://avatars.githubusercontent.com/u/33771685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/m0hit-aggarwal", "html_url": "https://github.com/m0hit-aggarwal", "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", "Any news on this? We have the same problem when running a Docker-container (it takes a while to load the model all the time)", "Hey!...
1,594
1,650
1,599
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarily 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5538/reactions", "total_count": 7, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5538/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5537
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5537/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5537/comments
https://api.github.com/repos/huggingface/transformers/issues/5537/events
https://github.com/huggingface/transformers/issues/5537
651,392,133
MDU6SXNzdWU2NTEzOTIxMzM=
5,537
Longformer - Compression
{ "login": "Nouman97", "id": 42269506, "node_id": "MDQ6VXNlcjQyMjY5NTA2", "avatar_url": "https://avatars.githubusercontent.com/u/42269506?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nouman97", "html_url": "https://github.com/Nouman97", "followers_url": "https://api.github.com/users/Nou...
[ { "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 check out the example script under distillation: `/home/patrick/hugging_face/transformers/examples/distillation`", "Did you upload the model to the model hub? I would be great so that we can take a closer look :-) ", "Hello, thanks for the reply. I checked the train.py script under examples/distillat...
1,594
1,599
1,599
NONE
null
Hello, I have trained a longformer model on my custom question answering dataset, and now I wanted to know if there is a way to compress this trained model? Thank you!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5537/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5537/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5536
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5536/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5536/comments
https://api.github.com/repos/huggingface/transformers/issues/5536/events
https://github.com/huggingface/transformers/pull/5536
651,345,420
MDExOlB1bGxSZXF1ZXN0NDQ0NjE3NTQ3
5,536
Create README
{ "login": "DeepsMoseli", "id": 29062994, "node_id": "MDQ6VXNlcjI5MDYyOTk0", "avatar_url": "https://avatars.githubusercontent.com/u/29062994?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DeepsMoseli", "html_url": "https://github.com/DeepsMoseli", "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/5536?src=pr&el=h1) Report\n> Merging [#5536](https://codecov.io/gh/huggingface/transformers/pull/5536?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5536/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5536/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5536", "html_url": "https://github.com/huggingface/transformers/pull/5536", "diff_url": "https://github.com/huggingface/transformers/pull/5536.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5536.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5535
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5535/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5535/comments
https://api.github.com/repos/huggingface/transformers/issues/5535/events
https://github.com/huggingface/transformers/issues/5535
651,321,670
MDU6SXNzdWU2NTEzMjE2NzA=
5,535
How i can set the special token <|endoftext|> to an other id ?
{ "login": "Nkonstan", "id": 35643708, "node_id": "MDQ6VXNlcjM1NjQzNzA4", "avatar_url": "https://avatars.githubusercontent.com/u/35643708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nkonstan", "html_url": "https://github.com/Nkonstan", "followers_url": "https://api.github.com/users/Nko...
[ { "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
[]
[ " Now is set to 0 and let's say i want to change it to 50256 for GPT-2 .", "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,594
1,599
1,599
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to 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/5535/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5535/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5534
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5534/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5534/comments
https://api.github.com/repos/huggingface/transformers/issues/5534/events
https://github.com/huggingface/transformers/issues/5534
651,300,017
MDU6SXNzdWU2NTEzMDAwMTc=
5,534
How-to-fine-tune-bert-for-question-answering?
{ "login": "anirbansaha96", "id": 52232270, "node_id": "MDQ6VXNlcjUyMjMyMjcw", "avatar_url": "https://avatars.githubusercontent.com/u/52232270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anirbansaha96", "html_url": "https://github.com/anirbansaha96", "followers_url": "https://api.githu...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" } ]
closed
false
null
[]
[ "Hi, how did you solve this project? I want to do the same in another domain and I want to know what is the best approach." ]
1,594
1,697
1,594
NONE
null
I wish to train two domain-specific models: Domain 1: Constitution and related Legal Documents Domain 2: Technical and related documents. For Domain 1, I've access to a text-corpus with texts from the constitution and no question-context-answer tuples. For Domain 2, I've access to Question-Answer pairs. Is it p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5534/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5534/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5533
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5533/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5533/comments
https://api.github.com/repos/huggingface/transformers/issues/5533/events
https://github.com/huggingface/transformers/pull/5533
651,214,916
MDExOlB1bGxSZXF1ZXN0NDQ0NTExODM3
5,533
[wip] Label smooth
{ "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,594
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5533/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5533/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5533", "html_url": "https://github.com/huggingface/transformers/pull/5533", "diff_url": "https://github.com/huggingface/transformers/pull/5533.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5533.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5532
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5532/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5532/comments
https://api.github.com/repos/huggingface/transformers/issues/5532/events
https://github.com/huggingface/transformers/issues/5532
651,178,431
MDU6SXNzdWU2NTExNzg0MzE=
5,532
Error in Loading bert-large-uncased-whole-word-masking-finetuned-squad
{ "login": "hi-weiyuan", "id": 34810978, "node_id": "MDQ6VXNlcjM0ODEwOTc4", "avatar_url": "https://avatars.githubusercontent.com/u/34810978?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hi-weiyuan", "html_url": "https://github.com/hi-weiyuan", "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
[]
[ "Sounds like your downloads were corrupted.", "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,593
1,599
1,599
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to 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/5532/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5532/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5531
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5531/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5531/comments
https://api.github.com/repos/huggingface/transformers/issues/5531/events
https://github.com/huggingface/transformers/pull/5531
651,156,633
MDExOlB1bGxSZXF1ZXN0NDQ0NDY3OTEz
5,531
fixed ImportError: cannot import name 'hf_bucket_url' on convert_pytorch_checkpoint_to_tf2.py
{ "login": "mohataher", "id": 1592974, "node_id": "MDQ6VXNlcjE1OTI5NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1592974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mohataher", "html_url": "https://github.com/mohataher", "followers_url": "https://api.github.com/users/mo...
[]
closed
false
null
[]
[ "`from transformers.file_utils import default_cache_path, hf_bucket_url`\r\nI want to import hf_bucket_url on Colab, but I still got the error\r\n\"ImportError: cannot import name 'hf_bucket_url' from 'transformers.file_utils' (/usr/local/lib/python3.9/dist-packages/transformers/file_utils.py)\"\r\nAm I do somethin...
1,593
1,679
1,594
CONTRIBUTOR
null
So I installed the latest version of transformers on Google Colab !pip install transformers When trying to invoke the conversion file using !python /usr/local/lib/python3.6/dist-packages/transformers/convert_pytorch_checkpoint_to_tf2.py .py --help Or trying to use from transformers.file...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5531/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5531", "html_url": "https://github.com/huggingface/transformers/pull/5531", "diff_url": "https://github.com/huggingface/transformers/pull/5531.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5531.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5530
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5530/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5530/comments
https://api.github.com/repos/huggingface/transformers/issues/5530/events
https://github.com/huggingface/transformers/issues/5530
651,140,258
MDU6SXNzdWU2NTExNDAyNTg=
5,530
Tabert
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg...
open
false
null
[]
[ "In their readme they say that the implementation to this project is still WIP, but they said this on release.\r\nIt should be really easy to add it here while they are already using this library in their implementation.\r\nDoes the huggingface team has more information about this, if the community can open an PR f...
1,593
1,613
null
CONTRIBUTOR
null
# 🌟 New model addition ## Model description a pre-trained language model for learning joint representations of natural language utterances and (semi-)structured tables for semantic parsing. TaBERT is pre-trained on a massive corpus of 26M Web tables and their associated natural language context, and could be used ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5530/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5530/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/5529
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5529/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5529/comments
https://api.github.com/repos/huggingface/transformers/issues/5529/events
https://github.com/huggingface/transformers/pull/5529
651,127,811
MDExOlB1bGxSZXF1ZXN0NDQ0NDQ4MTUz
5,529
[fix] pin sacrebleu to fix CI ImportError
{ "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/5529?src=pr&el=h1) Report\n> Merging [#5529](https://codecov.io/gh/huggingface/transformers/pull/5529?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease...
1,593
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5529/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5529", "html_url": "https://github.com/huggingface/transformers/pull/5529", "diff_url": "https://github.com/huggingface/transformers/pull/5529.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5529.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5528
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5528/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5528/comments
https://api.github.com/repos/huggingface/transformers/issues/5528/events
https://github.com/huggingface/transformers/issues/5528
651,123,026
MDU6SXNzdWU2NTExMjMwMjY=
5,528
3.0.1: "unexpected keyword argument 'is_pretokenized'" when using batch_encode_plus() w/ Fast Tokenizers
{ "login": "minimaxir", "id": 2179708, "node_id": "MDQ6VXNlcjIxNzk3MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/2179708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minimaxir", "html_url": "https://github.com/minimaxir", "followers_url": "https://api.github.com/users/mi...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
null
[]
[ "I must admit that I am confused here. I don't see how this is possible with one of the `0.8.0` version of `tokenizers`, they should have `is_pretokenized` as expected argument of both `encode` and `encode_batch`. Unfortunately, I was not able to reproduce it using the snippet you provided. \r\n\r\nWould it be poss...
1,593
1,594
1,594
NONE
null
# 🐛 Bug ## Information See title. Does not occur with "slow" tokenizers. ## To reproduce ```python from transformers import GPT2TokenizerFast tokenizer = GPT2TokenizerFast.from_pretrained('gpt2') texts = ['I am a teapot', 'Short and stout'] tokenizer.batch_encode_plus(texts) ``` ## Trace ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5528/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5528/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5527
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5527/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5527/comments
https://api.github.com/repos/huggingface/transformers/issues/5527/events
https://github.com/huggingface/transformers/issues/5527
651,105,412
MDU6SXNzdWU2NTExMDU0MTI=
5,527
Tf to pytorch
{ "login": "Sagar1094", "id": 54572031, "node_id": "MDQ6VXNlcjU0NTcyMDMx", "avatar_url": "https://avatars.githubusercontent.com/u/54572031?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sagar1094", "html_url": "https://github.com/Sagar1094", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "#Code used to convert from tf to Pytorch\r\n\r\nimport torch\r\n\r\nfrom transformers import (\r\n CONFIG_NAME,\r\n WEIGHTS_NAME,\r\n XLNetConfig,\r\n XLNetForQuestionAnswering,\r\n XLNetForSequenceClassification,\r\n XLNetLMHeadModel,\r\n load_tf_weights_in_xlnet,\r\n XLNetModel\r\n)\r\n\r...
1,593
1,594
1,594
NONE
null
Hi, I have XLNet checkpoint file and want to convert it to pytorch. I have converted the file to pytorch and when I am using the same file with simpletramsformers for text classification. It says the number of labels is not matching. Where should I specify the number of classes while converting from tf to pytorch?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5527/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5526
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5526/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5526/comments
https://api.github.com/repos/huggingface/transformers/issues/5526/events
https://github.com/huggingface/transformers/pull/5526
651,096,185
MDExOlB1bGxSZXF1ZXN0NDQ0NDI2MjM2
5,526
Fix `RobertaClassificationHead` style consistency.
{ "login": "ranamihir", "id": 8270471, "node_id": "MDQ6VXNlcjgyNzA0NzE=", "avatar_url": "https://avatars.githubusercontent.com/u/8270471?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranamihir", "html_url": "https://github.com/ranamihir", "followers_url": "https://api.github.com/users/ra...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5526?src=pr&el=h1) Report\n> Merging [#5526](https://codecov.io/gh/huggingface/transformers/pull/5526?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **increase...
1,593
1,601
1,601
NONE
null
There's a slight inconsistency in `RobertaClassificationHead` in that it takes in the whole sequence output from the `RobertaModel`, and extracts the pooled output inside its own forward method, seen [here](https://github.com/huggingface/transformers/blob/58cca47c16149e43d1b516623d59e3c5d97f695e/src/transformers/modeli...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5526/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5526", "html_url": "https://github.com/huggingface/transformers/pull/5526", "diff_url": "https://github.com/huggingface/transformers/pull/5526.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5526.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5525
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5525/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5525/comments
https://api.github.com/repos/huggingface/transformers/issues/5525/events
https://github.com/huggingface/transformers/issues/5525
651,054,384
MDU6SXNzdWU2NTEwNTQzODQ=
5,525
WARNING:transformers.tokenization_utils:Keyword arguments {'add_space_before_punct_symbol': True} not recognized.
{ "login": "songproducer", "id": 597346, "node_id": "MDQ6VXNlcjU5NzM0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/597346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/songproducer", "html_url": "https://github.com/songproducer", "followers_url": "https://api.github.com/u...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[]
1,593
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): ctrl Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ ] the official example scripts: (give details below) ``` python run_generation.py \ --model_type ctrl \ --model_name ctrl --length...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5525/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5525/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5524
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5524/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5524/comments
https://api.github.com/repos/huggingface/transformers/issues/5524/events
https://github.com/huggingface/transformers/issues/5524
651,041,941
MDU6SXNzdWU2NTEwNDE5NDE=
5,524
How to fine-tune tinyBERT for question-asnwering
{ "login": "anirbansaha96", "id": 52232270, "node_id": "MDQ6VXNlcjUyMjMyMjcw", "avatar_url": "https://avatars.githubusercontent.com/u/52232270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anirbansaha96", "html_url": "https://github.com/anirbansaha96", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,593
1,594
1,594
NONE
null
# ❓ Questions & Help How do I fine-tune tiny-BERT for question answering on my custom dataset. I've a list of questions and corresponding answers in a csv format, How do I fine-tune tiny-BERT on this dataset. [You can find it at StackOverFlow here](https://stackoverflow.com/questions/62710931/huggingface-transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5524/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5523
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5523/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5523/comments
https://api.github.com/repos/huggingface/transformers/issues/5523/events
https://github.com/huggingface/transformers/pull/5523
651,041,795
MDExOlB1bGxSZXF1ZXN0NDQ0Mzg2ODg1
5,523
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/5523?src=pr&el=h1) Report\n> Merging [#5523](https://codecov.io/gh/huggingface/transformers/pull/5523?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **increase...
1,593
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5523/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5523/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5523", "html_url": "https://github.com/huggingface/transformers/pull/5523", "diff_url": "https://github.com/huggingface/transformers/pull/5523.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5523.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5522
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5522/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5522/comments
https://api.github.com/repos/huggingface/transformers/issues/5522/events
https://github.com/huggingface/transformers/pull/5522
651,039,176
MDExOlB1bGxSZXF1ZXN0NDQ0Mzg0OTcy
5,522
Added data collator for permutation (XLNet) language modeling and related calls
{ "login": "shngt", "id": 20009551, "node_id": "MDQ6VXNlcjIwMDA5NTUx", "avatar_url": "https://avatars.githubusercontent.com/u/20009551?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shngt", "html_url": "https://github.com/shngt", "followers_url": "https://api.github.com/users/shngt/follow...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5522?src=pr&el=h1) Report\n> Merging [#5522](https://codecov.io/gh/huggingface/transformers/pull/5522?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease...
1,593
1,680
1,594
CONTRIBUTOR
null
Added `DataCollatorForPermutationLanguageModeling` in `data/data_collator.py` to return necessary inputs (applies masking and generates revelant tensors input_ids, perm_mask, target_mask and labels as per https://github.com/zihangdai/xlnet/blob/master/data_utils.py) for language modeling training with XLNetLMHeadModel....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5522/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5522", "html_url": "https://github.com/huggingface/transformers/pull/5522", "diff_url": "https://github.com/huggingface/transformers/pull/5522.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5522.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5521/comments
https://api.github.com/repos/huggingface/transformers/issues/5521/events
https://github.com/huggingface/transformers/issues/5521
650,988,699
MDU6SXNzdWU2NTA5ODg2OTk=
5,521
What should i do if I want a model class similar to BertForSequenceClassification?
{ "login": "cloudygoose", "id": 1544039, "node_id": "MDQ6VXNlcjE1NDQwMzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1544039?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cloudygoose", "html_url": "https://github.com/cloudygoose", "followers_url": "https://api.github.com/us...
[ { "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 @cloudygoose , \r\nTake a look at the code of `BertForSequenceClassification` https://huggingface.co/transformers/_modules/transformers/modeling_bert.html#BertForSequenceClassification,\r\n\r\nAll it does is, pass the inputs through `BertModel`, which returns the pooled output of bert and the applies the class...
1,593
1,599
1,599
NONE
null
# ❓ Questions & Help Hi! For my task I want to implement a class similar to BertForSequenceClassification, but a little different, for example, i may want multiple linear head on top of the bert encoding. Call it BertForMySequenceClassification, But I still want to use the pretrained bert parameters, and hopeful...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5521/timeline
completed
null
null