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/2212
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2212/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2212/comments
https://api.github.com/repos/huggingface/transformers/issues/2212/events
https://github.com/huggingface/transformers/issues/2212
539,526,643
MDU6SXNzdWU1Mzk1MjY2NDM=
2,212
Fine-tuning TF models on Colab TPU
{ "login": "NaxAlpha", "id": 11090613, "node_id": "MDQ6VXNlcjExMDkwNjEz", "avatar_url": "https://avatars.githubusercontent.com/u/11090613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NaxAlpha", "html_url": "https://github.com/NaxAlpha", "followers_url": "https://api.github.com/users/Nax...
[ { "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've read your code, and I don't see anything strange in it (I hope). It seems to be an error due to training a (whatever) model on TPUs rather than Transformers.\r\n\r\nDo you see [this](https://github.com/tensorflow/tensorflow/issues/29896) issue reported in TensorFlow's GitHub? It seems to be the same error, an...
1,576
1,586
1,586
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Hi, I am trying to fine-tune TF BERT on Imdb dataset on Colab TPU. Here is the full notebook: https://colab.research.google.com/drive/16ZaJaXXd2R1gRHrmdWDkFh6U_EB0ln0z Can anyone help me what I am doing wrong? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2212/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2212/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2211
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2211/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2211/comments
https://api.github.com/repos/huggingface/transformers/issues/2211/events
https://github.com/huggingface/transformers/pull/2211
539,377,226
MDExOlB1bGxSZXF1ZXN0MzU0MzY1NTg5
2,211
Fast tokenizers
{ "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
[]
[ "Can you remind why you moved those options to initialization vs. at `encode` time?\r\n\r\nIs that a hard requirement of the native implem?", "Sure! The native implementation doesn't have `kwargs` so we need to define a static interface with pre-defined function arguments. This means that the configuration of the...
1,576
1,651
1,577
MEMBER
null
I am opening this PR to track the integration of `tokenizers`. At the moment, we created two new classes to represent the fast version of both GPT2 and Bert tokenizers. There are a few breaking changes compared to the current `GPT2Tokenizer` and `BertTokenizer`: - `add_special_token` is now specified during init...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2211/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2211/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2211", "html_url": "https://github.com/huggingface/transformers/pull/2211", "diff_url": "https://github.com/huggingface/transformers/pull/2211.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2211.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2210
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2210/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2210/comments
https://api.github.com/repos/huggingface/transformers/issues/2210/events
https://github.com/huggingface/transformers/issues/2210
539,373,044
MDU6SXNzdWU1MzkzNzMwNDQ=
2,210
training a new BERT tokenizer model
{ "login": "hahmyg", "id": 3884429, "node_id": "MDQ6VXNlcjM4ODQ0Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/3884429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hahmyg", "html_url": "https://github.com/hahmyg", "followers_url": "https://api.github.com/users/hahmyg/foll...
[]
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...
[ "Follow sentencepiece github or Bert tensorflow GitHub. You will have some\nfeedback\n\nOn Wed, Dec 18, 2019 at 07:52 Younggyun Hahm <notifications@github.com>\nwrote:\n\n> ❓ Questions & Help\n>\n> I would like to train a new BERT model.\n> There are some way to train BERT tokenizer (a.k.a. wordpiece tokenizer) ?\n...
1,576
1,643
1,578
NONE
null
## ❓ Questions & Help I would like to train a new BERT model. There are some way to train BERT tokenizer (a.k.a. wordpiece tokenizer) ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2210/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2210/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2209
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2209/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2209/comments
https://api.github.com/repos/huggingface/transformers/issues/2209/events
https://github.com/huggingface/transformers/issues/2209
539,265,078
MDU6SXNzdWU1MzkyNjUwNzg=
2,209
```glue_convert_examples_to_features``` for sequence labeling tasks
{ "login": "antgr", "id": 2175768, "node_id": "MDQ6VXNlcjIxNzU3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/2175768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antgr", "html_url": "https://github.com/antgr", "followers_url": "https://api.github.com/users/antgr/follower...
[]
closed
false
null
[]
[ "duplicate to 2208" ]
1,576
1,576
1,576
NONE
null
## 🚀 Feature <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> I would like a function like ```glue_convert_examples_to_features``` for sequence labelling tasks. ## Motivation <!-- Please outline the motivation for the proposal. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2209/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2209/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2208
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2208/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2208/comments
https://api.github.com/repos/huggingface/transformers/issues/2208/events
https://github.com/huggingface/transformers/issues/2208
539,259,772
MDU6SXNzdWU1MzkyNTk3NzI=
2,208
```glue_convert_examples_to_features``` for sequence labeling tasks
{ "login": "antgr", "id": 2175768, "node_id": "MDQ6VXNlcjIxNzU3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/2175768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antgr", "html_url": "https://github.com/antgr", "followers_url": "https://api.github.com/users/antgr/follower...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Do you mean the one already into Transformers in the [glue.py](https://github.com/huggingface/transformers/blob/d46147294852694d1dc701c72b9053ff2e726265/transformers/data/processors/glue.py) at line 30 or a different function? \r\n\r\n> glue_convert_examples_to_features", "A different one. Does this proposal ma...
1,576
1,582
1,582
NONE
null
## 🚀 Feature <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> I would like a function like ```glue_convert_examples_to_features``` for sequence labelling tasks. ## Motivation <!-- Please outline the motivation for the proposal. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2208/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2208/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2207
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2207/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2207/comments
https://api.github.com/repos/huggingface/transformers/issues/2207/events
https://github.com/huggingface/transformers/pull/2207
539,253,243
MDExOlB1bGxSZXF1ZXN0MzU0MjYxODg0
2,207
Fix segmentation fault
{ "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/2207?src=pr&el=h1) Report\n> Merging [#2207](https://codecov.io/gh/huggingface/transformers/pull/2207?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f061606277322a013ec2d96509d3077e865ae875?src=pr&el=desc) will **i...
1,576
1,576
1,576
MEMBER
null
Fix segmentation fault that started happening yesterday night. Following the fix from #2205 that could be reproduced using circle ci ssh access. ~Currently fixing the unforeseen event with Python 2.~ The error with Python 2 was due to Regex releasing a new version (2019.12.17) that couldn't be built on Python 2.7.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2207/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/2207/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2207", "html_url": "https://github.com/huggingface/transformers/pull/2207", "diff_url": "https://github.com/huggingface/transformers/pull/2207.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2207.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2206
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2206/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2206/comments
https://api.github.com/repos/huggingface/transformers/issues/2206/events
https://github.com/huggingface/transformers/issues/2206
539,196,159
MDU6SXNzdWU1MzkxOTYxNTk=
2,206
Transformers Encoder and Decoder Inference
{ "login": "anandhperumal", "id": 12907396, "node_id": "MDQ6VXNlcjEyOTA3Mzk2", "avatar_url": "https://avatars.githubusercontent.com/u/12907396?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anandhperumal", "html_url": "https://github.com/anandhperumal", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "As said in #2117 by @rlouf (an author of Transformers), **at the moment** you can use `PreTrainedEncoderDecoder` with only **BERT** model both as encoder and decoder.\r\n\r\nIn more details, he said: \"_Indeed, as I specified in the article, PreTrainedEncoderDecoder only works with BERT as an encoder and BERT as a...
1,576
1,592
1,576
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Language I am using the model on (English, Chinese....): The problem arise when using: * [X ] the official example scripts: (give details) * [ ] my own modified scripts: (give details) The tasks I am working on is: * [ ] an o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2206/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2206/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2205
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2205/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2205/comments
https://api.github.com/repos/huggingface/transformers/issues/2205/events
https://github.com/huggingface/transformers/issues/2205
539,184,004
MDU6SXNzdWU1MzkxODQwMDQ=
2,205
Segmentation fault when GPT2-chinese import transformers
{ "login": "jstzwj", "id": 13167278, "node_id": "MDQ6VXNlcjEzMTY3Mjc4", "avatar_url": "https://avatars.githubusercontent.com/u/13167278?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jstzwj", "html_url": "https://github.com/jstzwj", "followers_url": "https://api.github.com/users/jstzwj/fo...
[]
closed
false
null
[]
[ "Is it related to #2204 ?\r\n**Segmentation fault** (usually) means that you tried to access memory that you do not have access to.", "> Is it related to #2204 ?\r\n\r\nYes, it looks like the same bug as this. I know how to solve it but do not know why.😂\r\n![image](https://user-images.githubusercontent.com/1316...
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz GPU: Tesla P40 OS Platform: Ubuntu 16.04.3 LTS transformers version: 2.2.2 TensorFlow version: 2.0.0 PyTorch version: 1.3.1 Python version: 3.6.2 Hi When I trained the model in [GPT2-chinese](https://github.com/Morizeyao/GPT2-Chinese), it i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2205/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/2205/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2204
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2204/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2204/comments
https://api.github.com/repos/huggingface/transformers/issues/2204/events
https://github.com/huggingface/transformers/issues/2204
539,181,029
MDU6SXNzdWU1MzkxODEwMjk=
2,204
PRs error which occurs many times in the last days
{ "login": "TheEdoardo93", "id": 19664571, "node_id": "MDQ6VXNlcjE5NjY0NTcx", "avatar_url": "https://avatars.githubusercontent.com/u/19664571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheEdoardo93", "html_url": "https://github.com/TheEdoardo93", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "#2207 ", "Solved by @LysandreJik yesterday (this was due to upstream dependency bug)" ]
1,576
1,576
1,576
NONE
null
## 🐛 Bug I've seen that many recent PRs (e.g. [2201](https://github.com/huggingface/transformers/pull/2201), [2203](https://github.com/huggingface/transformers/pull/2203), [2190](https://github.com/huggingface/transformers/pull/2190), [2189](https://github.com/huggingface/transformers/pull/2189), ...) have encounte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2204/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/2204/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2203
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2203/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2203/comments
https://api.github.com/repos/huggingface/transformers/issues/2203/events
https://github.com/huggingface/transformers/pull/2203
539,170,739
MDExOlB1bGxSZXF1ZXN0MzU0MTkzMDA0
2,203
fix: wrong architecture count in README
{ "login": "gthb", "id": 153580, "node_id": "MDQ6VXNlcjE1MzU4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/153580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gthb", "html_url": "https://github.com/gthb", "followers_url": "https://api.github.com/users/gthb/followers", ...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2203?src=pr&el=h1) Report\n> Merging [#2203](https://codecov.io/gh/huggingface/transformers/pull/2203?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/94c99db34cf9074a212c36554fb925c513d70ab1?src=pr&el=desc) will **n...
1,576
1,576
1,576
CONTRIBUTOR
null
Just say “the following” so that this intro doesn't so easily fall out of date :)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2203/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2203", "html_url": "https://github.com/huggingface/transformers/pull/2203", "diff_url": "https://github.com/huggingface/transformers/pull/2203.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2203.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2202
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2202/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2202/comments
https://api.github.com/repos/huggingface/transformers/issues/2202/events
https://github.com/huggingface/transformers/issues/2202
539,103,930
MDU6SXNzdWU1MzkxMDM5MzA=
2,202
weights not initialised in pre-trained Roberta
{ "login": "btel", "id": 41565, "node_id": "MDQ6VXNlcjQxNTY1", "avatar_url": "https://avatars.githubusercontent.com/u/41565?v=4", "gravatar_id": "", "url": "https://api.github.com/users/btel", "html_url": "https://github.com/btel", "followers_url": "https://api.github.com/users/btel/followers", "follo...
[]
closed
false
null
[]
[ "Thanks for the bug report. Fixed on `master` in 9a399ead253e27792cbf0ef386cc39f9b7084f8f by reverting the output of #1778." ]
1,576
1,576
1,576
CONTRIBUTOR
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Robert Language I am using the model on (English, Chinese....): English The problem arise when using: * [ ] the official example scripts: (give details) * [X] my own modified scripts: see below The tasks I am working on is: *...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2202/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2202/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2201
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2201/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2201/comments
https://api.github.com/repos/huggingface/transformers/issues/2201/events
https://github.com/huggingface/transformers/pull/2201
538,944,838
MDExOlB1bGxSZXF1ZXN0MzU0MDAzNDY3
2,201
[WAITING YOUR REVIEW] Issue #2196: now it's possible to save PreTrainedEncoderDecoder objects correctly to file system
{ "login": "TheEdoardo93", "id": 19664571, "node_id": "MDQ6VXNlcjE5NjY0NTcx", "avatar_url": "https://avatars.githubusercontent.com/u/19664571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheEdoardo93", "html_url": "https://github.com/TheEdoardo93", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2201?src=pr&el=h1) Report\n> Merging [#2201](https://codecov.io/gh/huggingface/transformers/pull/2201?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f061606277322a013ec2d96509d3077e865ae875?src=pr&el=desc) will **d...
1,576
1,576
1,576
NONE
null
**Details implemented in this PR:** - [X] Create the output directory (whose name is passed by the user in the "save_directory" parameter) where it will be saved encoder and decoder, if not exists. - [X] Empty the output directory, if it contains any files or subdirectories. - [X] Create the "encoder" directory in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2201/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2201/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2201", "html_url": "https://github.com/huggingface/transformers/pull/2201", "diff_url": "https://github.com/huggingface/transformers/pull/2201.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2201.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2200
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2200/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2200/comments
https://api.github.com/repos/huggingface/transformers/issues/2200/events
https://github.com/huggingface/transformers/issues/2200
538,917,448
MDU6SXNzdWU1Mzg5MTc0NDg=
2,200
run_ner.py example fails
{ "login": "Horsmann", "id": 8234699, "node_id": "MDQ6VXNlcjgyMzQ2OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8234699?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Horsmann", "html_url": "https://github.com/Horsmann", "followers_url": "https://api.github.com/users/Horsm...
[]
closed
false
null
[]
[ "A few questions (the ones asked in the issue templates...):\r\n- which version/branch of `transformers` are you using?\r\n- which exact command line are you running?", "Hi,\r\nsorry, my bad.\r\n\r\nI am calling run_ner.py with\r\n```\r\n python .\\run_ner.py --data_dir ./ --model_type bert --labels .\\labels.txt...
1,576
1,576
1,576
NONE
null
I am trying to run the run_ner.py example described here: (https://huggingface.co/transformers/examples.html#named-entity-recognition) When running the example I get the following exception: ``` I1217 09:36:10.744300 14416 file_utils.py:40] PyTorch version 1.3.1 available. W1217 09:36:11.329299 14416 run_ner.py:4...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2200/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2199
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2199/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2199/comments
https://api.github.com/repos/huggingface/transformers/issues/2199/events
https://github.com/huggingface/transformers/issues/2199
538,917,120
MDU6SXNzdWU1Mzg5MTcxMjA=
2,199
How to add traditional features for transformers?
{ "login": "zysNLP", "id": 45376689, "node_id": "MDQ6VXNlcjQ1Mzc2Njg5", "avatar_url": "https://avatars.githubusercontent.com/u/45376689?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zysNLP", "html_url": "https://github.com/zysNLP", "followers_url": "https://api.github.com/users/zysNLP/fo...
[]
closed
false
null
[]
[ "What do you mean \"for training\"? Training what? I imagine that you wish to do this for a downstream task. In that case you can just use BERT for feature extraction and use its features in another system. I suppose one could also fine-tune the model during training where you somewhere inject other features into t...
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help I don't know whether models like Bert can capture some traditional features or not, such as the number of nouns in a sentence, the number of words in a sentence, etc. But I want to add these features to Bert or xlnet for training. Can anyone help me?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2199/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/2199/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2198
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2198/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2198/comments
https://api.github.com/repos/huggingface/transformers/issues/2198/events
https://github.com/huggingface/transformers/issues/2198
538,907,064
MDU6SXNzdWU1Mzg5MDcwNjQ=
2,198
How to output labels for GLUE test set
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi, if you're working on a clone/fork of this library, then you can freely change the following lines in `transformers/data/processors/glue.py` (lines 254-262 on the current master):\r\n\r\n```py\r\n def get_train_examples(self, data_dir):\r\n \"\"\"See base class.\"\"\"\r\n return self._create_ex...
1,576
1,586
1,581
CONTRIBUTOR
null
## ❓ Questions & Help Thanks for your great work. I have done some modification based on your library. I'd like to test it on GLUE test set (not dev set). Is there any way I can do it? Do you have a script for output GLUE submission files? Thanks.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2198/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/2198/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2197
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2197/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2197/comments
https://api.github.com/repos/huggingface/transformers/issues/2197/events
https://github.com/huggingface/transformers/issues/2197
538,852,274
MDU6SXNzdWU1Mzg4NTIyNzQ=
2,197
XLNet fine-tuning speed (Multi-label classification)
{ "login": "yunju63", "id": 44551410, "node_id": "MDQ6VXNlcjQ0NTUxNDEw", "avatar_url": "https://avatars.githubusercontent.com/u/44551410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yunju63", "html_url": "https://github.com/yunju63", "followers_url": "https://api.github.com/users/yunju6...
[ { "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,576
1,582
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Hi! I'm wondering whether my speed of fine-tuning is normal. Training is taking **2~3hours per epoch**. I am using [fast-bert](https://github.com/kaushaltrivedi/fast-bert) to train multi-label classifier, with - model = xlnet-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2197/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2197/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2196
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2196/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2196/comments
https://api.github.com/repos/huggingface/transformers/issues/2196/events
https://github.com/huggingface/transformers/issues/2196
538,820,814
MDU6SXNzdWU1Mzg4MjA4MTQ=
2,196
Error while saving Pretrained model for Encoder and decoder
{ "login": "anandhperumal", "id": 12907396, "node_id": "MDQ6VXNlcjEyOTA3Mzk2", "avatar_url": "https://avatars.githubusercontent.com/u/12907396?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anandhperumal", "html_url": "https://github.com/anandhperumal", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I resolved this issue you've raised correctly. I'll make a PR today to solve this bug! :)\r\nUPDATE: I've made the PR: you can look [here](https://github.com/huggingface/transformers/pull/2201).\r\n\r\n> ## Bug\r\n> Model I am using (Bert, XLNet....):\r\n> \r\n> Language I am using the model on (English, Chinese....
1,576
1,576
1,576
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Language I am using the model on (English, Chinese....): The problem arise when using: * [ ] the official example scripts: (give details) * [X] my own modified scripts: (give details) The tasks I am working on is: * [ ] an of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2196/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2195
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2195/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2195/comments
https://api.github.com/repos/huggingface/transformers/issues/2195/events
https://github.com/huggingface/transformers/pull/2195
538,819,773
MDExOlB1bGxSZXF1ZXN0MzUzOTAxNjUx
2,195
Fixing checks test pr, will be closed
{ "login": "erenup", "id": 43887288, "node_id": "MDQ6VXNlcjQzODg3Mjg4", "avatar_url": "https://avatars.githubusercontent.com/u/43887288?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erenup", "html_url": "https://github.com/erenup", "followers_url": "https://api.github.com/users/erenup/fo...
[]
closed
false
null
[]
[]
1,576
1,576
1,576
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2195/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2195/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2195", "html_url": "https://github.com/huggingface/transformers/pull/2195", "diff_url": "https://github.com/huggingface/transformers/pull/2195.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2195.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2194
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2194/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2194/comments
https://api.github.com/repos/huggingface/transformers/issues/2194/events
https://github.com/huggingface/transformers/pull/2194
538,799,660
MDExOlB1bGxSZXF1ZXN0MzUzODg1NDQy
2,194
Improve TextDataset building/tokenization (6x faster; Enable large dataset file usage)
{ "login": "mttcnnff", "id": 17532157, "node_id": "MDQ6VXNlcjE3NTMyMTU3", "avatar_url": "https://avatars.githubusercontent.com/u/17532157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mttcnnff", "html_url": "https://github.com/mttcnnff", "followers_url": "https://api.github.com/users/mtt...
[ { "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
[]
[ "@thomwolf or @julien-c any idea what's going on with the seg fault in the `build_py3_torch_and_tf` [run](https://circleci.com/gh/huggingface/transformers/9811?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)? was able to run and pass locally...\r\n![image](https://user-images.gi...
1,576
1,583
1,583
NONE
null
## This PR: - Chunks the reading of the dataset file used to create a `TextDataset` for training, if you used a file of any larger size (for my case I had 3.5GB txt file I was able to get finish in ~45 min) the program would just hang at `f.read()` 😢 - Speeds up `lowercase_text` in the `BasicTokenizer` with a simpl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2194/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2194/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2194", "html_url": "https://github.com/huggingface/transformers/pull/2194", "diff_url": "https://github.com/huggingface/transformers/pull/2194.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2194.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2193
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2193/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2193/comments
https://api.github.com/repos/huggingface/transformers/issues/2193/events
https://github.com/huggingface/transformers/issues/2193
538,697,717
MDU6SXNzdWU1Mzg2OTc3MTc=
2,193
Fine-tuning GPT2 or BERT and adding new vocabulary?
{ "login": "masoudh175", "id": 30423123, "node_id": "MDQ6VXNlcjMwNDIzMTIz", "avatar_url": "https://avatars.githubusercontent.com/u/30423123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/masoudh175", "html_url": "https://github.com/masoudh175", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi, you can add new vocabulary using the tokenizer's `add_tokens` method.", "Thanks for the quick response!" ]
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help I am fine-tuning the GPT2 on a domain-specific corpus and I was wondering if there is a way to add new vocabulary to the model. I am checking the ```vocab.json``` file after saving the model into ```output``` directory and don't find the any new vocabulary in there.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2193/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2193/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2192
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2192/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2192/comments
https://api.github.com/repos/huggingface/transformers/issues/2192/events
https://github.com/huggingface/transformers/pull/2192
538,673,806
MDExOlB1bGxSZXF1ZXN0MzUzNzgxMjE0
2,192
Bug fix: PyTorch loading from TF and vice-versa
{ "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/2192?src=pr&el=h1) Report\n> Merging [#2192](https://codecov.io/gh/huggingface/transformers/pull/2192?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d8034092153a6850052862f154a398b88b8ba4e5?src=pr&el=desc) will **i...
1,576
1,651
1,576
MEMBER
null
Fix loading a PyTorch model from TF and vice-versa when model architectures are not the same Fix #2109
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2192/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2192", "html_url": "https://github.com/huggingface/transformers/pull/2192", "diff_url": "https://github.com/huggingface/transformers/pull/2192.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2192.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2191
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2191/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2191/comments
https://api.github.com/repos/huggingface/transformers/issues/2191/events
https://github.com/huggingface/transformers/pull/2191
538,637,851
MDExOlB1bGxSZXF1ZXN0MzUzNzQ5NjEy
2,191
Numpy compatibility for sentence piece
{ "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/2191?src=pr&el=h1) Report\n> Merging [#2191](https://codecov.io/gh/huggingface/transformers/pull/2191?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ceae85ad60da38cacb14eca49f752669a4fe31dc?src=pr&el=desc) will **d...
1,576
1,578
1,576
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2191/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2191/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2191", "html_url": "https://github.com/huggingface/transformers/pull/2191", "diff_url": "https://github.com/huggingface/transformers/pull/2191.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2191.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2190
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2190/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2190/comments
https://api.github.com/repos/huggingface/transformers/issues/2190/events
https://github.com/huggingface/transformers/pull/2190
538,548,730
MDExOlB1bGxSZXF1ZXN0MzUzNjc2MTcz
2,190
Adding Finnish BERT.
{ "login": "haamis", "id": 3799481, "node_id": "MDQ6VXNlcjM3OTk0ODE=", "avatar_url": "https://avatars.githubusercontent.com/u/3799481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/haamis", "html_url": "https://github.com/haamis", "followers_url": "https://api.github.com/users/haamis/foll...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2190?src=pr&el=h1) Report\n> Merging [#2190](https://codecov.io/gh/huggingface/transformers/pull/2190?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e92bcb7eb6c5b9b6ed313cc74abaab50b3dc674f?src=pr&el=desc) will **n...
1,576
1,578
1,576
CONTRIBUTOR
null
We have trained BERT-base on Finnish text and wish to have it included in the library. Both cased and uncased models are available. You can see the paper [here](https://arxiv.org/abs/1912.07076) and a website for the model can be found [here](http://turkunlp.org/FinBERT/). These changes passed all the relevant tests...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2190/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/2190/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2190", "html_url": "https://github.com/huggingface/transformers/pull/2190", "diff_url": "https://github.com/huggingface/transformers/pull/2190.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2190.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2189
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2189/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2189/comments
https://api.github.com/repos/huggingface/transformers/issues/2189/events
https://github.com/huggingface/transformers/pull/2189
538,509,824
MDExOlB1bGxSZXF1ZXN0MzUzNjQ0MDQ5
2,189
Add support for XLM-RoBERTa
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@stefan-it Following the merge of #1959, you should not have to duplicate the weights conversion script anymore. It should work out of the box, `fairseq.XLMRModel` being a subclass of `fairseq.RobertaModel`.", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2189?src=pr&el=h1) Report\n> Merging [...
1,576
1,576
1,576
COLLABORATOR
null
Hi, this model adds support for the recently released XLM-RoBERTa model from the Facebook AI team. XLM-RoBERTa is described in the ["Unsupervised Cross-lingual Representation Learning at Scale](https://arxiv.org/abs/1911.02116) paper from Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guilla...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2189/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2189", "html_url": "https://github.com/huggingface/transformers/pull/2189", "diff_url": "https://github.com/huggingface/transformers/pull/2189.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2189.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2188
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2188/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2188/comments
https://api.github.com/repos/huggingface/transformers/issues/2188/events
https://github.com/huggingface/transformers/issues/2188
538,390,847
MDU6SXNzdWU1MzgzOTA4NDc=
2,188
About QuestionAnswering on SQuAD2.0 Dataset
{ "login": "WenTingTseng", "id": 32416416, "node_id": "MDQ6VXNlcjMyNDE2NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/32416416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WenTingTseng", "html_url": "https://github.com/WenTingTseng", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,576
1,582
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Do anyone understand the paper " QuestionAnswering on SQuAD2.0 Dataset" in section 5.1. It says "As we increase the number of epochs in training, the performance of the answerable questions is improved while the performance for the no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2188/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2188/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2187
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2187/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2187/comments
https://api.github.com/repos/huggingface/transformers/issues/2187/events
https://github.com/huggingface/transformers/issues/2187
538,179,898
MDU6SXNzdWU1MzgxNzk4OTg=
2,187
Output diverging on different GPUs using same prompt?
{ "login": "jasonrohrer", "id": 12563681, "node_id": "MDQ6VXNlcjEyNTYzNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/12563681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jasonrohrer", "html_url": "https://github.com/jasonrohrer", "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
[]
[ "How do you set your seed? Personally I use the following, which sets... a lot of seeds but also useful variables for the backend.\r\n\r\n```python\r\n def set_seed(seed: Optional[int]):\r\n \"\"\" Set all seeds to make results reproducible (deterministic mode).\r\n When seed is None, disables...
1,576
1,582
1,582
NONE
null
## 🐛 Bug Wondering if anyone else is noticing this, or I'm missing something. GPT-2 transformer run_generation.py Running on both AWS p2 and p3, which have different GPUs. Same text seed, same numerical seed (default: 42) The output is identical for a long segment, and then suddenly diverges, picking a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2187/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/2187/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2186
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2186/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2186/comments
https://api.github.com/repos/huggingface/transformers/issues/2186/events
https://github.com/huggingface/transformers/issues/2186
538,104,237
MDU6SXNzdWU1MzgxMDQyMzc=
2,186
summarization code is incomplete
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "f...
[ { "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'm sorry that you're angry with Transformers library and its authors, but I'm not share your opinion. This framework is well documented, developed and updated (the most important part of each library).\r\n\r\nHowever, if you want to watch and/or train the model for the summarization task, you can refer [here](htt...
1,576
1,582
1,582
NONE
null
Hi in the summarization code you have removed all the training part, why is that? Solely evaluating an existing model does not really have any point. While I really find this repo great, incomplete work like this summarization folder, defenitely degrade from the dignity of this repo. I greatly appreciate either re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2186/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 3 }
https://api.github.com/repos/huggingface/transformers/issues/2186/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2185
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2185/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2185/comments
https://api.github.com/repos/huggingface/transformers/issues/2185/events
https://github.com/huggingface/transformers/issues/2185
538,094,409
MDU6SXNzdWU1MzgwOTQ0MDk=
2,185
RuntimeError: CUDA error: device-side assert triggered when using Roberta
{ "login": "Strideradu", "id": 9002118, "node_id": "MDQ6VXNlcjkwMDIxMTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9002118?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Strideradu", "html_url": "https://github.com/Strideradu", "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
[]
[ "Bert, XLnet all work fine for me", "Have you ever read in the Issues section, e.g. #1852, #1848, #1849 and #1805? They suggest different solutions for your problem, e.g. changing the input sequence limit to 128.\r\n\r\n> ## Bug\r\n> Model I am using (Bert, XLNet....):\r\n> Roberta\r\n> Language I am using the m...
1,576
1,584
1,584
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Roberta Language I am using the model on (English, Chinese....): English The problem arise when using: * [ ] the official example scripts: (give details) * [x] my own modified scripts: (give details) ``` class QuestModel(nn.Mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2185/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2185/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2184
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2184/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2184/comments
https://api.github.com/repos/huggingface/transformers/issues/2184/events
https://github.com/huggingface/transformers/issues/2184
538,094,098
MDU6SXNzdWU1MzgwOTQwOTg=
2,184
T5Tokenizer: Using cls_token, but it is not set yet.
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[ { "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'm **not** able to import T5Tokenizer in my environment: I received an **ImportError** exception.\r\nI'm using Python 3.6.9, OS Ubuntu 16.04, Transformers 2.2.2 (installed now with `pip install transformers`), PyTorch 1.3.1 and TensorFlow 2.0. What am I missing?\r\nThe stack trace is the following:\r\n```\r\n>>> ...
1,576
1,582
1,582
COLLABORATOR
null
## 🐛 Bug Model I am using (Bert, XLNet....): T5 ## To Reproduce Steps to reproduce the behavior: 1. Load T5Tokenizer 2. Try getting the CLS or SEP token: `tokenizer.sep_token` or `tokenizer.cls_token` 3. An error will be raised "Using cls_token, but it is not set yet." Running the latest commit on the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2184/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/2184/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2183
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2183/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2183/comments
https://api.github.com/repos/huggingface/transformers/issues/2183/events
https://github.com/huggingface/transformers/issues/2183
538,072,464
MDU6SXNzdWU1MzgwNzI0NjQ=
2,183
Unit of the prediction scores of a language model
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[ { "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
[]
[ "These are logits, i.e. unnormalized scores for each possible token at the masked token position. You can convert them in (normalized) probabilities by taking their softmax. I don't think you can really assign any unit to these scores, in particular, because they are not normalized so you can add any constant value...
1,576
1,582
1,582
COLLABORATOR
null
I have used the base transformer models for downstream tasks for a while now but I haven't had the time to dig into how the models were actually trained. When looking at the *ForMaskedLM models, I can see the return tuple contains `prediction_scores` for each token. > prediction_scores: torch.FloatTensor of shape (b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2183/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/2183/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2182
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2182/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2182/comments
https://api.github.com/repos/huggingface/transformers/issues/2182/events
https://github.com/huggingface/transformers/issues/2182
538,052,267
MDU6SXNzdWU1MzgwNTIyNjc=
2,182
sts-b task score is far worse than other GLUE tasks
{ "login": "sjpark9503", "id": 35256263, "node_id": "MDQ6VXNlcjM1MjU2MjYz", "avatar_url": "https://avatars.githubusercontent.com/u/35256263?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sjpark9503", "html_url": "https://github.com/sjpark9503", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "Have you resolved this issue? I observed a much worse result." ]
1,576
1,600
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Hello, I'm evaluating my GPT style model pretrained on TEXT8 dataset with GLUE. Below is the evaluation result. ``` CoLA | SST-2 | MRPC |   QQP   | STS-B  | MNLI | QNLI | RTE | WNLI 19.1 | 85 | 82.5 / 71.6 | 78....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2182/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2182/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2181
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2181/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2181/comments
https://api.github.com/repos/huggingface/transformers/issues/2181/events
https://github.com/huggingface/transformers/issues/2181
538,020,090
MDU6SXNzdWU1MzgwMjAwOTA=
2,181
Conda version is not the latest
{ "login": "kamyarghajar", "id": 8692540, "node_id": "MDQ6VXNlcjg2OTI1NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8692540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamyarghajar", "html_url": "https://github.com/kamyarghajar", "followers_url": "https://api.github.com...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Do you mean lines 66-67 and 153 in the [modeling_albert.py](https://github.com/huggingface/transformers/blob/master/transformers/modeling_albert.py) script?\r\n\r\n> ## Feature\r\n> The conda package in conda forge channel (v2.1.1) is not the latest released version (v2.2.2) so the ALBERT model is missing from th...
1,576
1,582
1,582
NONE
null
## 🚀 Feature The conda package in conda forge channel (v2.1.1) is not the latest released version (v2.2.2) so the ALBERT model is missing from the package. ## Motivation In conda environment we need the latest packages containing the ALBERT model. ## Additional context Also, for the ALBERT model in its ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2181/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2181/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2180
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2180/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2180/comments
https://api.github.com/repos/huggingface/transformers/issues/2180/events
https://github.com/huggingface/transformers/issues/2180
538,018,046
MDU6SXNzdWU1MzgwMTgwNDY=
2,180
Pretty sure patch in Pull Request #1313 is incorrect
{ "login": "jasonrohrer", "id": 12563681, "node_id": "MDQ6VXNlcjEyNTYzNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/12563681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jasonrohrer", "html_url": "https://github.com/jasonrohrer", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "And yes, the above code does fix it.\r\n\r\nExample:\r\n--stop_token=\"wake\"\r\n\r\ntext = ' to the same conclusion: that her husband, the guy she had chosen for her favorite, had been'\r\n\r\ntrimmed text = ' to the same conclusion: that her husband, the guy she had chosen for her favorite, had been'\r\n\r\n\r\n...
1,576
1,576
1,576
NONE
null
## 🐛 Bug The bug was introduced in pull request #1313 If a stop_token is specified, but does not exist in **text**, then the last character of the text string is trimmed off. text.find will return -1 in that case, which seems to remove the last character from the string. Example: --stop_token="wake" `tex...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2180/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2180/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2179
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2179/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2179/comments
https://api.github.com/repos/huggingface/transformers/issues/2179/events
https://github.com/huggingface/transformers/issues/2179
538,001,905
MDU6SXNzdWU1MzgwMDE5MDU=
2,179
Should I always use bert as a teacher to distillation distilbert as a student?
{ "login": "graykode", "id": 10525011, "node_id": "MDQ6VXNlcjEwNTI1MDEx", "avatar_url": "https://avatars.githubusercontent.com/u/10525011?v=4", "gravatar_id": "", "url": "https://api.github.com/users/graykode", "html_url": "https://github.com/graykode", "followers_url": "https://api.github.com/users/gra...
[]
closed
false
null
[]
[ "Hello @graykode \r\nYou can use whichever teacher you want, however in the method we propose, you need to make sure that the vocabularies match (knowledge distillation loss is applied to the distributions over the vocabulary).\r\nVictor", "Thanks for your advice! I will close this issue" ]
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help Should I always use bert as a teacher to distill distilbert as a student? Is it fine RoBERTa model as a teacher to distill [distilbert](https://github.com/huggingface/transformers/blob/master/transformers/modeling_distilbert.py)? I assume roberta and distilbert use the same tokenizer and datalo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2179/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2179/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2178
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2178/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2178/comments
https://api.github.com/repos/huggingface/transformers/issues/2178/events
https://github.com/huggingface/transformers/pull/2178
537,997,406
MDExOlB1bGxSZXF1ZXN0MzUzMjM1NTgz
2,178
Tokenize with offsets
{ "login": "eladsegal", "id": 13485709, "node_id": "MDQ6VXNlcjEzNDg1NzA5", "avatar_url": "https://avatars.githubusercontent.com/u/13485709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eladsegal", "html_url": "https://github.com/eladsegal", "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2178?src=pr&el=h1) Report\n> Merging [#2178](https://codecov.io/gh/huggingface/transformers/pull/2178?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/26e04e51ef0774e681784d7be900c1119d46c52e?src=pr&el=desc) will **d...
1,576
1,641
1,588
CONTRIBUTOR
null
Similar purpose to https://github.com/huggingface/transformers/pull/1274 (which I also used for most of the testing) but different approach. It keeps track of token offsets by trying to progressively tokenize the text character by character, and consume matching tokens along the way. It returns just the start of a sp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2178/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2178/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2178", "html_url": "https://github.com/huggingface/transformers/pull/2178", "diff_url": "https://github.com/huggingface/transformers/pull/2178.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2178.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2177
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2177/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2177/comments
https://api.github.com/repos/huggingface/transformers/issues/2177/events
https://github.com/huggingface/transformers/pull/2177
537,922,695
MDExOlB1bGxSZXF1ZXN0MzUzMTgxODAx
2,177
:zip: #2106 tokenizer.tokenize speed improvement (3-8x) by caching added_tokens in a Set
{ "login": "mandubian", "id": 77193, "node_id": "MDQ6VXNlcjc3MTkz", "avatar_url": "https://avatars.githubusercontent.com/u/77193?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mandubian", "html_url": "https://github.com/mandubian", "followers_url": "https://api.github.com/users/mandubian/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2177?src=pr&el=h1) Report\n> Merging [#2177](https://codecov.io/gh/huggingface/transformers/pull/2177?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e92bcb7eb6c5b9b6ed313cc74abaab50b3dc674f?src=pr&el=desc) will **i...
1,576
1,576
1,576
NONE
null
in #2106, we see that adding tokens to tokenizer decreases progressively tokenization performance which is not really a surprise as you need to go through the list of tokens which grows. But it sounds that this increase is not linear. By having a quick look at code, I've seen that: - `added_tokens` list is built fo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2177/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2177/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2177", "html_url": "https://github.com/huggingface/transformers/pull/2177", "diff_url": "https://github.com/huggingface/transformers/pull/2177.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2177.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2176
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2176/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2176/comments
https://api.github.com/repos/huggingface/transformers/issues/2176/events
https://github.com/huggingface/transformers/issues/2176
537,912,450
MDU6SXNzdWU1Mzc5MTI0NTA=
2,176
run_squad.py for SQuAD2.0 have bad f1 score
{ "login": "WenTingTseng", "id": 32416416, "node_id": "MDQ6VXNlcjMyNDE2NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/32416416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WenTingTseng", "html_url": "https://github.com/WenTingTseng", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Can you please post the required version numbers? (Should be in the issue template)", "the version numbers is 2.2.0", "- Is it answering every question? for V2 you might want this flag passed\r\nhttps://github.com/huggingface/transformers/blob/master/examples/run_squad.py#L409\r\n\r\n- Your model is cased?\r\n...
1,576
1,577
1,577
NONE
null
why I use run_squad.py for SQuAD2.0 have bad f1 score 43.638 The noanser_f1=0.0 it look like do not deal with not answerable situation I don't have change anything I just run like this python3 run_squad.py \ --model_type bert \ --model_name_or_path bert-base-cased \ --do_train \ --do_eval \ --do_lo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2176/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2176/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2175
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2175/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2175/comments
https://api.github.com/repos/huggingface/transformers/issues/2175/events
https://github.com/huggingface/transformers/pull/2175
537,906,689
MDExOlB1bGxSZXF1ZXN0MzUzMTcwNTA3
2,175
merge new version
{ "login": "hellozhaojian", "id": 35376518, "node_id": "MDQ6VXNlcjM1Mzc2NTE4", "avatar_url": "https://avatars.githubusercontent.com/u/35376518?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hellozhaojian", "html_url": "https://github.com/hellozhaojian", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "ok" ]
1,576
1,576
1,576
NONE
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2175/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2175/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2175", "html_url": "https://github.com/huggingface/transformers/pull/2175", "diff_url": "https://github.com/huggingface/transformers/pull/2175.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2175.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2174
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2174/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2174/comments
https://api.github.com/repos/huggingface/transformers/issues/2174/events
https://github.com/huggingface/transformers/issues/2174
537,890,998
MDU6SXNzdWU1Mzc4OTA5OTg=
2,174
RobertaTokenizer token type issue
{ "login": "CZWin32768", "id": 12969670, "node_id": "MDQ6VXNlcjEyOTY5Njcw", "avatar_url": "https://avatars.githubusercontent.com/u/12969670?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CZWin32768", "html_url": "https://github.com/CZWin32768", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "having the same question... why add two seps instead of one? " ]
1,576
1,582
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Why the two middle `<\s>` are both assigned with token type 0? https://github.com/huggingface/transformers/blob/e92bcb7eb6c5b9b6ed313cc74abaab50b3dc674f/transformers/tokenization_roberta.py#L149 Could this one be better? ```pyt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2174/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/2174/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2173
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2173/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2173/comments
https://api.github.com/repos/huggingface/transformers/issues/2173/events
https://github.com/huggingface/transformers/pull/2173
537,844,159
MDExOlB1bGxSZXF1ZXN0MzUzMTI3MTUy
2,173
run_squad with roberta
{ "login": "erenup", "id": 43887288, "node_id": "MDQ6VXNlcjQzODg3Mjg4", "avatar_url": "https://avatars.githubusercontent.com/u/43887288?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erenup", "html_url": "https://github.com/erenup", "followers_url": "https://api.github.com/users/erenup/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2173?src=pr&el=h1) Report\n> Merging [#2173](https://codecov.io/gh/huggingface/transformers/pull/2173?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7bd11dda6f43656cf0a3891b7f61a67196d233b4?src=pr&el=desc) will **d...
1,576
1,576
1,576
CONTRIBUTOR
null
Hi, @julien-c @thomwolf this PR is based on #1386 and #1984. - This PR modified run_squad.py and models_roberta to support Roberta. - This PR also made use of multiple processing to accelerate converting examples to features. (Converting examples to feature needed **15minus before and 34 seconds now** with 24...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2173/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2173/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2173", "html_url": "https://github.com/huggingface/transformers/pull/2173", "diff_url": "https://github.com/huggingface/transformers/pull/2173.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2173.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2172
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2172/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2172/comments
https://api.github.com/repos/huggingface/transformers/issues/2172/events
https://github.com/huggingface/transformers/pull/2172
537,778,994
MDExOlB1bGxSZXF1ZXN0MzUzMDc1MTg1
2,172
[cli] Upload is now compatible with folders
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2172?src=pr&el=h1) Report\n> Merging [#2172](https://codecov.io/gh/huggingface/transformers/pull/2172?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d46147294852694d1dc701c72b9053ff2e726265?src=pr&el=desc) will **i...
1,576
1,576
1,576
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2172/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2172/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2172", "html_url": "https://github.com/huggingface/transformers/pull/2172", "diff_url": "https://github.com/huggingface/transformers/pull/2172.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2172.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2171
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2171/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2171/comments
https://api.github.com/repos/huggingface/transformers/issues/2171/events
https://github.com/huggingface/transformers/issues/2171
537,760,889
MDU6SXNzdWU1Mzc3NjA4ODk=
2,171
Small run_squad nit: eliminate trailing "_" in "best_predictions_.json" when no prefix
{ "login": "mfeblowitz", "id": 6854939, "node_id": "MDQ6VXNlcjY4NTQ5Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/6854939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfeblowitz", "html_url": "https://github.com/mfeblowitz", "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", "As it's only a cosmetic change and for the sake of not breaking backward compat over cosmetic issues I'm reluctant to change this." ]
1,576
1,582
1,582
NONE
null
## 🐛 Bug <!-- Important information --> Prior convention for tf-based run_squad is to output best predictions in an nbest_predictions.json file. Now with the new convention of including a "prefix" in the generation of potentially many nbest files, in cases where there's not prefix, the name becomes nbest_predictio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2171/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2171/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2170
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2170/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2170/comments
https://api.github.com/repos/huggingface/transformers/issues/2170/events
https://github.com/huggingface/transformers/pull/2170
537,742,990
MDExOlB1bGxSZXF1ZXN0MzUzMDQ0NjM1
2,170
BertForSequenceClassification() model TF to pytorch conversion
{ "login": "altsoph", "id": 2072749, "node_id": "MDQ6VXNlcjIwNzI3NDk=", "avatar_url": "https://avatars.githubusercontent.com/u/2072749?v=4", "gravatar_id": "", "url": "https://api.github.com/users/altsoph", "html_url": "https://github.com/altsoph", "followers_url": "https://api.github.com/users/altsoph/...
[ { "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/2170?src=pr&el=h1) Report\n> Merging [#2170](https://codecov.io/gh/huggingface/transformers/pull/2170?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c8ed1c82c8a42ef700d4129d227fa356385c1d60?src=pr&el=desc) will **d...
1,576
1,584
1,584
CONTRIBUTOR
null
I added a script convert_bert_seqclass_tf_checkpoint_to_pytorch.py for the conversion a trained BertForSequenceClassification model from TF to pytorch. I had to modify modeling_bert.py to support it, as well.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2170/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2170/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2170", "html_url": "https://github.com/huggingface/transformers/pull/2170", "diff_url": "https://github.com/huggingface/transformers/pull/2170.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2170.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2169
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2169/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2169/comments
https://api.github.com/repos/huggingface/transformers/issues/2169/events
https://github.com/huggingface/transformers/issues/2169
537,714,233
MDU6SXNzdWU1Mzc3MTQyMzM=
2,169
How to structure input data for training TFGPT2LMHeadModel using model.fit() in TF2.0?
{ "login": "brandonbell11", "id": 51493518, "node_id": "MDQ6VXNlcjUxNDkzNTE4", "avatar_url": "https://avatars.githubusercontent.com/u/51493518?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brandonbell11", "html_url": "https://github.com/brandonbell11", "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, there is a fundamental difference between PyTorch and TensorFlow in that the losses for PyTorch can be computed both inside the model forward method as well as outside, whereas it is only outside for TensorFlow.\r\n\r\nThis makes a difference when comparing the torch script and keras fit, as our GPT-2 impleme...
1,576
1,582
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> I am able to use the run_lm_finetuning.py script easily, but I wish to be able to use TF2.0 and call model.fit() on distilgpt2. using the fine-tuning script as an example, I structured my dataset as such: ``` #split text file b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2169/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2169/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2168
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2168/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2168/comments
https://api.github.com/repos/huggingface/transformers/issues/2168/events
https://github.com/huggingface/transformers/issues/2168
537,692,176
MDU6SXNzdWU1Mzc2OTIxNzY=
2,168
CUDA error at 'cublasSgemm' when using the pretrained BERT
{ "login": "hahmyg", "id": 3884429, "node_id": "MDQ6VXNlcjM4ODQ0Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/3884429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hahmyg", "html_url": "https://github.com/hahmyg", "followers_url": "https://api.github.com/users/hahmyg/foll...
[ { "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
[]
[ "In [this](https://github.com/pytorch/pytorch/issues/24018) thread on PyTorch's GitHub, they said that this bug has been fixed. In more details, _\"this bug was solved in cublas 10.2.0.186. The latest public version of cublas is 10.2.1.243 that was released with CUDA 10.1 Update 2.\"_", "This issue has been autom...
1,576
1,582
1,582
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Language I am using the model on (English, Chinese....): The problem arise when using: * [ ] the official example scripts: (give details) * [v] my own modified scripts: (give details) The tasks I am working on is: * [ ] an of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2168/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2168/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2167
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2167/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2167/comments
https://api.github.com/repos/huggingface/transformers/issues/2167/events
https://github.com/huggingface/transformers/issues/2167
537,609,529
MDU6SXNzdWU1Mzc2MDk1Mjk=
2,167
using run_squad.py for predict and specifying config_name as path, config.json not found
{ "login": "mfeblowitz", "id": 6854939, "node_id": "MDQ6VXNlcjY4NTQ5Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/6854939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfeblowitz", "html_url": "https://github.com/mfeblowitz", "followers_url": "https://api.github.com/users...
[]
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...
[ "@LysandreJik - Note changes above.", "I believe the issue stems from the fact that the model cannot be evaluated unless it has been trained. A workaround is to specify the `model_name_or_path` to be the same as the `output_dir` so that it loads that when evaluating, but it isn't the best user experience.\r\n\r\n...
1,576
1,576
1,576
NONE
null
## 🐛 Bug <!-- Important information --> The situation is that, when running a predict-only task and specifying 1) an explicit path for a fine-tuned albert model and 2) specifying a specific path to the corresponding config.json file, run_squad attempts to seek the config file in the location of the --output_dir....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2167/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2166
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2166/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2166/comments
https://api.github.com/repos/huggingface/transformers/issues/2166/events
https://github.com/huggingface/transformers/issues/2166
537,600,034
MDU6SXNzdWU1Mzc2MDAwMzQ=
2,166
How to do the further pretraining ?
{ "login": "JiangYanting", "id": 44471391, "node_id": "MDQ6VXNlcjQ0NDcxMzkx", "avatar_url": "https://avatars.githubusercontent.com/u/44471391?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JiangYanting", "html_url": "https://github.com/JiangYanting", "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
[]
[ "We have no scripts for pre-training, but we do have scripts for fine-tuning (which seems to be what you want to do). Take a look at [run_lm_finetuning.py](https://github.com/huggingface/transformers/blob/master/examples/run_lm_finetuning.py) for more information. \r\n\r\nWe don't have examples that do NSP however,...
1,576
1,582
1,582
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Hello ! How could I futher Pre-train the BERT ( including the unsupervised masked language model and next sentence prediction tasks ) **using my own corpus** ? thank you very much !
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2166/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/2166/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2165
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2165/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2165/comments
https://api.github.com/repos/huggingface/transformers/issues/2165/events
https://github.com/huggingface/transformers/pull/2165
537,596,440
MDExOlB1bGxSZXF1ZXN0MzUyOTIyNjM1
2,165
Model parallelism + Adapters
{ "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...
[ { "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,576
1,651
1,583
MEMBER
null
Adding model parallelism for large T5 models and other models if needed. Adding adapters (a generalization of #1289) at the same time.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2165/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2165/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2165", "html_url": "https://github.com/huggingface/transformers/pull/2165", "diff_url": "https://github.com/huggingface/transformers/pull/2165.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2165.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2164
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2164/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2164/comments
https://api.github.com/repos/huggingface/transformers/issues/2164/events
https://github.com/huggingface/transformers/pull/2164
537,554,789
MDExOlB1bGxSZXF1ZXN0MzUyODg4NzU2
2,164
[SMALL BREAKING CHANGE] Cleaning up configuration classes - Adding Model Cards
{ "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/2164?src=pr&el=h1) Report\n> Merging [#2164](https://codecov.io/gh/huggingface/transformers/pull/2164?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e92bcb7eb6c5b9b6ed313cc74abaab50b3dc674f?src=pr&el=desc) will **d...
1,576
1,576
1,576
MEMBER
null
Clean up configuration. Previously loading a JSON file in the configuration could be done either by `config = config_class(json_file)` or by `config = config_class.from_pretrained(json_file)`. This was a historical artifact from the time configuration classes didn't use `from_pretrained()` method. This introduced...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2164/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/2164/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2164", "html_url": "https://github.com/huggingface/transformers/pull/2164", "diff_url": "https://github.com/huggingface/transformers/pull/2164.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2164.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2163
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2163/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2163/comments
https://api.github.com/repos/huggingface/transformers/issues/2163/events
https://github.com/huggingface/transformers/issues/2163
537,520,691
MDU6SXNzdWU1Mzc1MjA2OTE=
2,163
PreTrainedEncoderDecoder on tensorflow
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[ { "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", "We are still settling on the proper API for the pytorch version, so it will probably be awhile (months) before we make a tensorflow ver...
1,576
1,584
1,581
CONTRIBUTOR
null
## 🚀 Feature Hi, would it be possible to create a tensorflow version of `PreTrainedEncoderDecoder`? ## Motivation The main motivation is that I would like to use `PreTrainedEncoderDecoder` in TensorFlow. Yeah, I got it, PyTorch is better and I totally agree but unfortunately, I have to use TensorFlow. ## Add...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2163/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/2163/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2162
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2162/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2162/comments
https://api.github.com/repos/huggingface/transformers/issues/2162/events
https://github.com/huggingface/transformers/issues/2162
537,466,834
MDU6SXNzdWU1Mzc0NjY4MzQ=
2,162
pad_to_max_length param is not supported in PreTrainedTokenizer.encode
{ "login": "madrugado", "id": 3098853, "node_id": "MDQ6VXNlcjMwOTg4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/3098853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madrugado", "html_url": "https://github.com/madrugado", "followers_url": "https://api.github.com/users/ma...
[]
closed
false
null
[]
[ "Hello, can you try with the patch that was released today (2.2.2) and let me know if it works for you?", "By updating the Transformers library from 2.2.1 to 2.2.2, **it works as expected without the bug** highlighted by @madrugado.\r\n\r\nMy environment is the following:\r\n- **Python** 3.6.9\r\n- **OS**: Ubuntu...
1,576
1,598
1,576
NONE
null
## ❓ Questions & Help Hello, I've installed the current version of transformers package (2.2.1) through pip on Python 3.6.8rc1 on Windows 10 Pro (build 17763.678 if it is important). I am trying to get a sentence encoded and padded at the same time: ```python tokenizer = BertTokenizer.from_pretrained('bert-ba...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2162/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2162/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2161
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2161/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2161/comments
https://api.github.com/repos/huggingface/transformers/issues/2161/events
https://github.com/huggingface/transformers/issues/2161
537,464,351
MDU6SXNzdWU1Mzc0NjQzNTE=
2,161
Adding model type to config.json
{ "login": "perdix", "id": 1526654, "node_id": "MDQ6VXNlcjE1MjY2NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1526654?v=4", "gravatar_id": "", "url": "https://api.github.com/users/perdix", "html_url": "https://github.com/perdix", "followers_url": "https://api.github.com/users/perdix/foll...
[]
closed
false
null
[]
[ "Is now solved by this [PR](https://github.com/huggingface/transformers/pull/2494)\r\nThanks a lot!", "Yes, thanks for the contribution @perdix!" ]
1,576
1,579
1,579
NONE
null
## Feature Add `model_type` to the *config.json* to define the model_type and make it independent from the name ## Motivation Currently, the model type is automatically discovered from the name. So if it is a Bert model, the autoloader is choosing the right methods if the name contains `bert`. If not, an error wou...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2161/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/2161/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2160
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2160/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2160/comments
https://api.github.com/repos/huggingface/transformers/issues/2160/events
https://github.com/huggingface/transformers/pull/2160
537,423,872
MDExOlB1bGxSZXF1ZXN0MzUyNzgyMzUz
2,160
[WIP] Add UniLM model
{ "login": "addf400", "id": 10023639, "node_id": "MDQ6VXNlcjEwMDIzNjM5", "avatar_url": "https://avatars.githubusercontent.com/u/10023639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/addf400", "html_url": "https://github.com/addf400", "followers_url": "https://api.github.com/users/addf40...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2160?src=pr&el=h1) Report\n> Merging [#2160](https://codecov.io/gh/huggingface/transformers/pull/2160?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f061606277322a013ec2d96509d3077e865ae875?src=pr&el=desc) will **i...
1,576
1,669
1,592
NONE
null
# Typical workflow for including a model Here an overview of the general workflow: - [x] add model/configuration/tokenization classes - [x] add conversion scripts - [x] add tests - [x] finalize Let's detail what should be done at each step ## Adding model/configuration/tokenization classes Here is th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2160/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2160/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2160", "html_url": "https://github.com/huggingface/transformers/pull/2160", "diff_url": "https://github.com/huggingface/transformers/pull/2160.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2160.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2159
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2159/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2159/comments
https://api.github.com/repos/huggingface/transformers/issues/2159/events
https://github.com/huggingface/transformers/issues/2159
537,372,674
MDU6SXNzdWU1MzczNzI2NzQ=
2,159
Low ROUGE scores for BertSum
{ "login": "loganlebanoff", "id": 10007282, "node_id": "MDQ6VXNlcjEwMDA3Mjgy", "avatar_url": "https://avatars.githubusercontent.com/u/10007282?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loganlebanoff", "html_url": "https://github.com/loganlebanoff", "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 }, { "id": 1845609017, "node_id": "MDU6TGFiZWwxODQ1NjA5MDE3", ...
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 struggling with this also :( did you make any progress diagnosing the problem?", "No, I did not...I decided to go with a differen...
1,576
1,604
1,593
NONE
null
Great work, very easy to pick up and play with. I downloaded the CNN/DM stories from the link provided and selected only the files that belong to the test set following See et al.'s dataset splits (https://github.com/abisee/cnn-dailymail/blob/master/url_lists/all_test.txt). Then I ran the model using the first command ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2159/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2159/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2158
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2158/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2158/comments
https://api.github.com/repos/huggingface/transformers/issues/2158/events
https://github.com/huggingface/transformers/issues/2158
537,306,855
MDU6SXNzdWU1MzczMDY4NTU=
2,158
gpt-2 implement issue
{ "login": "bigprince97", "id": 51944774, "node_id": "MDQ6VXNlcjUxOTQ0Nzc0", "avatar_url": "https://avatars.githubusercontent.com/u/51944774?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bigprince97", "html_url": "https://github.com/bigprince97", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi, this is for the initialization. We don't have any scripts that show how to pretrain GPT-2 (therefore no need for initialization), only scripts to fine-tune it from a checkpoint.", "thanks for your reply\r\n" ]
1,576
1,577
1,577
NONE
null
Thanks for your good implementation some model in pytorch! gpt-2 paper mentioned that they did few modifications with original gpt, included "A modified initialization which accounts for the accumulation on the residual path with model depth is used. We scale the weights of residual layers at initialization by a fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2158/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2158/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2157
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2157/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2157/comments
https://api.github.com/repos/huggingface/transformers/issues/2157/events
https://github.com/huggingface/transformers/issues/2157
537,301,309
MDU6SXNzdWU1MzczMDEzMDk=
2,157
How to find the corresponding download models from Amazon?
{ "login": "PantherYan", "id": 34109245, "node_id": "MDQ6VXNlcjM0MTA5MjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/34109245?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PantherYan", "html_url": "https://github.com/PantherYan", "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
[]
[ "Hi, they are named as such because that's a clean way to make sure the model on the S3 is the same as the model in the cache. The name is created from the `etag` of the file hosted on the S3.\r\n\r\nIf you want to save it with a given name, you can save it as such:\r\n\r\n```py\r\nfrom transformers import BertMode...
1,576
1,677
1,583
NONE
null
## ❓ Questions & Help As we know, the TRANSFORMER could easy auto-download models by the pretrain( ) function. And the pre-trained BERT/RoBerta model are stored at the path of ./cach/.pytorch/.transformer/.... But, all the name of the download models are like this: d9fc1956a01fe24af529f239031a439661e7634e6...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2157/reactions", "total_count": 10, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/2157/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2156
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2156/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2156/comments
https://api.github.com/repos/huggingface/transformers/issues/2156/events
https://github.com/huggingface/transformers/issues/2156
537,270,511
MDU6SXNzdWU1MzcyNzA1MTE=
2,156
End-Task Distillation with DistilBERT
{ "login": "shreydesai", "id": 12023280, "node_id": "MDQ6VXNlcjEyMDIzMjgw", "avatar_url": "https://avatars.githubusercontent.com/u/12023280?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shreydesai", "html_url": "https://github.com/shreydesai", "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
[]
[ "Hello @shreydesai,\r\nYou should have a look at [run_squad_w_distillation.py](https://github.com/huggingface/transformers/blob/master/examples/distillation/run_squad_w_distillation.py) which is the script used in the experiment you are mentioning.\r\nVictor", "This issue has been automatically marked as stale be...
1,576
1,582
1,582
NONE
null
## ❓ Questions & Help The DistilBERT paper notes the IMDB and SQuAD results were obtained "with a second step of distillation during fine-tuning". What does this involve exactly and how can it be performed with the DistilBERT model in this repo?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2156/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2156/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2155
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2155/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2155/comments
https://api.github.com/repos/huggingface/transformers/issues/2155/events
https://github.com/huggingface/transformers/issues/2155
537,209,959
MDU6SXNzdWU1MzcyMDk5NTk=
2,155
Special Tokens are Split by BPE
{ "login": "wcollins-ebsco", "id": 19821812, "node_id": "MDQ6VXNlcjE5ODIxODEy", "avatar_url": "https://avatars.githubusercontent.com/u/19821812?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wcollins-ebsco", "html_url": "https://github.com/wcollins-ebsco", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hello! Indeed this is a known issue with version 2.2.1. You can either revert to 2.2.0 or install from source (`pip install git+https://github.com/huggingface/transformers`) until we push a new version (2.2.2) which should happen before the end of the week.", "I confirm that reverting to 2.2.0 solves the problem...
1,576
1,667
1,576
NONE
null
## 🐛 Bug When I load 'distilbert-base-uncased' DistilBertTokenizer (with do_basic_tokenize=False) and call tokenize() on a string that includes special tokens, the special tokens are broken up by BPE. Model I am using (Bert, XLNet....): DistilBertForSequenceClassification Language I am using the model on (Eng...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2155/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2155/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2154
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2154/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2154/comments
https://api.github.com/repos/huggingface/transformers/issues/2154/events
https://github.com/huggingface/transformers/issues/2154
537,089,530
MDU6SXNzdWU1MzcwODk1MzA=
2,154
AlBERT UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
{ "login": "ivankott", "id": 36267779, "node_id": "MDQ6VXNlcjM2MjY3Nzc5", "avatar_url": "https://avatars.githubusercontent.com/u/36267779?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ivankott", "html_url": "https://github.com/ivankott", "followers_url": "https://api.github.com/users/iva...
[]
closed
false
null
[]
[ "Hello! Could you please tell me which model you are trying to download? I've just tried the following command and it succeeded without any issues:\r\n```py\r\nAlbertForQuestionAnswering.from_pretrained(\"albert-base-v2\", force_download=True)\r\n```\r\n\r\nI put the `force_download` flag to True to make sure I was...
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help ![image](https://user-images.githubusercontent.com/36267779/70731538-8584a880-1d0f-11ea-8516-7895c3a50c27.png) ![image](https://user-images.githubusercontent.com/36267779/70731555-8d444d00-1d0f-11ea-84a5-0df7b00ff820.png) Hi! There is some problem while downloading any of the pre-trained Al...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2154/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2154/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2153
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2153/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2153/comments
https://api.github.com/repos/huggingface/transformers/issues/2153/events
https://github.com/huggingface/transformers/issues/2153
536,784,738
MDU6SXNzdWU1MzY3ODQ3Mzg=
2,153
BertAbs decoder_input_ids
{ "login": "ohmeow", "id": 14000, "node_id": "MDQ6VXNlcjE0MDAw", "avatar_url": "https://avatars.githubusercontent.com/u/14000?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ohmeow", "html_url": "https://github.com/ohmeow", "followers_url": "https://api.github.com/users/ohmeow/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
[]
[ "Could you please post the full stack trace as well as the part of the code you use for fine-tuning?", "See here: https://gist.github.com/ohmeow/f2cc6ea0a9d0e4a5fa227942edcfa723\n\nI think it has something to do with how I'm preparing the target tokens but\nI'm not sure what the appropriate fix is. Looked at th...
1,576
1,583
1,583
CONTRIBUTOR
null
## ❓ Questions & Help What should the `decoder_input_ids` look like if we are fine-tuning the model on our own dataset? I tried `[unused0] [unused2] summary_sent_toks [unused2] summary_sent_toks2 [unused1]` (looking at the paper) ... but I get shape errors because of line 150 in `modeling_bertabs.py`: ``` dec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2153/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2153/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2152
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2152/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2152/comments
https://api.github.com/repos/huggingface/transformers/issues/2152/events
https://github.com/huggingface/transformers/issues/2152
536,712,877
MDU6SXNzdWU1MzY3MTI4Nzc=
2,152
RoBERTa/GPT-2 tokenization: Why we call all_special_tokens for each token in split_all_tokens?
{ "login": "volker42maru", "id": 51976664, "node_id": "MDQ6VXNlcjUxOTc2NjY0", "avatar_url": "https://avatars.githubusercontent.com/u/51976664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/volker42maru", "html_url": "https://github.com/volker42maru", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi, could you provide an example that was sped up by replacing that variable? When tokenizing 55k tokens 10 times without creating a variable for all_special_tokens I get the result in 3.88s whereas when creating a variable I get the result in 3.87s. This doesn't seem like such a big difference!", "In my case, I...
1,576
1,576
1,576
NONE
null
Is there a reason why the property function `all_special_tokens` is called in each iteration in `split_on_tokens()` when looping over all tokens? When I initialize a new variable and call all_special_tokens only once in the tokenizer init, the tokenization is speed-up around 2~3 times for me. Maybe I am missing some...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2152/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2152/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2151
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2151/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2151/comments
https://api.github.com/repos/huggingface/transformers/issues/2151/events
https://github.com/huggingface/transformers/issues/2151
536,709,593
MDU6SXNzdWU1MzY3MDk1OTM=
2,151
RoBERTa tokenization: Why do we call 'all_special_tokens' in each tokenize loop?
{ "login": "volker42maru", "id": 51976664, "node_id": "MDQ6VXNlcjUxOTc2NjY0", "avatar_url": "https://avatars.githubusercontent.com/u/51976664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/volker42maru", "html_url": "https://github.com/volker42maru", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,576
1,576
1,576
NONE
null
Is there a reason why the property function`all_special_tokens` is called in each iteration in `tokenize()` when looping over all tokens? When I initialize a new variable and call `all_special_tokens` only once in the tokenizer init, the tokenization is speed-up around 2~3 times for me.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2151/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2151/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2150
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2150/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2150/comments
https://api.github.com/repos/huggingface/transformers/issues/2150/events
https://github.com/huggingface/transformers/issues/2150
536,709,591
MDU6SXNzdWU1MzY3MDk1OTE=
2,150
RoBERTa tokenization: Why do we call 'all_special_tokens' in each tokenize loop?
{ "login": "volker42maru", "id": 51976664, "node_id": "MDQ6VXNlcjUxOTc2NjY0", "avatar_url": "https://avatars.githubusercontent.com/u/51976664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/volker42maru", "html_url": "https://github.com/volker42maru", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,576
1,576
1,576
NONE
null
Is there a reason why the property function 'all_special_tokens' is called in each iteration in tokenize() when looping over all tokens?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2150/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2150/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2149
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2149/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2149/comments
https://api.github.com/repos/huggingface/transformers/issues/2149/events
https://github.com/huggingface/transformers/pull/2149
536,676,301
MDExOlB1bGxSZXF1ZXN0MzUyMTY2OTE2
2,149
:bug: #2120 in model.from_pretrained, PosixPath crashes at "albert" check
{ "login": "mandubian", "id": 77193, "node_id": "MDQ6VXNlcjc3MTkz", "avatar_url": "https://avatars.githubusercontent.com/u/77193?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mandubian", "html_url": "https://github.com/mandubian", "followers_url": "https://api.github.com/users/mandubian/...
[]
closed
false
null
[]
[ "Ok, I've checked the errors in CI. Those are linked to the fact that in older python version, PosixPath is not converted automatically to String and `os.path.isdir/isfile` crash because it expects a string or int. So my patch works perfectly in latest version of python (like 3.7) but not older (like 3.5) which is ...
1,576
1,576
1,576
NONE
null
- `pretrained_model_name_or_path` is now stringified to allow the "albert" and "v2" checks with PosixPath (or any other path representation that isn't iterable). - If `pretrained_model_name_or_path` is None, it gives string "None" which doesn't contain "albert" so it's OK. - 2 x `str(pretrained_model_name_or_path)` d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2149/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2149/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2149", "html_url": "https://github.com/huggingface/transformers/pull/2149", "diff_url": "https://github.com/huggingface/transformers/pull/2149.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2149.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2148
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2148/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2148/comments
https://api.github.com/repos/huggingface/transformers/issues/2148/events
https://github.com/huggingface/transformers/pull/2148
536,592,500
MDExOlB1bGxSZXF1ZXN0MzUyMDk2ODI0
2,148
Fix encode plus
{ "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/2148?src=pr&el=h1) Report\n> Merging [#2148](https://codecov.io/gh/huggingface/transformers/pull/2148?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/030faccb8d45be9bdd2b4b80ff26f36dc41f622a?src=pr&el=desc) will **d...
1,576
1,576
1,576
MEMBER
null
Fixing the tensor creation in encode_plus
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2148/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2148/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2148", "html_url": "https://github.com/huggingface/transformers/pull/2148", "diff_url": "https://github.com/huggingface/transformers/pull/2148.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2148.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2147
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2147/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2147/comments
https://api.github.com/repos/huggingface/transformers/issues/2147/events
https://github.com/huggingface/transformers/issues/2147
536,532,557
MDU6SXNzdWU1MzY1MzI1NTc=
2,147
Recommended way for creating distillBERT container and serving
{ "login": "ishwara-bhat", "id": 40544316, "node_id": "MDQ6VXNlcjQwNTQ0MzE2", "avatar_url": "https://avatars.githubusercontent.com/u/40544316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ishwara-bhat", "html_url": "https://github.com/ishwara-bhat", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "You can find the s3 URL of models here for distilbert: https://github.com/huggingface/transformers/blob/master/transformers/configuration_distilbert.py\r\n\r\nIf you build the docker on your machine, first download model files on your machine.\r\nThen just add those files to your container through Dockerfile.\r\n\...
1,576
1,579
1,579
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> As per documentation, I am supposed to load distilbert as below. question_answering_model = torch.hub.load('huggingface/pytorch-transformers', 'modelForQuestionAnswering', 'distilbert-base-uncased-distilled-squad') question_answerin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2147/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2147/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2146
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2146/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2146/comments
https://api.github.com/repos/huggingface/transformers/issues/2146/events
https://github.com/huggingface/transformers/pull/2146
536,497,621
MDExOlB1bGxSZXF1ZXN0MzUyMDE3NDg1
2,146
doc: fix pretrained models table
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2146?src=pr&el=h1) Report\n> Merging [#2146](https://codecov.io/gh/huggingface/transformers/pull/2146?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e2f9fed554bb5f147ea3d9573004b447dd7c9e7?src=pr&el=desc) will **n...
1,576
1,576
1,576
COLLABORATOR
null
Hi, this PR fixes the pretrained models table, see #2145.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2146/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2146/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2146", "html_url": "https://github.com/huggingface/transformers/pull/2146", "diff_url": "https://github.com/huggingface/transformers/pull/2146.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2146.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2145
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2145/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2145/comments
https://api.github.com/repos/huggingface/transformers/issues/2145/events
https://github.com/huggingface/transformers/issues/2145
536,484,061
MDU6SXNzdWU1MzY0ODQwNjE=
2,145
the docs pretrained models is missing
{ "login": "PiotrCzapla", "id": 340180, "node_id": "MDQ6VXNlcjM0MDE4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/340180?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PiotrCzapla", "html_url": "https://github.com/PiotrCzapla", "followers_url": "https://api.github.com/user...
[]
closed
false
null
[]
[ "Should be working now :)", "Thanks @PiotrCzapla for raising the issue, @stefan-it fixed it earlier today!" ]
1,576
1,576
1,576
NONE
null
Hi, your docs have the table with pretrained models missing, probably some formatting error, as the source code has the table <img width="1280" alt="Screenshot 2019-12-11 at 17 31 01" src="https://user-images.githubusercontent.com/340180/70640463-4174a380-1c3c-11ea-9c6e-ca343ef46332.png"> https://huggingface.co/tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2145/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2145/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2144
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2144/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2144/comments
https://api.github.com/repos/huggingface/transformers/issues/2144/events
https://github.com/huggingface/transformers/pull/2144
536,477,233
MDExOlB1bGxSZXF1ZXN0MzUyMDAwNDAy
2,144
Allowing from_pretrained to load from url directly
{ "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
[]
[ "cc @mfuntowicz ", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2144?src=pr&el=h1) Report\n> Merging [#2144](https://codecov.io/gh/huggingface/transformers/pull/2144?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2d103546ef102d69ea12cdca3ec3163052886851?src...
1,576
1,576
1,576
MEMBER
null
Allowing `from_pretrained` to load from url directly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2144/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2144/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2144", "html_url": "https://github.com/huggingface/transformers/pull/2144", "diff_url": "https://github.com/huggingface/transformers/pull/2144.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2144.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2143
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2143/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2143/comments
https://api.github.com/repos/huggingface/transformers/issues/2143/events
https://github.com/huggingface/transformers/pull/2143
536,436,213
MDExOlB1bGxSZXF1ZXN0MzUxOTY2MDI4
2,143
Fix typo in examples/run_glue.py args declaration.
{ "login": "adelevie", "id": 86790, "node_id": "MDQ6VXNlcjg2Nzkw", "avatar_url": "https://avatars.githubusercontent.com/u/86790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adelevie", "html_url": "https://github.com/adelevie", "followers_url": "https://api.github.com/users/adelevie/foll...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2143?src=pr&el=h1) Report\n> Merging [#2143](https://codecov.io/gh/huggingface/transformers/pull/2143?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4c12860f7ae61659aed2675498350a386fc4e122?src=pr&el=desc) will **n...
1,576
1,576
1,576
CONTRIBUTOR
null
deay -> decay
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2143/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2143/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2143", "html_url": "https://github.com/huggingface/transformers/pull/2143", "diff_url": "https://github.com/huggingface/transformers/pull/2143.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2143.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2142
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2142/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2142/comments
https://api.github.com/repos/huggingface/transformers/issues/2142/events
https://github.com/huggingface/transformers/issues/2142
536,425,082
MDU6SXNzdWU1MzY0MjUwODI=
2,142
master branch examples/run_squad.py: missing --predict_file argparse argument
{ "login": "mfeblowitz", "id": 6854939, "node_id": "MDQ6VXNlcjY4NTQ5Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/6854939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfeblowitz", "html_url": "https://github.com/mfeblowitz", "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
[]
[ "In order to use the **evaluation** mode, you have to pass from script the `do_eval` parameter (in addition to the \"classical\" input parameters for evaluation).\r\n\r\n> ## Bug\r\n> Model I am using: albert\r\n> \r\n> Language I am using the model on (English, Chinese....): English\r\n> \r\n> The problem arise w...
1,576
1,581
1,581
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using: albert Language I am using the model on (English, Chinese....): English The problem arise when using: * [X] the official example scripts: (give details) examples/run_squad/py: --predict_file not recognized * [ ] my own modified scripts: (give det...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2142/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2142/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2141
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2141/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2141/comments
https://api.github.com/repos/huggingface/transformers/issues/2141/events
https://github.com/huggingface/transformers/issues/2141
536,419,632
MDU6SXNzdWU1MzY0MTk2MzI=
2,141
Fine-tuning distilled GPT-2
{ "login": "KerenzaDoxolodeo", "id": 7535438, "node_id": "MDQ6VXNlcjc1MzU0Mzg=", "avatar_url": "https://avatars.githubusercontent.com/u/7535438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KerenzaDoxolodeo", "html_url": "https://github.com/KerenzaDoxolodeo", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "_DistilGPT2Config_, _DistilGPT2LMHeadModel_ and _DistilGPT2Tokenizer_ **don't exist**. In order to fine-tuning the DistilGPT2 model for LM, you can use the following settings of tokenizer, config and model:\r\n**Tokenizer**:\r\n```\r\n> from transformers import GPT2Tokenizer\r\n> tokenizer = GPT2Tokenizer.from_pr...
1,576
1,694
1,576
NONE
null
## ❓ Questions & Help To my understanding, examples/run_lm_finetuning.py can be used to fine-tune the model to new data. How do I fine-tune a distilled GPT-2? To be precise, I assume that I can use the entire code, but I just need to import the right module. I tried importing DistilGPT2Config, DistilGPT2LMHeadModel,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2141/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/2141/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2140
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2140/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2140/comments
https://api.github.com/repos/huggingface/transformers/issues/2140/events
https://github.com/huggingface/transformers/issues/2140
536,364,547
MDU6SXNzdWU1MzYzNjQ1NDc=
2,140
return_tokens_mapped_to_origin not working
{ "login": "alessiocancian", "id": 18497523, "node_id": "MDQ6VXNlcjE4NDk3NTIz", "avatar_url": "https://avatars.githubusercontent.com/u/18497523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alessiocancian", "html_url": "https://github.com/alessiocancian", "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
[]
[ "What is the idea here? That for each (sub)token its \"parent\" token ID is remembered? That would be so great. I can definitely use functionality like that.", "> What is the idea here? That for each (sub)token its \"parent\" token ID is remembered? That would be so great. I can definitely use functionality like ...
1,576
1,584
1,584
NONE
null
## 🐛 Bug Model I am using: **Bert** Language I am using the model on: **English** ## To Reproduce Call `bertTokenizer.tokenize("text", return_tokens_mapped_to_origin=True)` Result: > TypeError: _tokenize() got an unexpected keyword argument 'return_tokens_mapped_to_origin' ## Expected behavior The offi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2140/reactions", "total_count": 8, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2140/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2139
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2139/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2139/comments
https://api.github.com/repos/huggingface/transformers/issues/2139/events
https://github.com/huggingface/transformers/issues/2139
536,249,906
MDU6SXNzdWU1MzYyNDk5MDY=
2,139
About Summarization
{ "login": "lcl6679292", "id": 22518743, "node_id": "MDQ6VXNlcjIyNTE4NzQz", "avatar_url": "https://avatars.githubusercontent.com/u/22518743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lcl6679292", "html_url": "https://github.com/lcl6679292", "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
[]
[ "If you want to look the source code used for training the model, you can look at the source [GitHub](https://github.com/nlpyang/PreSumm), in particular you can view the `src/train.py`, `src/train_abstractive.py` or `src/train_extractive.py` Python scripts.", "@TheEdoardo93 Thank you for your reply. I know, will ...
1,576
1,584
1,583
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Thank you very much for your wonderful work. I found that some new code for summarization has been added from "pretrained encoder" paper. However, I see only the evaluation part of the code. I want to ask if you will add the code for th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2139/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/2139/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2138
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2138/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2138/comments
https://api.github.com/repos/huggingface/transformers/issues/2138/events
https://github.com/huggingface/transformers/issues/2138
536,217,051
MDU6SXNzdWU1MzYyMTcwNTE=
2,138
encode_plus not returning attention_mask and not padding
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "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...
[ "Hi, thanks for raising this issue!\r\n\r\nWhen running this code on the master branch, I do get the attention mask as output, but only when removing the `return_tensors` argument. When running with this argument, it crashes because a list is being concatenated to a tensor. I'm fixing this in #2148.\r\n\r\nIt's wei...
1,576
1,594
1,594
COLLABORATOR
null
## 🐛 Bug Tested on RoBERTa and BERT of the master branch, the [`encode_plus`](https://huggingface.co/transformers/main_classes/tokenizer.html#transformers.PreTrainedTokenizer.encode_plus) method of the tokenizer does not return an attention mask. The documentation states that by default an attention_mask is returne...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2138/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2138/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2137
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2137/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2137/comments
https://api.github.com/repos/huggingface/transformers/issues/2137/events
https://github.com/huggingface/transformers/issues/2137
536,211,148
MDU6SXNzdWU1MzYyMTExNDg=
2,137
Tokenization in C++
{ "login": "cnapun", "id": 17280970, "node_id": "MDQ6VXNlcjE3MjgwOTcw", "avatar_url": "https://avatars.githubusercontent.com/u/17280970?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cnapun", "html_url": "https://github.com/cnapun", "followers_url": "https://api.github.com/users/cnapun/fo...
[]
closed
false
null
[]
[ "You should wait a few days if you can because @n1t0 is working on something that will very likely solve your problem and it should be ready for a first release before the end of the year.", "Any update on this? It is already beyond \"the end of the year\".", "I also tried to figure out an alternative beyond ma...
1,576
1,685
1,578
NONE
null
Is there any general strategy for tokenizing text in C++ in a way that's compatible with the existing pretrained `BertTokenizer` implementation? I'm looking to use a finetuned BERT model in C++ for inference, and currently the only way seems to be to reproduce the `BertTokenizer` code manually (or modify it to be comp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2137/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2137/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2136
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2136/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2136/comments
https://api.github.com/repos/huggingface/transformers/issues/2136/events
https://github.com/huggingface/transformers/issues/2136
536,128,773
MDU6SXNzdWU1MzYxMjg3NzM=
2,136
is the tokenization broken for bert?
{ "login": "AdityaSoni19031997", "id": 22738086, "node_id": "MDQ6VXNlcjIyNzM4MDg2", "avatar_url": "https://avatars.githubusercontent.com/u/22738086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaSoni19031997", "html_url": "https://github.com/AdityaSoni19031997", "followers_url": "ht...
[]
closed
false
null
[]
[ "This should be fixed in the current master but not in a release AFAIK. See https://github.com/huggingface/transformers/issues/2132 and close this issue please.", "Okay thanks!" ]
1,576
1,576
1,576
CONTRIBUTOR
null
## 🐛 Bug <!-- Important information --> Model I am using is `bert-base-uncased`: Language I am using the model on (English): ## To Reproduce Steps to reproduce the behavior: 1. Just Ran the example from the docs ``` import torch from transformers import BertTokenizer, BertModel, BertForMaskedLM ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2136/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2136/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2135
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2135/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2135/comments
https://api.github.com/repos/huggingface/transformers/issues/2135/events
https://github.com/huggingface/transformers/issues/2135
536,111,524
MDU6SXNzdWU1MzYxMTE1MjQ=
2,135
Is there support for TensorflowJs?
{ "login": "hamletbatista", "id": 1514243, "node_id": "MDQ6VXNlcjE1MTQyNDM=", "avatar_url": "https://avatars.githubusercontent.com/u/1514243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hamletbatista", "html_url": "https://github.com/hamletbatista", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "My understanding is that tfjs is still kinda unstable so you’d be better off bringing that issue there.\r\n\r\nThat being said, @Pierrci has tried to do similar stuff so might be able to chime in.", "thanks, @julien-c I will repost there. Do you think I could have better luck if I try this with torchjs instead? ...
1,576
1,576
1,576
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> I managed to save my tenforflow 2.0 model and I see keras .h5 and config.json files. When I run the tensorflowjs converter it seems to run with no issues. !tensorflowjs_converter --input_format=keras save/tf_model.h5 save/tfjs_mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2135/reactions", "total_count": 9, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 6 }
https://api.github.com/repos/huggingface/transformers/issues/2135/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2134
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2134/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2134/comments
https://api.github.com/repos/huggingface/transformers/issues/2134/events
https://github.com/huggingface/transformers/pull/2134
536,111,273
MDExOlB1bGxSZXF1ZXN0MzUxNzAwNTk4
2,134
closes #1960 Add saving and resuming functionality for remaining examples
{ "login": "bilal2vec", "id": 29356759, "node_id": "MDQ6VXNlcjI5MzU2NzU5", "avatar_url": "https://avatars.githubusercontent.com/u/29356759?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bilal2vec", "html_url": "https://github.com/bilal2vec", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2134?src=pr&el=h1) Report\n> Merging [#2134](https://codecov.io/gh/huggingface/transformers/pull/2134?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/18601c3b6e46e05c4a78303a9e6036f795f82180?src=pr&el=desc) will **d...
1,576
1,576
1,576
CONTRIBUTOR
null
#1987 was merged in before I could update the other pytorch examples. This should also close #1960 once it's merged in.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2134/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2134/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2134", "html_url": "https://github.com/huggingface/transformers/pull/2134", "diff_url": "https://github.com/huggingface/transformers/pull/2134.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2134.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2133
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2133/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2133/comments
https://api.github.com/repos/huggingface/transformers/issues/2133/events
https://github.com/huggingface/transformers/issues/2133
536,069,813
MDU6SXNzdWU1MzYwNjk4MTM=
2,133
Refactor functionality of run_squad and squad_utils into XXXForQuestionAnswering
{ "login": "waalge", "id": 47293755, "node_id": "MDQ6VXNlcjQ3MjkzNzU1", "avatar_url": "https://avatars.githubusercontent.com/u/47293755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/waalge", "html_url": "https://github.com/waalge", "followers_url": "https://api.github.com/users/waalge/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": "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...
[ "Thanks a lot for your input. We're trying to continually improve our training scripts and would like to keep them efficient while keeping them understandable.\r\n\r\nAs you have noticed, we have recently refactored the glue and squad scripts somewhat, and will continue to do so. Your input is appreciated and we're...
1,576
1,581
1,581
NONE
null
## Request Push some/most/all the functionality of the squad training scripts into the class ``XXXForQuestionAnswering``. ## Alt Request. I'm guessing this is immediately objectionable, since ``XXXForQuestionAnswering`` is just the nice clean NN. No messy string manipulation functions welcome here. So pe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2133/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2133/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2132
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2132/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2132/comments
https://api.github.com/repos/huggingface/transformers/issues/2132/events
https://github.com/huggingface/transformers/issues/2132
536,060,620
MDU6SXNzdWU1MzYwNjA2MjA=
2,132
`bert-base-uncased` tokenizer broke around special tokens in v2.2.1
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[]
closed
false
null
[]
[ "`git bisect` says the commit introducing this problem is 7246d3c2f93c4461f3ec8ada7a26a002d8f196ea.", "Any way you could run the same test on `master`? It might have been fixed since.", "I did. It was not fixed in master.\n\nIt only affects the [MASK] token.\n\nOn Tue, Dec 10, 2019, 16:25 Julien Chaumond <notif...
1,576
1,576
1,576
CONTRIBUTOR
null
In `v2.2.1`, the `bert-base-uncased` tokenizer changed in a way that's probably not intentional: ``` Python 3.7.5 (default, Oct 25 2019, 10:52:18) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from transformers.tokeni...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2132/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2132/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2131
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2131/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2131/comments
https://api.github.com/repos/huggingface/transformers/issues/2131/events
https://github.com/huggingface/transformers/pull/2131
535,984,807
MDExOlB1bGxSZXF1ZXN0MzUxNTk2NTc0
2,131
[AB-219] Progress bar
{ "login": "mttcnnff", "id": 17532157, "node_id": "MDQ6VXNlcjE3NTMyMTU3", "avatar_url": "https://avatars.githubusercontent.com/u/17532157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mttcnnff", "html_url": "https://github.com/mttcnnff", "followers_url": "https://api.github.com/users/mtt...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2131?src=pr&el=h1) Report\n> Merging [#2131](https://codecov.io/gh/huggingface/transformers/pull/2131?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6a73382706ce3c6905023872f63a680f0eb419a4?src=pr&el=desc) will **d...
1,576
1,576
1,576
NONE
null
## This PR: - adds progress bars to tokenization
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2131/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2131/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2131", "html_url": "https://github.com/huggingface/transformers/pull/2131", "diff_url": "https://github.com/huggingface/transformers/pull/2131.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2131.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/2130
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2130/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2130/comments
https://api.github.com/repos/huggingface/transformers/issues/2130/events
https://github.com/huggingface/transformers/pull/2130
535,984,308
MDExOlB1bGxSZXF1ZXN0MzUxNTk2MTY1
2,130
[BREAKING CHANGE] Setting all ignored index to the PyTorch standard
{ "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/2130?src=pr&el=h1) Report\n> Merging [#2130](https://codecov.io/gh/huggingface/transformers/pull/2130?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6a73382706ce3c6905023872f63a680f0eb419a4?src=pr&el=desc) will **d...
1,576
1,651
1,576
MEMBER
null
The CrossEntropy loss, as well as other losses, accept a value as an index they will ignore when computing the loss. This value was set to -1 in some cases, but left to the default value (-100) in other cases. To stay consistent we're setting the value to be the default PyTorch one in all cases. Includes a few do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2130/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2130/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2130", "html_url": "https://github.com/huggingface/transformers/pull/2130", "diff_url": "https://github.com/huggingface/transformers/pull/2130.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2130.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2129
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2129/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2129/comments
https://api.github.com/repos/huggingface/transformers/issues/2129/events
https://github.com/huggingface/transformers/pull/2129
535,948,070
MDExOlB1bGxSZXF1ZXN0MzUxNTY1Mjgw
2,129
Progress indicator improvements when downloading pre-trained models.
{ "login": "leopd", "id": 193183, "node_id": "MDQ6VXNlcjE5MzE4Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/193183?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leopd", "html_url": "https://github.com/leopd", "followers_url": "https://api.github.com/users/leopd/followers"...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2129?src=pr&el=h1) Report\n> Merging [#2129](https://codecov.io/gh/huggingface/transformers/pull/2129?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6a73382706ce3c6905023872f63a680f0eb419a4?src=pr&el=desc) will **n...
1,576
1,579
1,576
NONE
null
Downloading GPT2-XL can take a while. If you're not expecting it, the current progress bar can be confusing. It looks like this: ``` 4%|▉ | 257561600/6431878936 [00:33<16:12, 6351328.14B/s] ``` With this change, the progress bar is much more readable: ``` Downloading: 3%|▋ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2129/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2129/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2129", "html_url": "https://github.com/huggingface/transformers/pull/2129", "diff_url": "https://github.com/huggingface/transformers/pull/2129.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2129.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2128
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2128/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2128/comments
https://api.github.com/repos/huggingface/transformers/issues/2128/events
https://github.com/huggingface/transformers/issues/2128
535,940,115
MDU6SXNzdWU1MzU5NDAxMTU=
2,128
In which directory the downloaded roberta-base models will be stored on linux server conda environment
{ "login": "jonanem", "id": 14140685, "node_id": "MDQ6VXNlcjE0MTQwNjg1", "avatar_url": "https://avatars.githubusercontent.com/u/14140685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonanem", "html_url": "https://github.com/jonanem", "followers_url": "https://api.github.com/users/jonane...
[ { "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
[]
[ "Models downloaded with the `XXXModel.from_pretrained` method are usually in the torch home folder, which is `~/.cache/torch/transformers`", "Thanks for your response. I could see there are some files with below names\r\nb35e7cd126cd4229a746b5d5c29a749e8e84438b14bcdb575950584fe33207e8.70bec105b4158ed9a1747fea67a4...
1,576
1,612
1,583
NONE
null
## In which directory the downloaded roberta-base models will be stored on linux server conda environment
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2128/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2128/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2127
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2127/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2127/comments
https://api.github.com/repos/huggingface/transformers/issues/2127/events
https://github.com/huggingface/transformers/issues/2127
535,870,276
MDU6SXNzdWU1MzU4NzAyNzY=
2,127
Where is extract_features.py and run_classifier.py ?
{ "login": "JiangYanting", "id": 44471391, "node_id": "MDQ6VXNlcjQ0NDcxMzkx", "avatar_url": "https://avatars.githubusercontent.com/u/44471391?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JiangYanting", "html_url": "https://github.com/JiangYanting", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Reading the answer given by @thomwolf in #1123, I'm sure that `extract_features.py` script has been removed from repo, but in the future it could be updated!\r\n\r\nReading the answer given by @ningjize in #1011, I'm sure that `run_classifier.py` script has been updated as `run_glue.py` script, that you can find i...
1,575
1,576
1,576
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. --> Hello! I couldn't find the extract_features.py and run_classifier.py. Have they been renamed ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2127/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2127/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2126
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2126/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2126/comments
https://api.github.com/repos/huggingface/transformers/issues/2126/events
https://github.com/huggingface/transformers/issues/2126
535,844,695
MDU6SXNzdWU1MzU4NDQ2OTU=
2,126
Model2Model: RuntimeError: expected device cpu and dtype Float but got device cpu and dtype Bool
{ "login": "amirj", "id": 1645137, "node_id": "MDQ6VXNlcjE2NDUxMzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1645137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amirj", "html_url": "https://github.com/amirj", "followers_url": "https://api.github.com/users/amirj/follower...
[]
closed
false
null
[]
[ "In my environment, the code you've posted **works as expected**.\r\n- Python: 3.6.9\r\n- Transformers: 2.2.1 (installed from PyPi with pip install transformers)\r\n- PyTorch: 1.3.1\r\n- TensorFlow: 2.0\r\n- OS: Ubuntu 16.04\r\n\r\nHere the stack trace:\r\n```\r\nPython 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019,...
1,575
1,575
1,575
NONE
null
## ❓ Questions & Help I'm going to try the new Model2Model feature: ``` import torch import numpy as np from transformers import Model2Model, BertTokenizer, BertModel # device = torch.device("cuda" if torch.cuda.is_available() else "cpu") device = torch.device("cpu") tokenizer = BertTokenizer.from_pretr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2126/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/2126/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2125
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2125/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2125/comments
https://api.github.com/repos/huggingface/transformers/issues/2125/events
https://github.com/huggingface/transformers/issues/2125
535,810,897
MDU6SXNzdWU1MzU4MTA4OTc=
2,125
DistilmBERT training/distillation dataset
{ "login": "mbant", "id": 42407285, "node_id": "MDQ6VXNlcjQyNDA3Mjg1", "avatar_url": "https://avatars.githubusercontent.com/u/42407285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mbant", "html_url": "https://github.com/mbant", "followers_url": "https://api.github.com/users/mbant/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
[]
[ "By reading the [official docs](https://github.com/huggingface/transformers/tree/master/examples/distillation), I think that they have trained Distil**m**BERT . For what concern the pre-processing steps, there are no information about that (surely I'm interested in these steps too). It would be more useful and prec...
1,575
1,582
1,582
NONE
null
## ❓ Questions & Help Thanks a lot for Distil**m**BERT (amongst everything else), is there any info on the dataset used in the distillation process? Both the dataset itself or the process used to obtain it would be greatly appreciated! Am I right to assume you used a similar (if not the same) data as the ori...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2125/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2125/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2124
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2124/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2124/comments
https://api.github.com/repos/huggingface/transformers/issues/2124/events
https://github.com/huggingface/transformers/issues/2124
535,761,421
MDU6SXNzdWU1MzU3NjE0MjE=
2,124
Is there a way to evaluate models during training in Multi-gpu setting
{ "login": "ereday", "id": 13196191, "node_id": "MDQ6VXNlcjEzMTk2MTkx", "avatar_url": "https://avatars.githubusercontent.com/u/13196191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ereday", "html_url": "https://github.com/ereday", "followers_url": "https://api.github.com/users/ereday/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Yes. After each batch has been completed by a GPU, you can store its results and corresponding labels in a shared space (e.g. CPU/memory). Then, when all batches are done, you can evaluate the epoch by calculating your metric/avg loss over all gathered results. It has been suggested to only keep track of the batch...
1,575
1,609
1,581
NONE
null
## ❓ Questions & Help Hi all, I always see comments in examples saying that "when single GPU otherwise metrics may not average well". So is this really something that shouldn't be done? I mean, is there a way to evaluate the model safely after each epoch in the multi-gpu training setting? Thanks. <!-- A clear and ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2124/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/2124/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2123
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2123/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2123/comments
https://api.github.com/repos/huggingface/transformers/issues/2123/events
https://github.com/huggingface/transformers/issues/2123
535,749,750
MDU6SXNzdWU1MzU3NDk3NTA=
2,123
Transformers for Tabular data extraction - e.g., wikitables
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "f...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,575
1,619
1,619
NONE
null
Hi Team, Can you please let us know if Transformers can be used to extract information from tabular data. Example is - [https://demo.allennlp.org/wikitables-parser](https://demo.allennlp.org/wikitables-parser) . WikiTables is the dataset. Example questions can be: show me all students who got marks greater than 4...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2123/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2123/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2122
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2122/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2122/comments
https://api.github.com/repos/huggingface/transformers/issues/2122/events
https://github.com/huggingface/transformers/pull/2122
535,744,737
MDExOlB1bGxSZXF1ZXN0MzUxNDAyMjMw
2,122
Remove misplaced summarization documentation
{ "login": "rlouf", "id": 3885044, "node_id": "MDQ6VXNlcjM4ODUwNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3885044?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlouf", "html_url": "https://github.com/rlouf", "followers_url": "https://api.github.com/users/rlouf/follower...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2122?src=pr&el=h1) Report\n> Merging [#2122](https://codecov.io/gh/huggingface/transformers/pull/2122?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e57d00ee108595375504eb21c230ce35428aae5e?src=pr&el=desc) will **n...
1,575
1,575
1,575
CONTRIBUTOR
null
Documentation for the previous version of abstractive summarization is still present in the repository: https://twitter.com/DavidMezzetti/status/1204123548966621184 This PR removes it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2122/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2122/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2122", "html_url": "https://github.com/huggingface/transformers/pull/2122", "diff_url": "https://github.com/huggingface/transformers/pull/2122.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2122.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2121
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2121/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2121/comments
https://api.github.com/repos/huggingface/transformers/issues/2121/events
https://github.com/huggingface/transformers/issues/2121
535,593,876
MDU6SXNzdWU1MzU1OTM4NzY=
2,121
"Write With Transformer" interface returning 502 on gpt2/xl model
{ "login": "scottlingran", "id": 1214700, "node_id": "MDQ6VXNlcjEyMTQ3MDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1214700?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scottlingran", "html_url": "https://github.com/scottlingran", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[]
1,575
1,576
1,576
NONE
null
## 🐛 Bug The "Write With Transformer" interface is returning a `502` when the API calls the gpt2/xl model. See: https://transformer.huggingface.co/doc/gpt2-xl ## To Reproduce Steps to reproduce the behavior just using the API request: ``` curl 'https://transformer.huggingface.co/autocomplete/gpt2/xl' -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2121/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2121/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2120
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2120/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2120/comments
https://api.github.com/repos/huggingface/transformers/issues/2120/events
https://github.com/huggingface/transformers/issues/2120
535,551,148
MDU6SXNzdWU1MzU1NTExNDg=
2,120
BertModel.from_pretrained() doesn't accept pathlib.PosixPath anymore
{ "login": "koichikawamura", "id": 1854961, "node_id": "MDQ6VXNlcjE4NTQ5NjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1854961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/koichikawamura", "html_url": "https://github.com/koichikawamura", "followers_url": "https://api.gith...
[ { "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
[]
[ "It comes from this line https://github.com/huggingface/transformers/blob/master/transformers/modeling_utils.py#L321-L324\r\nIf it's a PosixPath, it's not an iterable so `\"albert\" in path` crashes.\r\nPatch already pushed in previous PR!", "This issue has been automatically marked as stale because it has not ha...
1,575
1,581
1,581
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Bert Language I am using the model on (English, Chinese....): Japanese The problem arise when using: * [ ] the official example scripts: (give details) * [x] my own modified scripts: (give details) The tasks I am working on is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2120/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2120/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2119
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2119/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2119/comments
https://api.github.com/repos/huggingface/transformers/issues/2119/events
https://github.com/huggingface/transformers/issues/2119
535,491,079
MDU6SXNzdWU1MzU0OTEwNzk=
2,119
Finetune and generate text with BertForMaskedLM
{ "login": "vdperera", "id": 58605092, "node_id": "MDQ6VXNlcjU4NjA1MDky", "avatar_url": "https://avatars.githubusercontent.com/u/58605092?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdperera", "html_url": "https://github.com/vdperera", "followers_url": "https://api.github.com/users/vdp...
[ { "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", "did you find a solution?", "Hi, I am also encountering this problem. Is it possible to please provide an example for fine tuning Bert...
1,575
1,594
1,581
NONE
null
## ❓ Questions & Help I am trying to fine-tune and generate text using BertForMaskedLM. Although my script works I am not getting the output I am expecting. I am confused on what should I pass to BertForMaskedLM when training (attention mask, token types ids, etc) and how to generate text once the model is fine tune...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2119/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2119/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2118
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2118/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2118/comments
https://api.github.com/repos/huggingface/transformers/issues/2118/events
https://github.com/huggingface/transformers/issues/2118
535,479,745
MDU6SXNzdWU1MzU0Nzk3NDU=
2,118
Could convert_pytorch_checkpoint_to_tf2.py convert any pytorch model to tf2?
{ "login": "xealml", "id": 12672103, "node_id": "MDQ6VXNlcjEyNjcyMTAz", "avatar_url": "https://avatars.githubusercontent.com/u/12672103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xealml", "html_url": "https://github.com/xealml", "followers_url": "https://api.github.com/users/xealml/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I think **no**. You can use this Python script to convert a PyTorch implementation of one of the models supported by Transformers to TensorFlow 2.0 version.\r\n\r\nHave you ever tried to use this Python script to convert **any** PyTorch model to TensorFlow 2.0?\r\n\r\n> ## Questions & Help", "@TheEdoardo93 No,h...
1,575
1,581
1,581
NONE
null
## ❓ Questions & Help <!-- A clear and concise description of the question. -->
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2118/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2117
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2117/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2117/comments
https://api.github.com/repos/huggingface/transformers/issues/2117/events
https://github.com/huggingface/transformers/issues/2117
535,471,896
MDU6SXNzdWU1MzU0NzE4OTY=
2,117
Encoder-decoders in Transformers
{ "login": "anandhperumal", "id": 12907396, "node_id": "MDQ6VXNlcjEyOTA3Mzk2", "avatar_url": "https://avatars.githubusercontent.com/u/12907396?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anandhperumal", "html_url": "https://github.com/anandhperumal", "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
{ "login": "rlouf", "id": 3885044, "node_id": "MDQ6VXNlcjM4ODUwNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3885044?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlouf", "html_url": "https://github.com/rlouf", "followers_url": "https://api.github.com/users/rlouf/follower...
[ { "login": "rlouf", "id": 3885044, "node_id": "MDQ6VXNlcjM4ODUwNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3885044?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlouf", "html_url": "https://github.com/rlouf", "followers_url": "https://api.github.com/...
[ "Hi @anandhperumal,\r\n\r\nThank you for posting an issue. Just to clarify:\r\n\r\n1. Indeed, as I specified in the article, `PreTrainedEncoderDecoder` only works with BERT as an encoder and BERT as a decoder. GPT2 shouldn't take too much work to adapt, but we haven't had the time to do it yet. Try `PreTrainedEncod...
1,575
1,597
1,592
NONE
null
## 🐛 Bug <!-- Important information --> Model I am using (Bert, XLNet....): Language I am using the model on (English, Chinese....): The problem arise when using: * [X ] the official example scripts: (give details) * [ ] my own modified scripts: (give details) The tasks I am working on is: * [ ] an o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2117/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/2117/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2116
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2116/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2116/comments
https://api.github.com/repos/huggingface/transformers/issues/2116/events
https://github.com/huggingface/transformers/issues/2116
535,459,196
MDU6SXNzdWU1MzU0NTkxOTY=
2,116
Couldn't reach server at '{}' to download vocabulary files.
{ "login": "venusafroid", "id": 46549829, "node_id": "MDQ6VXNlcjQ2NTQ5ODI5", "avatar_url": "https://avatars.githubusercontent.com/u/46549829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/venusafroid", "html_url": "https://github.com/venusafroid", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Did you find out what the problem was @venusafroid ?", "> Did you find out what the problem was @venusafroid ?\r\n\r\nI think op had a problem connecting to s3 as shown in the log\r\n```\r\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url:...
1,575
1,593
1,575
NONE
null
Traceback (most recent call last): File "/home/hgy/anaconda3/envs/pytorch-python3/lib/python3.6/site-packages/urllib3/connection.py", line 157, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/hgy/anaconda3/envs/pytorch-python3/lib/python3.6/site-packages/urllib3/util/connection...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2116/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/2116/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2115
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2115/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2115/comments
https://api.github.com/repos/huggingface/transformers/issues/2115/events
https://github.com/huggingface/transformers/pull/2115
535,456,054
MDExOlB1bGxSZXF1ZXN0MzUxMTcwMjYz
2,115
[WIP] Add MMBT Model to Transformers Repo
{ "login": "suvrat96", "id": 5303204, "node_id": "MDQ6VXNlcjUzMDMyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5303204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suvrat96", "html_url": "https://github.com/suvrat96", "followers_url": "https://api.github.com/users/suvra...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/2115?src=pr&el=h1) Report\n> Merging [#2115](https://codecov.io/gh/huggingface/transformers/pull/2115?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1d189304624db17749aee23fa2345f009cc48215?src=pr&el=desc) will **d...
1,575
1,585
1,576
NONE
null
Implements the MMBT Model from Supervised Multimodal Bitransformers for Classifying Images and Text by Douwe Kiela, Suvrat Bhooshan, Hamed Firooz, Davide Testuggine (https://arxiv.org/abs/1909.02950) (https://github.com/facebookresearch/mmbt/) Adds run_mmimdb.py to show example training run on MM-IMDb dataset (http:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2115/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2115/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2115", "html_url": "https://github.com/huggingface/transformers/pull/2115", "diff_url": "https://github.com/huggingface/transformers/pull/2115.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2115.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/2114
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2114/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2114/comments
https://api.github.com/repos/huggingface/transformers/issues/2114/events
https://github.com/huggingface/transformers/issues/2114
535,193,475
MDU6SXNzdWU1MzUxOTM0NzU=
2,114
Split models to multiple GPUs
{ "login": "dkajtoch", "id": 32985207, "node_id": "MDQ6VXNlcjMyOTg1MjA3", "avatar_url": "https://avatars.githubusercontent.com/u/32985207?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dkajtoch", "html_url": "https://github.com/dkajtoch", "followers_url": "https://api.github.com/users/dka...
[]
closed
false
null
[]
[ "Indeed, as of now we don't support model splitting across different GPUs. However, I believe Tesla P100s have 16gb (or 12?) of VRAM and GPT-2 XL fits in ~7-8gb of VRAM. Do you get an OOM error when loading GPT-2 large in memory?", "Thanks @LysandreJik. I trained gpt2-medium and it took almost the whole ram ~15gb...
1,575
1,576
1,576
NONE
null
I am willing to fine-tune GPT2-large which simply does not fit into GPU memory. I wanted to run the script `run_lm_finetuning.py` with GPT2-large having two Nvidia Tesla P100, but I suppose model splitting in not supported. Or am I wrong?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2114/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/2113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2113/comments
https://api.github.com/repos/huggingface/transformers/issues/2113/events
https://github.com/huggingface/transformers/issues/2113
535,083,709
MDU6SXNzdWU1MzUwODM3MDk=
2,113
Running run_lm_finetuning.py within python
{ "login": "aclifton314", "id": 53267795, "node_id": "MDQ6VXNlcjUzMjY3Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aclifton314", "html_url": "https://github.com/aclifton314", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "You have two choices:\r\n- transform the code into `run_lm_finetuning.py` as Python functions and use them (I think it's **the most elegant solution**). In order to do that, you've to convert the `main` method with `argparse` arguments to a method without `argparse` and after that you can use the script as given\r...
1,575
1,575
1,575
NONE
null
## Setup * Model: roberta-base * Language: english * OS: Ubuntu 18.04.3 * Python version: 3.7.3 * PyTorch version: 1.3.1+cpu * PyTorch Transformers version (or branch): 2.2.0 * Using GPU ? No * Distributed of parallel setup ? No * Script inputs: ``` python run_lm_finetuning.py \ --output_dir=$OUTPUT_DIR \ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/2113/timeline
completed
null
null