Dataset Viewer
Auto-converted to Parquet Duplicate
url
large_stringlengths
62
66
repository_url
large_stringclasses
1 value
labels_url
large_stringlengths
76
80
comments_url
large_stringlengths
71
75
events_url
large_stringlengths
69
73
html_url
large_stringlengths
50
56
id
int64
377M
4.92B
node_id
large_stringlengths
18
32
number
int64
1
47.4k
title
large_stringlengths
1
487
user
dict
labels
listlengths
0
6
state
large_stringclasses
2 values
locked
bool
2 classes
assignees
listlengths
0
8
milestone
float64
comments
int64
0
163
created_at
timestamp[us, tz=UTC]date
2018-11-03 14:10:20
2026-07-19 13:54:26
updated_at
timestamp[us, tz=UTC]date
2018-11-04 00:35:08
2026-07-19 16:29:50
closed_at
timestamp[us, tz=UTC]date
2018-11-03 14:10:35
2026-07-19 08:47:10
assignee
dict
author_association
large_stringclasses
4 values
issue_field_values
listlengths
0
0
type
dict
active_lock_reason
large_stringclasses
2 values
draft
float64
0
1
pull_request
dict
body
large_stringlengths
0
234k
closed_by
dict
reactions
dict
timeline_url
large_stringlengths
71
75
performed_via_github_app
float64
state_reason
large_stringclasses
4 values
sub_issues_summary
dict
issue_dependencies_summary
dict
pinned_comment
float64
parent_issue_url
large_stringclasses
2 values
is_pull_request
bool
2 classes
comments_text
listlengths
0
100
https://api.github.com/repos/huggingface/transformers/issues/1
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/1/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/1/comments
https://api.github.com/repos/huggingface/transformers/issues/1/events
https://github.com/huggingface/transformers/pull/1
377,057,813
MDExOlB1bGxSZXF1ZXN0MjI4MTIwMzcx
1
Create DataParallel model if several GPUs
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
0
2018-11-03T14:10:20
2018-11-04T00:35:08
2018-11-03T14:10:35
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/1", "html_url": "https://github.com/huggingface/transformers/pull/1", "diff_url": "https://github.com/huggingface/transformers/pull/1.diff", "patch_url": "https://github.com/huggingface/transformers/pull/1.patch", "merged_at": "2018-11-03T1...
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/1/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/1/timeline
null
null
null
null
null
null
true
[]
https://api.github.com/repos/huggingface/transformers/issues/4
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4/comments
https://api.github.com/repos/huggingface/transformers/issues/4/events
https://github.com/huggingface/transformers/pull/4
377,620,943
MDExOlB1bGxSZXF1ZXN0MjI4NTIxMjA3
4
Fix typo in subheader BertForQuestionAnswering
{ "login": "knutole", "id": 2197944, "node_id": "MDQ6VXNlcjIxOTc5NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2197944?v=4", "gravatar_id": "", "url": "https://api.github.com/users/knutole", "html_url": "https://github.com/knutole", "followers_url": "https://api.github.com/users/knutole/...
[]
closed
false
[]
null
1
2018-11-05T23:04:03
2018-11-05T23:34:30
2018-11-05T23:34:18
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4", "html_url": "https://github.com/huggingface/transformers/pull/4", "diff_url": "https://github.com/huggingface/transformers/pull/4.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4.patch", "merged_at": "2018-11-05T2...
Should say `BertForQuestionAnswering`, but says `BertForSequenceClassification`.
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4/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/4/timeline
null
null
null
null
null
null
true
[ "exact thanks !" ]
https://api.github.com/repos/huggingface/transformers/issues/6
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6/comments
https://api.github.com/repos/huggingface/transformers/issues/6/events
https://github.com/huggingface/transformers/issues/6
377,736,844
MDU6SXNzdWUzNzc3MzY4NDQ=
6
Failure during pytest (and solution for python3)
{ "login": "dandelin", "id": 3676247, "node_id": "MDQ6VXNlcjM2NzYyNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/3676247?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dandelin", "html_url": "https://github.com/dandelin", "followers_url": "https://api.github.com/users/dande...
[]
closed
false
[]
null
1
2018-11-06T08:23:29
2018-11-07T23:43:42
2018-11-07T23:43:42
null
CONTRIBUTOR
[]
null
null
null
null
``` foo@bar:~/foo/bar/pytorch-pretrained-BERT$ pytest -sv ./tests/ ===================================================================================================================== test session starts =================================================================================================================...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6/reactions", "total_count": 4, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Thanks, I update the readme." ]
https://api.github.com/repos/huggingface/transformers/issues/5
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5/comments
https://api.github.com/repos/huggingface/transformers/issues/5/events
https://github.com/huggingface/transformers/issues/5
377,698,378
MDU6SXNzdWUzNzc2OTgzNzg=
5
MRPC hyperparameters question
{ "login": "ethanjperez", "id": 6402205, "node_id": "MDQ6VXNlcjY0MDIyMDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethanjperez", "html_url": "https://github.com/ethanjperez", "followers_url": "https://api.github.com/us...
[]
closed
false
[]
null
5
2018-11-06T05:30:36
2018-11-08T02:04:37
2018-11-07T23:42:51
null
CONTRIBUTOR
[]
null
null
null
null
When describing how you reproduced the MRPC results, you say: "Our test ran on a few seeds with the original implementation hyper-parameters gave evaluation results between 82 and 87." and you link to the SQuAD hyperparameters (https://github.com/google-research/bert#squad). Is the link a mistake? Or did you use t...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5/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/5/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi Ethan,\r\nThanks we used the MRPC hyper-parameters indeed, I corrected the README.\r\nRegarding the dev set accuracy, I am not really surprised there is a slightly lower accuracy with the PyTorch version (even though the variance is high so it's hard to get something significant). That is something that is gene...
https://api.github.com/repos/huggingface/transformers/issues/8
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8/comments
https://api.github.com/repos/huggingface/transformers/issues/8/events
https://github.com/huggingface/transformers/pull/8
378,859,647
MDExOlB1bGxSZXF1ZXN0MjI5NDY0MjQ5
8
fixed small typos in the README.md
{ "login": "gokriznastic", "id": 14166854, "node_id": "MDQ6VXNlcjE0MTY2ODU0", "avatar_url": "https://avatars.githubusercontent.com/u/14166854?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gokriznastic", "html_url": "https://github.com/gokriznastic", "followers_url": "https://api.github.c...
[]
closed
false
[]
null
1
2018-11-08T18:24:27
2018-11-08T20:00:10
2018-11-08T20:00:02
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8", "html_url": "https://github.com/huggingface/transformers/pull/8", "diff_url": "https://github.com/huggingface/transformers/pull/8.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8.patch", "merged_at": "2018-11-08T2...
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8/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/8/timeline
null
null
null
null
null
null
true
[ "Many thanks!" ]
https://api.github.com/repos/huggingface/transformers/issues/9
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9/comments
https://api.github.com/repos/huggingface/transformers/issues/9/events
https://github.com/huggingface/transformers/issues/9
378,935,595
MDU6SXNzdWUzNzg5MzU1OTU=
9
Crash at the end of training
{ "login": "bkgoksel", "id": 6436274, "node_id": "MDQ6VXNlcjY0MzYyNzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6436274?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bkgoksel", "html_url": "https://github.com/bkgoksel", "followers_url": "https://api.github.com/users/bkgok...
[]
closed
false
[]
null
2
2018-11-08T22:01:57
2018-11-09T08:17:26
2018-11-09T08:17:26
null
NONE
[]
null
null
null
null
Hi, I tried running the Squad model this morning (on a single GPU with gradient accumulation over 3 steps) but after 3 hours of training, my job failed with the following output: I was running the code, unmodified, from commit 3bfbc21376af691b912f3b6256bbeaf8e0046ba8 Is this an issue you know about? ``` 11/08/2...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9/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/9/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Here's the specific command I ran for more context: \r\n```\r\npython3.6 code/run_squad.py \\\r\n --bert_config_file bert/bert_config.json \\\r\n --vocab_file bert/vocab.txt \\\r\n --output_dir output \\\r\n --train_file data/original/train.json \\\r\n --predict_file data/original/dev.json \\\r\n --init_chec...
https://api.github.com/repos/huggingface/transformers/issues/12
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12/comments
https://api.github.com/repos/huggingface/transformers/issues/12/events
https://github.com/huggingface/transformers/issues/12
379,422,090
MDU6SXNzdWUzNzk0MjIwOTA=
12
py2 code
{ "login": "antxiaojun", "id": 44923827, "node_id": "MDQ6VXNlcjQ0OTIzODI3", "avatar_url": "https://avatars.githubusercontent.com/u/44923827?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antxiaojun", "html_url": "https://github.com/antxiaojun", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
1
2018-11-10T13:23:31
2018-11-10T15:06:35
2018-11-10T15:06:35
null
NONE
[]
null
null
null
null
if I convert code to python2 version of code, it can't converage ; Would you present py2 code?
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12/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/12/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, we won't provide a python 2 version but if you want to do a python 2/3 compatible version feel free to open a PR." ]
https://api.github.com/repos/huggingface/transformers/issues/13
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/13/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/13/comments
https://api.github.com/repos/huggingface/transformers/issues/13/events
https://github.com/huggingface/transformers/issues/13
379,440,759
MDU6SXNzdWUzNzk0NDA3NTk=
13
Bug in run_classifier.py
{ "login": "rawatprateek", "id": 32642916, "node_id": "MDQ6VXNlcjMyNjQyOTE2", "avatar_url": "https://avatars.githubusercontent.com/u/32642916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rawatprateek", "html_url": "https://github.com/rawatprateek", "followers_url": "https://api.github.c...
[]
closed
false
[]
null
0
2018-11-10T17:16:01
2018-11-10T17:49:15
2018-11-10T17:45:28
null
NONE
[]
null
null
null
null
If I am running only evaluation and not training, there are errors as tr_loss and nb_tr_steps are undefined.
{ "login": "rawatprateek", "id": 32642916, "node_id": "MDQ6VXNlcjMyNjQyOTE2", "avatar_url": "https://avatars.githubusercontent.com/u/32642916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rawatprateek", "html_url": "https://github.com/rawatprateek", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/13/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/13/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[]
https://api.github.com/repos/huggingface/transformers/issues/2
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/2/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/2/comments
https://api.github.com/repos/huggingface/transformers/issues/2/events
https://github.com/huggingface/transformers/pull/2
377,592,526
MDExOlB1bGxSZXF1ZXN0MjI4NDk5Mjc3
2
Port tokenization for the multilingual model
{ "login": "elyase", "id": 1175888, "node_id": "MDQ6VXNlcjExNzU4ODg=", "avatar_url": "https://avatars.githubusercontent.com/u/1175888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elyase", "html_url": "https://github.com/elyase", "followers_url": "https://api.github.com/users/elyase/foll...
[]
closed
false
[]
null
1
2018-11-05T21:35:36
2018-11-10T21:27:57
2018-11-10T21:27:46
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/2", "html_url": "https://github.com/huggingface/transformers/pull/2", "diff_url": "https://github.com/huggingface/transformers/pull/2.diff", "patch_url": "https://github.com/huggingface/transformers/pull/2.patch", "merged_at": "2018-11-10T2...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/2/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/2/timeline
null
null
null
null
null
null
true
[ "Thanks for that, sorry for the delay" ]
https://api.github.com/repos/huggingface/transformers/issues/14
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14/comments
https://api.github.com/repos/huggingface/transformers/issues/14/events
https://github.com/huggingface/transformers/pull/14
379,587,417
MDExOlB1bGxSZXF1ZXN0MjI5OTk0NDY2
14
fixed typo
{ "login": "kornosk", "id": 15230011, "node_id": "MDQ6VXNlcjE1MjMwMDEx", "avatar_url": "https://avatars.githubusercontent.com/u/15230011?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kornosk", "html_url": "https://github.com/kornosk", "followers_url": "https://api.github.com/users/kornos...
[]
closed
false
[]
null
1
2018-11-12T01:18:24
2018-11-12T07:36:04
2018-11-12T07:36:04
null
NONE
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14", "html_url": "https://github.com/huggingface/transformers/pull/14", "diff_url": "https://github.com/huggingface/transformers/pull/14.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14.patch", "merged_at": null }
When test with SQuAD
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14/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/14/timeline
null
null
null
null
null
null
true
[ "Hi,\r\nThanks for the PR, we don't want to add a shell script to the repo.\r\nI will correct the typo,\r\nBest,\r\nThom" ]
https://api.github.com/repos/huggingface/transformers/issues/3
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3/comments
https://api.github.com/repos/huggingface/transformers/issues/3/events
https://github.com/huggingface/transformers/issues/3
377,592,631
MDU6SXNzdWUzNzc1OTI2MzE=
3
run_squad questions
{ "login": "ZhaoyueCheng", "id": 3590333, "node_id": "MDQ6VXNlcjM1OTAzMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/3590333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZhaoyueCheng", "html_url": "https://github.com/ZhaoyueCheng", "followers_url": "https://api.github.com...
[]
closed
false
[ { "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.gi...
null
15
2018-11-05T21:35:51
2018-11-12T13:59:43
2018-11-07T22:37:09
{ "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...
NONE
[]
null
null
null
null
Thanks a lot for the port! I have some minor questions, for the run_squad file, I see two options for accumulating gradients, accumulate_gradients and gradient_accumulation_steps but it seems to me that it can be combined into one. The other one is for the global_step variable, seems we are only counting but not using ...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3/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/3/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "It also seems to me that the SQuAD 1.1 can not reproduce the google tensorflow version performance.", "> It also seems to me that the SQuAD 1.1 can not reproduce the google tensorflow version performance.\r\n\r\nWhat batch size are you running?", "I'm running on 4 GPU with a batch size of 48, the result is {\"...
https://api.github.com/repos/huggingface/transformers/issues/15
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15/comments
https://api.github.com/repos/huggingface/transformers/issues/15/events
https://github.com/huggingface/transformers/issues/15
380,271,134
MDU6SXNzdWUzODAyNzExMzQ=
15
activation function in BERTIntermediate
{ "login": "lukovnikov", "id": 1732910, "node_id": "MDQ6VXNlcjE3MzI5MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1732910?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lukovnikov", "html_url": "https://github.com/lukovnikov", "followers_url": "https://api.github.com/users...
[]
closed
false
[]
null
4
2018-11-13T15:09:33
2018-11-13T15:18:30
2018-11-13T15:17:39
null
CONTRIBUTOR
[]
null
null
null
null
BERTConfig is not used for `BERTIntermediate`'s activation function. `intermediate_act_fn` is always `gelu`. Is this normal? https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/modeling.py#L240
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15/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/15/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Yes, I hard coded that since the pre-trained models are all trained with gelu anyway.", "ok. but since config is there anyway, isn't it cleaner to use it (to avoid errors for people using configs that use a different activation for some reason) ?", "Yes we can, I'll change that in the coming first release (unl...
https://api.github.com/repos/huggingface/transformers/issues/16
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16/comments
https://api.github.com/repos/huggingface/transformers/issues/16/events
https://github.com/huggingface/transformers/pull/16
380,272,853
MDExOlB1bGxSZXF1ZXN0MjMwNTEwOTY4
16
Excluding AdamWeightDecayOptimizer internal variables from restoring
{ "login": "donatasrep", "id": 19597219, "node_id": "MDQ6VXNlcjE5NTk3MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/19597219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donatasrep", "html_url": "https://github.com/donatasrep", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
3
2018-11-13T15:13:18
2018-11-13T15:19:35
2018-11-13T15:19:29
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16", "html_url": "https://github.com/huggingface/transformers/pull/16", "diff_url": "https://github.com/huggingface/transformers/pull/16.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16.patch", "merged_at": "2018-11-...
I tried to use convert_tf_checkpoint_to_pytorch.py script to convert my pretrained model, but in order to do so, I had to make some minor tweaks. I thought I would share in case you find it useful.
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16/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/16/timeline
null
null
null
null
null
null
true
[ "Is your pre-trained model a TensorFlow model?", "Yes", "Nice, thanks for that!" ]
https://api.github.com/repos/huggingface/transformers/issues/17
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17/comments
https://api.github.com/repos/huggingface/transformers/issues/17/events
https://github.com/huggingface/transformers/pull/17
380,292,054
MDExOlB1bGxSZXF1ZXN0MjMwNTI2MTY0
17
activation function in BERTIntermediate
{ "login": "lukovnikov", "id": 1732910, "node_id": "MDQ6VXNlcjE3MzI5MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1732910?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lukovnikov", "html_url": "https://github.com/lukovnikov", "followers_url": "https://api.github.com/users...
[]
closed
false
[]
null
1
2018-11-13T15:47:46
2018-11-13T16:00:25
2018-11-13T16:00:10
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17", "html_url": "https://github.com/huggingface/transformers/pull/17", "diff_url": "https://github.com/huggingface/transformers/pull/17.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17.patch", "merged_at": "2018-11-...
Was previously hardcoded to gelu because pretrained BERT models use gelu. Changed to make BERTIntermediate use functions and "gelu", "relu" or "swish" from `config`.
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17/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/17/timeline
null
null
null
null
null
null
true
[ "Looks good, thanks for that!" ]
https://api.github.com/repos/huggingface/transformers/issues/29
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/29/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/29/comments
https://api.github.com/repos/huggingface/transformers/issues/29/events
https://github.com/huggingface/transformers/pull/29
381,853,838
MDExOlB1bGxSZXF1ZXN0MjMxNzIyMjU4
29
First release
{ "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
0
2018-11-17T11:19:41
2018-11-17T21:47:26
2018-11-17T11:21:49
null
MEMBER
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/29", "html_url": "https://github.com/huggingface/transformers/pull/29", "diff_url": "https://github.com/huggingface/transformers/pull/29.diff", "patch_url": "https://github.com/huggingface/transformers/pull/29.patch", "merged_at": "2018-11-...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/29/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/29/timeline
null
null
null
null
null
null
true
[]
https://api.github.com/repos/huggingface/transformers/issues/19
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/19/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/19/comments
https://api.github.com/repos/huggingface/transformers/issues/19/events
https://github.com/huggingface/transformers/issues/19
380,555,132
MDU6SXNzdWUzODA1NTUxMzI=
19
will you push the pytorch code for the pre-training process?
{ "login": "koukoulala", "id": 30341159, "node_id": "MDQ6VXNlcjMwMzQxMTU5", "avatar_url": "https://avatars.githubusercontent.com/u/30341159?v=4", "gravatar_id": "", "url": "https://api.github.com/users/koukoulala", "html_url": "https://github.com/koukoulala", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
1
2018-11-14T06:30:59
2018-11-17T21:55:41
2018-11-17T21:55:41
null
NONE
[]
null
null
null
null
Can you push the pytorch code for the pre-training process,such as MLM task, please? I really want to study, but I can't understand tensorflow, it's so complex. thanks!!!
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/19/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/19/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, I don't have plan for that in the near future." ]
https://api.github.com/repos/huggingface/transformers/issues/24
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24/comments
https://api.github.com/repos/huggingface/transformers/issues/24/events
https://github.com/huggingface/transformers/issues/24
381,387,717
MDU6SXNzdWUzODEzODc3MTc=
24
[Feature request] Port SQuAD 2.0 support
{ "login": "elyase", "id": 1175888, "node_id": "MDQ6VXNlcjExNzU4ODg=", "avatar_url": "https://avatars.githubusercontent.com/u/1175888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elyase", "html_url": "https://github.com/elyase", "followers_url": "https://api.github.com/users/elyase/foll...
[]
closed
false
[]
null
1
2018-11-15T23:47:04
2018-11-17T21:57:08
2018-11-17T21:57:07
null
CONTRIBUTOR
[]
null
null
null
null
Recently the Google team added support for Squad 2.0: https://github.com/google-research/bert/commit/60454702590a6c69bd45c5d4258c7e17b8a3e1da Would be great to also have it available in the Pytorch version.
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24/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/24/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, I don't have plan for that in the near future but feel free to open a PR." ]
https://api.github.com/repos/huggingface/transformers/issues/25
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25/comments
https://api.github.com/repos/huggingface/transformers/issues/25/events
https://github.com/huggingface/transformers/issues/25
381,490,584
MDU6SXNzdWUzODE0OTA1ODQ=
25
can you push the run-pretraining and create_pretraining_data codes?
{ "login": "koukoulala", "id": 30341159, "node_id": "MDQ6VXNlcjMwMzQxMTU5", "avatar_url": "https://avatars.githubusercontent.com/u/30341159?v=4", "gravatar_id": "", "url": "https://api.github.com/users/koukoulala", "html_url": "https://github.com/koukoulala", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
1
2018-11-16T08:15:33
2018-11-17T21:57:19
2018-11-17T21:57:19
null
NONE
[]
null
null
null
null
just want to study codes, don't need to have same pre-train performance.
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, I don't have plan for that in the near future." ]
https://api.github.com/repos/huggingface/transformers/issues/28
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28/comments
https://api.github.com/repos/huggingface/transformers/issues/28/events
https://github.com/huggingface/transformers/issues/28
381,835,436
MDU6SXNzdWUzODE4MzU0MzY=
28
speed is very slow
{ "login": "susht3", "id": 12723964, "node_id": "MDQ6VXNlcjEyNzIzOTY0", "avatar_url": "https://avatars.githubusercontent.com/u/12723964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susht3", "html_url": "https://github.com/susht3", "followers_url": "https://api.github.com/users/susht3/fo...
[]
closed
false
[]
null
2
2018-11-17T06:51:54
2018-11-17T22:02:38
2018-11-17T22:02:38
null
NONE
[]
null
null
null
null
convert samples to features, is very slow
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28/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/28/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Running on a GPU, I find that dumping extracted features takes up most time. So you may optimize it yourself. ", "Hi, these examples are provided as starting point to write your own training scripts using the package modules. I don't plan to update them any further." ]
https://api.github.com/repos/huggingface/transformers/issues/22
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22/comments
https://api.github.com/repos/huggingface/transformers/issues/22/events
https://github.com/huggingface/transformers/pull/22
381,097,721
MDExOlB1bGxSZXF1ZXN0MjMxMTQ0MTAx
22
adding `no_cuda` flag
{ "login": "rahular", "id": 1104544, "node_id": "MDQ6VXNlcjExMDQ1NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1104544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahular", "html_url": "https://github.com/rahular", "followers_url": "https://api.github.com/users/rahular/...
[]
closed
false
[]
null
1
2018-11-15T10:33:03
2018-11-17T22:05:24
2018-11-17T22:05:24
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22", "html_url": "https://github.com/huggingface/transformers/pull/22", "diff_url": "https://github.com/huggingface/transformers/pull/22.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22.patch", "merged_at": null }
The `--no_cuda` flag is missing from the flagset in `extract_features.py`. On running the current code, the following error occurs. ``` (py3.5) [rahul pytorch-pretrained-BERT]$ python extract_features.py \ > --input_file=./input.txt \ > --output_file=./output.jsonl \ > --vocab_file=$BERT_BASE_DIR/vocab.txt...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22/timeline
null
null
null
null
null
null
true
[ "Thanks, I've added that manually (the library organization has changed a bit with the first pip release)." ]
https://api.github.com/repos/huggingface/transformers/issues/21
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21/comments
https://api.github.com/repos/huggingface/transformers/issues/21/events
https://github.com/huggingface/transformers/pull/21
381,038,724
MDExOlB1bGxSZXF1ZXN0MjMxMDk4MjMy
21
Fix some glitches in extract_features.py
{ "login": "cnrpman", "id": 9862022, "node_id": "MDQ6VXNlcjk4NjIwMjI=", "avatar_url": "https://avatars.githubusercontent.com/u/9862022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cnrpman", "html_url": "https://github.com/cnrpman", "followers_url": "https://api.github.com/users/cnrpman/...
[]
closed
false
[]
null
1
2018-11-15T07:49:20
2018-11-17T22:07:20
2018-11-17T22:07:20
null
NONE
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21", "html_url": "https://github.com/huggingface/transformers/pull/21", "diff_url": "https://github.com/huggingface/transformers/pull/21.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21.patch", "merged_at": null }
Do the following fixing to make the extract_features.py runnable: 1. Add no_cuda argument 2. Fix the "not all arguments converted during string formatting" error thrown at line 230
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21/timeline
null
null
null
null
null
null
true
[ "Thanks, I've pushed these fixes in the first release (the organization of the library changed quite a bit)." ]
https://api.github.com/repos/huggingface/transformers/issues/18
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18/comments
https://api.github.com/repos/huggingface/transformers/issues/18/events
https://github.com/huggingface/transformers/pull/18
380,305,486
MDExOlB1bGxSZXF1ZXN0MjMwNTM2Mzg4
18
include the output layer in the model using the pretrained weights
{ "login": "fabiopetroni", "id": 12832592, "node_id": "MDQ6VXNlcjEyODMyNTky", "avatar_url": "https://avatars.githubusercontent.com/u/12832592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fabiopetroni", "html_url": "https://github.com/fabiopetroni", "followers_url": "https://api.github.c...
[]
closed
false
[]
null
1
2018-11-13T16:15:03
2018-11-17T22:08:09
2018-11-17T22:08:09
null
NONE
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18", "html_url": "https://github.com/huggingface/transformers/pull/18", "diff_url": "https://github.com/huggingface/transformers/pull/18.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18.patch", "merged_at": null }
This is to be able to load the final output layer (bert.output_layer) from the TensorFlow pre-trained model. In particular, it is a fully connected layer that is used to map the final hidden layer to the vocabulary size, to then apply the softmax, as follows: logits = bert.output_layer(sequence_output) log_softmax...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18/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/18/timeline
null
null
null
null
null
null
true
[ "Thanks for that. I've ended up taking a more modular approach in the first pip release of the library." ]
https://api.github.com/repos/huggingface/transformers/issues/23
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/23/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/23/comments
https://api.github.com/repos/huggingface/transformers/issues/23/events
https://github.com/huggingface/transformers/issues/23
381,250,921
MDU6SXNzdWUzODEyNTA5MjE=
23
ValueError while using --optimize_on_cpu
{ "login": "rsanjaykamath", "id": 18527321, "node_id": "MDQ6VXNlcjE4NTI3MzIx", "avatar_url": "https://avatars.githubusercontent.com/u/18527321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rsanjaykamath", "html_url": "https://github.com/rsanjaykamath", "followers_url": "https://api.githu...
[]
closed
false
[]
null
3
2018-11-15T16:53:12
2018-11-18T10:17:01
2018-11-17T21:56:46
null
NONE
[]
null
null
null
null
> Traceback (most recent call last): | 1/87970 [00:00<8:35:35, 2.84it/s] File "./run_squad.py", line 990, in <module> main() File "./run_squad.py", line 922, in main is_nan = set_optimizer_params_grad(param_optimizer, model.named_parameters(), test_nan=True) File "./run_squad.py", line 691, in set_optimizer_params...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/23/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/23/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Thanks! I pushed a fix for that, you can try it again. You should be able to increase a bit the batch size.\r\n\r\nBy the way, the real batch size that is used on the gpu is `train_batch_size / gradient_accumulation_steps` so `2` in your case. I think you should be able to go to `3` with `--optimize_on_cpu`\r\n\r\...
https://api.github.com/repos/huggingface/transformers/issues/35
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/35/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/35/comments
https://api.github.com/repos/huggingface/transformers/issues/35/events
https://github.com/huggingface/transformers/issues/35
381,998,040
MDU6SXNzdWUzODE5OTgwNDA=
35
issues with accents on convert_ids_to_tokens()
{ "login": "perezjln", "id": 5373778, "node_id": "MDQ6VXNlcjUzNzM3Nzg=", "avatar_url": "https://avatars.githubusercontent.com/u/5373778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/perezjln", "html_url": "https://github.com/perezjln", "followers_url": "https://api.github.com/users/perez...
[]
closed
false
[]
null
2
2018-11-18T20:41:24
2018-11-19T08:39:56
2018-11-19T08:39:56
null
NONE
[]
null
null
null
null
Hello, the BertTokenizer seems loose accents when convert_ids_to_tokens() is used : Example: - original sentence: "great breakfasts in a nice furnished cafè, slightly bohemian." - corresponding list of token produced : ['great', 'breakfast', '##s', 'in', 'a', 'nice', 'fur', '##nis', '##hed', 'cafe', ',', 'slightly...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/35/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/35/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "This is expected behaviour and is how the multilingual and the uncased models were trained. From the [original repo](https://github.com/google-research/bert/blob/master/README.md):\r\n\r\n> We are releasing the BERT-Base and BERT-Large models from the paper. Uncased means that the text has been lowercased before W...
https://api.github.com/repos/huggingface/transformers/issues/34
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/34/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/34/comments
https://api.github.com/repos/huggingface/transformers/issues/34/events
https://github.com/huggingface/transformers/issues/34
381,965,833
MDU6SXNzdWUzODE5NjU4MzM=
34
Can not find vocabulary file for Chinese model
{ "login": "zlinao", "id": 33000929, "node_id": "MDQ6VXNlcjMzMDAwOTI5", "avatar_url": "https://avatars.githubusercontent.com/u/33000929?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zlinao", "html_url": "https://github.com/zlinao", "followers_url": "https://api.github.com/users/zlinao/fo...
[]
closed
false
[]
null
5
2018-11-18T14:33:58
2018-11-19T11:13:14
2018-11-19T03:17:31
null
NONE
[]
null
null
null
null
After I convert the TF model to pytorch model, I run a classification task on a new Chinese dataset, but get this: CUDA_VISIBLE_DEVICES=3 python run_classifier.py --task_name weibo --do_eval --do_train --bert_model chinese_L-12_H-768_A-12 --max_seq_length 128 --train_batch_size 32 --learning_rate 2e-5 --num_...
{ "login": "zlinao", "id": 33000929, "node_id": "MDQ6VXNlcjMzMDAwOTI5", "avatar_url": "https://avatars.githubusercontent.com/u/33000929?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zlinao", "html_url": "https://github.com/zlinao", "followers_url": "https://api.github.com/users/zlinao/fo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/34/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/34/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "need to specify the path of vocab.txt for:\r\ntokenizer = BertTokenizer.from_pretrained(args.bert_model)", "@zlinao ,i try to load the vocab using the following code:\r\ntokenizer = BertTokenizer.from_pretrained(\"bert-base-chinese//vocab.txt\"\r\n\r\nhowever,get errors\r\n11/19/2018 15:33:13 - INFO - pytorch_pr...
https://api.github.com/repos/huggingface/transformers/issues/40
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/40/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/40/comments
https://api.github.com/repos/huggingface/transformers/issues/40/events
https://github.com/huggingface/transformers/pull/40
382,327,249
MDExOlB1bGxSZXF1ZXN0MjMyMDYwODU1
40
update pip package name
{ "login": "joelgrus", "id": 1308313, "node_id": "MDQ6VXNlcjEzMDgzMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1308313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joelgrus", "html_url": "https://github.com/joelgrus", "followers_url": "https://api.github.com/users/joelg...
[]
closed
false
[]
null
0
2018-11-19T17:50:54
2018-11-19T19:54:47
2018-11-19T19:54:47
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/40", "html_url": "https://github.com/huggingface/transformers/pull/40", "diff_url": "https://github.com/huggingface/transformers/pull/40.diff", "patch_url": "https://github.com/huggingface/transformers/pull/40.patch", "merged_at": "2018-11-...
dashes not underscores
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/40/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/40/timeline
null
null
null
null
null
null
true
[]
https://api.github.com/repos/huggingface/transformers/issues/41
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/41/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/41/comments
https://api.github.com/repos/huggingface/transformers/issues/41/events
https://github.com/huggingface/transformers/issues/41
382,489,751
MDU6SXNzdWUzODI0ODk3NTE=
41
Typo in README
{ "login": "weiyumou", "id": 9312916, "node_id": "MDQ6VXNlcjkzMTI5MTY=", "avatar_url": "https://avatars.githubusercontent.com/u/9312916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/weiyumou", "html_url": "https://github.com/weiyumou", "followers_url": "https://api.github.com/users/weiyu...
[]
closed
false
[]
null
1
2018-11-20T03:52:35
2018-11-20T09:02:15
2018-11-20T09:02:15
null
CONTRIBUTOR
[]
null
null
null
null
I think I spotted a typo in the README file under the Usage header. There is a piece of code that uses `BertTokenizer` and the typo is on this line: `tokenized_text = "Who was Jim Henson ? Jim Henson was a puppeteer"` I think `tokenized_text` should be replaced with `text`, since the next line is `tokenized_text =...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/41/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/41/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Yes" ]
https://api.github.com/repos/huggingface/transformers/issues/39
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/39/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/39/comments
https://api.github.com/repos/huggingface/transformers/issues/39/events
https://github.com/huggingface/transformers/issues/39
382,300,869
MDU6SXNzdWUzODIzMDA4Njk=
39
Command-line interface Document Bug
{ "login": "delldu", "id": 31266222, "node_id": "MDQ6VXNlcjMxMjY2MjIy", "avatar_url": "https://avatars.githubusercontent.com/u/31266222?v=4", "gravatar_id": "", "url": "https://api.github.com/users/delldu", "html_url": "https://github.com/delldu", "followers_url": "https://api.github.com/users/delldu/fo...
[]
closed
false
[]
null
1
2018-11-19T16:42:56
2018-11-20T09:03:06
2018-11-20T09:03:06
null
NONE
[]
null
null
null
null
There is a bug in README.md about Command-line interface: `export BERT_BASE_DIR=chinese_L-12_H-768_A-12` **Wrong:** ``` pytorch_pretrained_bert convert_tf_checkpoint_to_pytorch \ --tf_checkpoint_path $BERT_BASE_DIR/bert_model.ckpt.index \ --bert_config_file $BERT_BASE_DIR/bert_config.json \ --pytorch_...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/39/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/39/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Thanks!" ]
https://api.github.com/repos/huggingface/transformers/issues/33
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/33/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/33/comments
https://api.github.com/repos/huggingface/transformers/issues/33/events
https://github.com/huggingface/transformers/issues/33
381,939,792
MDU6SXNzdWUzODE5Mzk3OTI=
33
[Bug report] Ineffective no_decay when using BERTAdam
{ "login": "xiaoda99", "id": 6015633, "node_id": "MDQ6VXNlcjYwMTU2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/6015633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaoda99", "html_url": "https://github.com/xiaoda99", "followers_url": "https://api.github.com/users/xiaod...
[]
closed
false
[]
null
1
2018-11-18T08:28:52
2018-11-20T09:07:58
2018-11-20T09:07:58
null
CONTRIBUTOR
[]
null
null
null
null
https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/examples/run_classifier.py#L505-L508 With this code, all parameters are decayed because the condition "parameter_name in no_decay" will never be satisfied. I've made a PR #32 to fix it.
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/33/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/33/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "You're right, thanks!" ]
https://api.github.com/repos/huggingface/transformers/issues/42
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/42/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/42/comments
https://api.github.com/repos/huggingface/transformers/issues/42/events
https://github.com/huggingface/transformers/pull/42
382,492,723
MDExOlB1bGxSZXF1ZXN0MjMyMTg2NjE0
42
Fixed UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2
{ "login": "weiyumou", "id": 9312916, "node_id": "MDQ6VXNlcjkzMTI5MTY=", "avatar_url": "https://avatars.githubusercontent.com/u/9312916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/weiyumou", "html_url": "https://github.com/weiyumou", "followers_url": "https://api.github.com/users/weiyu...
[]
closed
false
[]
null
1
2018-11-20T04:09:44
2018-11-20T09:09:53
2018-11-20T09:09:50
null
CONTRIBUTOR
[]
null
null
0
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/42", "html_url": "https://github.com/huggingface/transformers/pull/42", "diff_url": "https://github.com/huggingface/transformers/pull/42.diff", "patch_url": "https://github.com/huggingface/transformers/pull/42.patch", "merged_at": "2018-11-...
I encountered `UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3793: ordinal not in range(128)` when running the starter example shown under the Usage section. It turned out to be related to the `load_vocab` function in `tokenization.py`. Forcing `open` to use encoding `utf8` solved this issue on ...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/42/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/42/timeline
null
null
null
null
null
null
true
[ "Thanks!" ]
https://api.github.com/repos/huggingface/transformers/issues/45
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/45/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/45/comments
https://api.github.com/repos/huggingface/transformers/issues/45/events
https://github.com/huggingface/transformers/issues/45
382,579,717
MDU6SXNzdWUzODI1Nzk3MTc=
45
Issue of `bert_model` arg in `run_classify.py`
{ "login": "llidev", "id": 29957883, "node_id": "MDQ6VXNlcjI5OTU3ODgz", "avatar_url": "https://avatars.githubusercontent.com/u/29957883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/llidev", "html_url": "https://github.com/llidev", "followers_url": "https://api.github.com/users/llidev/fo...
[]
closed
false
[]
null
1
2018-11-20T09:48:09
2018-11-20T13:07:14
2018-11-20T13:07:14
null
CONTRIBUTOR
[]
null
null
null
null
Hi, I am trying to understand the `bert_model` arg in `run_classify.py`. In the file, I can see ``` tokenizer = BertTokenizer.from_pretrained(args.bert_model) ``` where `bert_model` is expected to be the vocab text file of the model However, I also see ``` model = BertForSequenceClassification.from_pretr...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/45/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/45/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, please read [this section](https://github.com/huggingface/pytorch-pretrained-BERT#loading-google-ais-pre-trained-weigths-and-pytorch-dump) of the readme." ]
https://api.github.com/repos/huggingface/transformers/issues/43
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/43/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/43/comments
https://api.github.com/repos/huggingface/transformers/issues/43/events
https://github.com/huggingface/transformers/issues/43
382,553,589
MDU6SXNzdWUzODI1NTM1ODk=
43
grad is None in squad example
{ "login": "vpegasus", "id": 22723154, "node_id": "MDQ6VXNlcjIyNzIzMTU0", "avatar_url": "https://avatars.githubusercontent.com/u/22723154?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vpegasus", "html_url": "https://github.com/vpegasus", "followers_url": "https://api.github.com/users/vpe...
[]
closed
false
[]
null
2
2018-11-20T08:38:03
2018-11-20T23:04:28
2018-11-20T23:04:28
null
NONE
[]
null
null
null
null
Hi, guys, I try the `run_squad` example with ``` Traceback (most recent call last): | 0/7331 [00:00<?, ?it/s] File "examples/run_squad.py", line 973, in <m...
{ "login": "vpegasus", "id": 22723154, "node_id": "MDQ6VXNlcjIyNzIzMTU0", "avatar_url": "https://avatars.githubusercontent.com/u/22723154?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vpegasus", "html_url": "https://github.com/vpegasus", "followers_url": "https://api.github.com/users/vpe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/43/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/43/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Oh you're right. I've just fixed that. you can try to pull the current master and test again.", "@thomwolf it works, thanks" ]
https://api.github.com/repos/huggingface/transformers/issues/49
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/49/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/49/comments
https://api.github.com/repos/huggingface/transformers/issues/49/events
https://github.com/huggingface/transformers/issues/49
383,028,844
MDU6SXNzdWUzODMwMjg4NDQ=
49
Multilingual Issue
{ "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
[]
null
1
2018-11-21T09:32:32
2018-11-21T09:39:42
2018-11-21T09:39:41
null
NONE
[]
null
null
null
null
Dear authors, I have two questions. First, how can I use multilingual pre-trained BERT in pytorch? Is it all download model to $BERT_BASE_DIR? Second is tokenization issue. For Chinese and Japanese, tokenizer may works, however, for Korean, it shows different result that I expected ``` import torch from p...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/49/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/49/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi, you can use the multilingual model as [indicated in the readme](https://github.com/huggingface/pytorch-pretrained-BERT#loading-google-ais-pre-trained-weigths-and-pytorch-dump) with the commands:\r\n```python\r\ntokenizer = BertTokenizer.from_pretrained('bert-base-multilingual')\r\nmodel = BertModel.from_pretra...
https://api.github.com/repos/huggingface/transformers/issues/52
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/52/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/52/comments
https://api.github.com/repos/huggingface/transformers/issues/52/events
https://github.com/huggingface/transformers/issues/52
383,586,156
MDU6SXNzdWUzODM1ODYxNTY=
52
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 3920: character maps to <undefined>
{ "login": "superchthonic", "id": 5455837, "node_id": "MDQ6VXNlcjU0NTU4Mzc=", "avatar_url": "https://avatars.githubusercontent.com/u/5455837?v=4", "gravatar_id": "", "url": "https://api.github.com/users/superchthonic", "html_url": "https://github.com/superchthonic", "followers_url": "https://api.github....
[]
closed
false
[]
null
2
2018-11-22T15:42:08
2018-11-23T11:21:57
2018-11-23T11:21:56
null
NONE
[]
null
null
null
null
Installed pytorch-pretrained-BERT from source, Python 3.7, Windows 10 When I run the following snippet: import torch from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM # Load pre-trained model tokenizer (vocabulary) tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') ...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/52/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/52/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "I am facing the same problem.\r\n\r\nFixed it with \"with open(vocab_file, \"r\"**, encoding=\"utf-8\"**) as reader:\" in line 68 of tokenization.py", "Thanks, it's fixed on master and will be included in the next release." ]
https://api.github.com/repos/huggingface/transformers/issues/55
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/55/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/55/comments
https://api.github.com/repos/huggingface/transformers/issues/55/events
https://github.com/huggingface/transformers/issues/55
384,044,666
MDU6SXNzdWUzODQwNDQ2NjY=
55
Loss calculation error
{ "login": "jwang-lp", "id": 944876, "node_id": "MDQ6VXNlcjk0NDg3Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/944876?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jwang-lp", "html_url": "https://github.com/jwang-lp", "followers_url": "https://api.github.com/users/jwang-l...
[]
closed
false
[]
null
3
2018-11-25T03:48:17
2018-11-26T08:52:00
2018-11-26T08:52:00
null
NONE
[]
null
null
null
null
https://github.com/huggingface/pytorch-pretrained-BERT/blob/982339d82984466fde3b1466f657a03200aa2ffb/pytorch_pretrained_bert/modeling.py#L744 Got `ValueError: Expected target size (1, 30522), got torch.Size([1, 11])` at line 744 of `modeling.py`. I think the line should be changed to `masked_lm_loss = loss_fct(predi...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/55/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/55/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi Jian, can you give me a small (self-contained) example showing how to get this error?", "Hi Thomas! I modified the code in your `README.md` for an example:\r\n\r\n```python\r\nfrom pytorch_pretrained_bert.modeling import BertForMaskedLM, BertConfig\r\nfrom pytorch_pretrained_bert import BertTokenizer\r\nimpor...
https://api.github.com/repos/huggingface/transformers/issues/54
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/54/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/54/comments
https://api.github.com/repos/huggingface/transformers/issues/54/events
https://github.com/huggingface/transformers/issues/54
383,967,106
MDU6SXNzdWUzODM5NjcxMDY=
54
example in BertForSequenceClassification() conflicts with the api
{ "login": "labixiaoK", "id": 24908364, "node_id": "MDQ6VXNlcjI0OTA4MzY0", "avatar_url": "https://avatars.githubusercontent.com/u/24908364?v=4", "gravatar_id": "", "url": "https://api.github.com/users/labixiaoK", "html_url": "https://github.com/labixiaoK", "followers_url": "https://api.github.com/users/...
[]
closed
false
[]
null
1
2018-11-24T07:27:50
2018-11-26T08:54:47
2018-11-26T08:54:47
null
NONE
[]
null
null
null
null
Hi, firstly, admire u for the great job. but I encounter 2 problems when i use it: **1**. `UnicodeDecodeError: 'gbk' codec can't decode byte 0x85 in position 4527: illegal multibyte sequence`, same problem as ISSUE 52 when I excute the `BertTokenizer.from_pretrained('bert-base-uncased')`, but I successfully excute `...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/54/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/54/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Hi,\r\n(1) is solved on master. I will release a new release soon with the fixes on pip. In the mean time you can install from sources if you want.\r\nI fixed the typo in the docstring you mention in (2), thanks, it should be a `1` instead of a `2`." ]
https://api.github.com/repos/huggingface/transformers/issues/51
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/51/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/51/comments
https://api.github.com/repos/huggingface/transformers/issues/51/events
https://github.com/huggingface/transformers/issues/51
383,162,319
MDU6SXNzdWUzODMxNjIzMTk=
51
Missing options/arguments in run_squad.py for BERT Large
{ "login": "avisil", "id": 43005718, "node_id": "MDQ6VXNlcjQzMDA1NzE4", "avatar_url": "https://avatars.githubusercontent.com/u/43005718?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avisil", "html_url": "https://github.com/avisil", "followers_url": "https://api.github.com/users/avisil/fo...
[]
closed
false
[]
null
1
2018-11-21T15:10:45
2018-11-26T08:57:23
2018-11-26T08:57:23
null
NONE
[]
null
null
null
null
Thanks for the great code..However, the `run_squad.py` for BERT Large seems to not have the `vocab_file` and `bert_config_file` (or other) options/arguments. Did you push the latest version? Also, it is looking for a pytorch model file (a bin file). Does it need to be there? I also had to add this line to the file...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/51/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/51/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Yes, the readme example was for an older version. I have updated them with the simplified parameters used in the current release. Thanks." ]
https://api.github.com/repos/huggingface/transformers/issues/38
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38/comments
https://api.github.com/repos/huggingface/transformers/issues/38/events
https://github.com/huggingface/transformers/issues/38
382,297,444
MDU6SXNzdWUzODIyOTc0NDQ=
38
truncated normal initializer
{ "login": "ruotianluo", "id": 16023153, "node_id": "MDQ6VXNlcjE2MDIzMTUz", "avatar_url": "https://avatars.githubusercontent.com/u/16023153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ruotianluo", "html_url": "https://github.com/ruotianluo", "followers_url": "https://api.github.com/use...
[]
closed
false
[]
null
2
2018-11-19T16:35:08
2018-11-26T09:42:42
2018-11-26T09:42:42
null
NONE
[]
null
null
null
null
I have a reasonable truncated normal approximation. (Actually that is what tf does). https://discuss.pytorch.org/t/implementing-truncated-normal-initializer/4778/16?u=ruotianluo
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "We could try that. Not sure how important it is though. Did you try it?", "Ok I think we will stick to the normal_initializer for now. Thanks for indicating this option!" ]
https://api.github.com/repos/huggingface/transformers/issues/57
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/57/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/57/comments
https://api.github.com/repos/huggingface/transformers/issues/57/events
https://github.com/huggingface/transformers/issues/57
384,525,339
MDU6SXNzdWUzODQ1MjUzMzk=
57
Missing function convert_to_unicode in tokenization.py
{ "login": "ptrichel", "id": 15148709, "node_id": "MDQ6VXNlcjE1MTQ4NzA5", "avatar_url": "https://avatars.githubusercontent.com/u/15148709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ptrichel", "html_url": "https://github.com/ptrichel", "followers_url": "https://api.github.com/users/ptr...
[]
closed
false
[]
null
1
2018-11-26T21:50:15
2018-11-26T22:33:47
2018-11-26T22:33:47
null
NONE
[]
null
null
null
null
The function _convert_to_unicode_ is not in tokenization.py but used to be there in v0.1.2. When fine tuning with run_classifier.py, you get an ImportError: cannot import name 'convert_to_unicode'. https://github.com/huggingface/pytorch-pretrained-BERT/blob/ce37b8e4819142171b61558e64f7dcb0286e9937/examples/run_class...
{ "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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/57/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/57/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
null
null
false
[ "Fixed in master, thanks!" ]
End of preview. Expand in Data Studio

HuggingFace Transformers GitHub Issues Dataset

Dataset Description

This dataset contains all issues and pull requests (open and closed) from the huggingface/transformers GitHub repository, along with their comment threads. It was collected on July 19-20, 2026 via the GitHub REST API and follows the workflow described in the Hugging Face NLP course — Creating your own dataset.

  • Repository: huggingface/transformers
  • Total rows: 41,618 (issues + pull requests)
  • Date range: November 3, 2018 → July 19, 2026
  • Format: Parquet (single shard, train split)

Dataset Structure

Splits

Split Num examples
train 41,618

Composition

Type Count
Issues 17,960
Pull requests 23,658
Open 1,900
Closed 39,718
With labels 9,665
With comments 37,174
Total comments 159,388

Key Columns

Column Type Description
number int64 GitHub issue/PR number (unique, no duplicates)
title string Issue/PR title
body string Issue/PR body (Markdown; 251 nulls + 688 empty — normal)
state string open or closed
is_pull_request bool True if this row is a PR, False if it's an issue
labels list List of label objects (name, color, id, ...) — 9,665 rows have labels
comments int64 Number of comments on the issue
comments_text list[str] The body text of each comment (fetched separately via the comments API)
user struct The author (login, id, avatar_url, type, ...)
created_at timestamp When the issue/PR was created
updated_at timestamp When it was last updated
closed_at timestamp When it was closed (null for 1,900 open issues)
reactions struct Reaction counts (+1, -1, laugh, heart, rocket, eyes, ...)
pull_request struct PR metadata (url, diff_url, patch_url, merged_at) — null for issues
assignees list Assigned users
milestone float64 Milestone (100% null for this repo)

Top Labels

Label Count
wontfix 2,633
bug 2,495
Feature request 786
New model 683
model card 654
WIP 380
Vision 268
run-slow 198
Code agent slop 189
dependencies 188
Good First Issue 183
Core: Tokenization 170
Audio 166
trainer 146
Good Second Issue 129

Collection Methodology

The dataset was collected using a custom Python script (prepare_dataset.py) that:

  1. Fetched all issues + PRs using the GitHub REST API with since-based pagination (sorted by updated_at ascending) to bypass GitHub's 10,000-record page-number cap. Issues were written incrementally to a JSONL file for crash recovery.
  2. Added an is_pull_request flag based on whether the pull_request field is present.
  3. Pushed the issues-only dataset to the Hub (as a safety checkpoint before the long comment fetch).
  4. Fetched comment bodies for every issue with comments > 0 (4,441 zero-comment issues were skipped as an optimization). Comments were fetched with per_page=100 to minimize pagination requests.
  5. Pushed the final dataset (issues + comments) to the Hub.

GitHub's authenticated rate limit (5,000 requests/hour) was respected throughout — the script sleeps until the rate-limit window resets when the budget is exhausted, with a one-hour fallback sleep if the reset header is missing.

Known Limitations

  • 5,799 missing issue numbers in the range 1–47,417: these correspond to deleted issues/PRs on GitHub that cannot be retrieved via the API. This is expected and unavoidable.
  • 65 minor mismatches between the comments count field and the length of comments_text: these occur when comments were added or deleted between the issue fetch and the comment fetch. The comments field reflects the count at fetch time; comments_text reflects the actual comments retrieved.
  • milestone, performed_via_github_app, pinned_comment are 100% null — these fields are not used on this repository.
  • body has 251 nulls and 688 empty strings — some issues/PRs simply have no body text.
  • The dataset includes both issues and pull requests (GitHub's issues endpoint returns both). Use the is_pull_request column to filter.

Potential Use Cases

  • Issue classification: Train a model to categorize issues (bug, feature request, question) based on title + body.
  • Bug triage: Predict which label an issue should have, or whether it's likely to be closed.
  • Duplicate detection: Find semantically similar issues using embeddings of title + body.
  • Pull request summarization: Summarize long PR bodies or comment threads.
  • Software engineering research: Analyze issue lifecycle, response times, contributor activity, label distributions, etc.
  • LLM fine-tuning: Build instruction-tuning datasets for "classify this issue" or "summarize this thread" tasks.

Licensing

The dataset is derived from public GitHub issue data from the huggingface/transformers repository, which is licensed under Apache 2.0. The dataset is provided under the same license.

Citation

If you use this dataset, please cite:

@misc{transformers-issues-dataset,
  author       = {Noamaan Mulla},
  title        = {HuggingFace Transformers GitHub Issues Dataset},
  year         = {2026},
  url          = {https://huggingface.co/datasets/noamaanMulla-03/transformers-issues},
  note         = {Collected via the GitHub REST API on July 19-20, 2026}
}

Also cite the original repository:

@misc{wolf2019huggingface,
  author       = {Thomas Wolf and Lysandre Debut and Victor Sanh and Julien Chaumond and Clement Delangue and Anthony Moi and Pierric Cistac and Tim Rault and Rémi Louf and Morgan Funtowicz and Joe Davison and Sam Shleifer and Patrick von Platen and Clara Ma and Yacine Jernite and Julien Plu and Canwen Xu and Teven Le Scao and Sylvain Gugger and Mariama Drame and Quentin Lhoest and Alexander M. Rush},
  title        = {HuggingFace's Transformers: State-of-the-art Natural Language Processing},
  year         = {2019},
  publisher    = {GitHub},
  howpublished = {\url{https://github.com/huggingface/transformers}}
}
Downloads last month
7