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/303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/303/comments | https://api.github.com/repos/huggingface/transformers/issues/303/events | https://github.com/huggingface/transformers/issues/303 | 412,468,953 | MDU6SXNzdWU0MTI0Njg5NTM= | 303 | Example Code in README fails. | {
"login": "blester125",
"id": 10950530,
"node_id": "MDQ6VXNlcjEwOTUwNTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/10950530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blester125",
"html_url": "https://github.com/blester125",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 2 | 2019-02-20T14:57:26Z | 2019-02-20T15:43:19Z | 2019-02-20T15:43:19Z | null | NONE | [] | null | null | null | null | There is an assertion error in the example code in the README.
The text that is input to the model
`"[CLS] Who was Jim Henson ? [SEP] Jim Henson was a puppeteer [SEP]"`
is expected to be tokenized and masked like so
`['[CLS]', 'who', 'was', 'jim', 'henson', '?', '[SEP]', 'jim', '[MASK]', 'was', 'a', 'pupp... | {
"login": "blester125",
"id": 10950530,
"node_id": "MDQ6VXNlcjEwOTUwNTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/10950530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blester125",
"html_url": "https://github.com/blester125",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/303/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 could be related to #266 - are you using the latest version of `pytorch-pretrained-BERT`?",
"No, I was on 0.4, I upgraded to 0.6.1 and it worked."
] |
https://api.github.com/repos/huggingface/transformers/issues/284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/284/comments | https://api.github.com/repos/huggingface/transformers/issues/284/events | https://github.com/huggingface/transformers/issues/284 | 410,782,598 | MDU6SXNzdWU0MTA3ODI1OTg= | 284 | Error in Apex's FusedLayerNorm | {
"login": "Hyperparticle",
"id": 8497170,
"node_id": "MDQ6VXNlcjg0OTcxNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8497170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hyperparticle",
"html_url": "https://github.com/Hyperparticle",
"followers_url": "https://api.github.... | [] | closed | false | [] | null | 1 | 2019-02-15T14:01:48Z | 2019-02-20T15:47:28Z | 2019-02-20T15:46:50Z | null | NONE | [] | null | null | null | null | After installing `apex` with the cuda extensions and running BERT, I get the following error in `FusedLayerNormAffineFunction`, [apex/normalization/fused_layer_norm.py](https://github.com/NVIDIA/apex/blob/master/apex/normalization/fused_layer_norm.py#L16) (line 21).
```
RuntimeError: a Tensor with 2482176 elements ... | {
"login": "Hyperparticle",
"id": 8497170,
"node_id": "MDQ6VXNlcjg0OTcxNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8497170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hyperparticle",
"html_url": "https://github.com/Hyperparticle",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/284/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 was an error in `apex`, due to mismatched compiled libraries. Fix can be found [here](https://github.com/NVIDIA/apex/issues/156#issuecomment-465301976).\r\n\r\n> Try a full `pip uninstall apex`, then `cd apex_repo_dir; rm-rf build; python setup.py install --cuda_ext --cpp_ext` and see if the segfault persists... |
https://api.github.com/repos/huggingface/transformers/issues/305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/305/comments | https://api.github.com/repos/huggingface/transformers/issues/305/events | https://github.com/huggingface/transformers/pull/305 | 412,578,975 | MDExOlB1bGxSZXF1ZXN0MjU0NzU1NTQw | 305 | Update run_openai_gpt.py | {
"login": "bkj",
"id": 6086781,
"node_id": "MDQ6VXNlcjYwODY3ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6086781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bkj",
"html_url": "https://github.com/bkj",
"followers_url": "https://api.github.com/users/bkj/followers",
"f... | [] | closed | false | [] | null | 1 | 2019-02-20T18:59:49Z | 2019-02-20T20:24:15Z | 2019-02-20T20:24:07Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/305",
"html_url": "https://github.com/huggingface/transformers/pull/305",
"diff_url": "https://github.com/huggingface/transformers/pull/305.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/305.patch",
"merged_at": "2019... | Adding invocation to the top of `run_openai_gpt.py` so that's it's easy to find. Previously, the header said that running the script w/ default values works, but actually you need to set some paths. | {
"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/305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/305/timeline | null | null | null | null | null | null | true | [
"👍 "
] |
https://api.github.com/repos/huggingface/transformers/issues/99 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/99/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/99/comments | https://api.github.com/repos/huggingface/transformers/issues/99/events | https://github.com/huggingface/transformers/issues/99 | 388,660,542 | MDU6SXNzdWUzODg2NjA1NDI= | 99 | run_squad.py stuck on batch size greater than 1 | {
"login": "wcgan",
"id": 43312978,
"node_id": "MDQ6VXNlcjQzMzEyOTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/43312978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wcgan",
"html_url": "https://github.com/wcgan",
"followers_url": "https://api.github.com/users/wcgan/follow... | [] | closed | false | [] | null | 7 | 2018-12-07T13:44:09Z | 2019-02-21T03:01:25Z | 2018-12-14T14:43:02Z | null | NONE | [] | null | null | null | null | Thanks a lot for the code! I need help figuring out why the script is not working so long the batch_size is set to be above 1. Specifically, it seems to be stuck at Line 908: loss = model(input_ids, segment_ids, input_mask, start_positions, end_positions). I am using 4 k80. 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/99/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/99/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 | [
"Please copy paste the command you are using to run this example.",
"Here you go\r\n\r\n```\r\npython ./run_squad.py \r\n --bert_model bert-base-uncased \\\r\n --do_train \\\r\n --do_predict \\\r\n --train_file $SQUAD_DIR/train-v1.1.json \\\r\n --predict_file $SQUAD_DIR/dev-v1.1.json \\\r\n --learning_rate ... |
https://api.github.com/repos/huggingface/transformers/issues/307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/307/comments | https://api.github.com/repos/huggingface/transformers/issues/307/events | https://github.com/huggingface/transformers/pull/307 | 412,731,345 | MDExOlB1bGxSZXF1ZXN0MjU0ODczOTY0 | 307 | Update README.md | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 1 | 2019-02-21T03:25:41Z | 2019-02-21T08:25:24Z | 2019-02-21T08:25:19Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/307",
"html_url": "https://github.com/huggingface/transformers/pull/307",
"diff_url": "https://github.com/huggingface/transformers/pull/307.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/307.patch",
"merged_at": "2019... | {
"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/307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/307/timeline | null | null | null | null | null | null | true | [
"👍 "
] | |
https://api.github.com/repos/huggingface/transformers/issues/304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/304/comments | https://api.github.com/repos/huggingface/transformers/issues/304/events | https://github.com/huggingface/transformers/issues/304 | 412,565,139 | MDU6SXNzdWU0MTI1NjUxMzk= | 304 | Can I do a code reference in implementing my code? | {
"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 | 4 | 2019-02-20T18:24:41Z | 2019-02-21T08:46:11Z | 2019-02-21T08:45:41Z | null | NONE | [] | null | null | null | null | @thomwolf
I am trying simply implementing gpt-2 on Pytorch
I have trouble in trasfering tensorflow checkpoint to pytorch :(
https://github.com/graykode/gpt-2-Pytorch
Could I do this code reference in implementing my code? I'll write reference in my code!!
Thanks for awesome sharing! | {
"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/304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/304/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 @graykode,\r\nWhat do you mean by \"code reference\"?",
"@thomwolf \r\nHello thomwolf!\r\nIt mean that I apply your code about `GPT-2 model and transferring tensorflow checkpoint to pytorch` in my project!\r\n I show the origin of the information in my project code comment when I refer to your code.\r\nThanks... |
https://api.github.com/repos/huggingface/transformers/issues/310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/310/comments | https://api.github.com/repos/huggingface/transformers/issues/310/events | https://github.com/huggingface/transformers/pull/310 | 412,821,213 | MDExOlB1bGxSZXF1ZXN0MjU0OTQyMDc3 | 310 | Few small nits in GPT-2's README code examples | {
"login": "spolu",
"id": 15067,
"node_id": "MDQ6VXNlcjE1MDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/15067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spolu",
"html_url": "https://github.com/spolu",
"followers_url": "https://api.github.com/users/spolu/followers",
"f... | [] | closed | false | [] | null | 1 | 2019-02-21T09:16:38Z | 2019-02-21T09:55:30Z | 2019-02-21T09:23:28Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/310",
"html_url": "https://github.com/huggingface/transformers/pull/310",
"diff_url": "https://github.com/huggingface/transformers/pull/310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/310.patch",
"merged_at": "2019... | (unless these were on purpose as a responsible disclosure mechanism :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/310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/310/timeline | null | null | null | null | null | null | true | [
"They were just basic typos :) Thanks Stanislas"
] |
https://api.github.com/repos/huggingface/transformers/issues/314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/314/comments | https://api.github.com/repos/huggingface/transformers/issues/314/events | https://github.com/huggingface/transformers/issues/314 | 413,272,916 | MDU6SXNzdWU0MTMyNzI5MTY= | 314 | Issue with apex import on MAC | {
"login": "bhoomit",
"id": 1269954,
"node_id": "MDQ6VXNlcjEyNjk5NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1269954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhoomit",
"html_url": "https://github.com/bhoomit",
"followers_url": "https://api.github.com/users/bhoomit/... | [] | closed | false | [] | null | 1 | 2019-02-22T07:13:33Z | 2019-02-22T17:18:09Z | 2019-02-22T17:18:09Z | null | NONE | [] | null | null | null | null | Python 3.7
MacOS High Sierra 10.13.6
```
Traceback (most recent call last):
File "examples/classifier.py", line 1, in <module>
from pytorch_pretrained_bert.tokenization import BertTokenizer, WordpieceTokenizer
File "/Users/Bhoomit/work/robin/nlp/pytorch-pretrained-BERT/env/lib/python3.7/site-packages/py... | {
"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/314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/314/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 | [
"Unfortunately, apex (and fp16 in general) only work on GPU. So you can't use it on MacOS :/"
] |
https://api.github.com/repos/huggingface/transformers/issues/213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/213/comments | https://api.github.com/repos/huggingface/transformers/issues/213/events | https://github.com/huggingface/transformers/issues/213 | 401,219,022 | MDU6SXNzdWU0MDEyMTkwMjI= | 213 | will examples update the parameters of bert model? | {
"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 | 3 | 2019-01-21T07:04:08Z | 2019-02-23T19:45:13Z | 2019-02-05T16:10:45Z | null | NONE | [] | null | null | null | null | on the examples, it loads bert-base model and do some tasks, the paper says that it will fix the parameters of bert and only update the parameters of our tasks, but i find that it seems not fix parameters of bert? just load the model, and adds some layers to train | {
"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/213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/213/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 | [
"Could you please show the part of the paper where you have seen mentioned, I haven't found it.\r\n\r\nAre you talking about this paragraph?\r\n\r\n>In this section we evaluate how well BERT performs in the feature-based approach by generating ELMo-like pre-trained contextual representations on the CoNLL-2003 NER t... |
https://api.github.com/repos/huggingface/transformers/issues/317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/317/comments | https://api.github.com/repos/huggingface/transformers/issues/317/events | https://github.com/huggingface/transformers/issues/317 | 413,719,230 | MDU6SXNzdWU0MTM3MTkyMzA= | 317 | anyone notice large difference of using fp16 ? | {
"login": "howardhsu",
"id": 10661375,
"node_id": "MDQ6VXNlcjEwNjYxMzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/10661375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/howardhsu",
"html_url": "https://github.com/howardhsu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 0 | 2019-02-23T17:49:23Z | 2019-02-23T22:56:11Z | 2019-02-23T22:56:11Z | null | CONTRIBUTOR | [] | null | null | null | null | I recently noticed that using fp16 dropped the performance of BERT on my own dataset but improved on another (it works fine on examples like MPRC). It's about 4% so unlikely to be random noise.
I'm trying to see the reason and noticed examples from apex:
https://github.com/NVIDIA/apex/tree/master/examples
actually... | {
"login": "howardhsu",
"id": 10661375,
"node_id": "MDQ6VXNlcjEwNjYxMzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/10661375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/howardhsu",
"html_url": "https://github.com/howardhsu",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/317/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/316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/316/comments | https://api.github.com/repos/huggingface/transformers/issues/316/events | https://github.com/huggingface/transformers/pull/316 | 413,621,140 | MDExOlB1bGxSZXF1ZXN0MjU1NTY2MTU5 | 316 | update documentation for gpt-2 | {
"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 | 3 | 2019-02-22T23:41:10Z | 2019-02-24T08:38:52Z | 2019-02-24T08:38:30Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/316",
"html_url": "https://github.com/huggingface/transformers/pull/316",
"diff_url": "https://github.com/huggingface/transformers/pull/316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/316.patch",
"merged_at": "2019... | fixes a few incorrect details in the gpt-2 documentation.
one remaining thing, all of the models return an extra `presents` variable that I'm not quite sure what it is, so there's a ... in the doc. if you tell me what to put there I can put it there, or you can do it yourself. | {
"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/316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/316/timeline | null | null | null | null | null | null | true | [
"Hi @joelgrus, you are right, the docstring were lagging a lot.\r\nAll the information is in the `README.py`, more specifically [these sections detailing the API of the GPT2 models](https://github.com/huggingface/pytorch-pretrained-BERT#14-gpt2model) but I forgot to update the docstrings. Do you want to have a look... |
https://api.github.com/repos/huggingface/transformers/issues/308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/308/comments | https://api.github.com/repos/huggingface/transformers/issues/308/events | https://github.com/huggingface/transformers/issues/308 | 412,742,435 | MDU6SXNzdWU0MTI3NDI0MzU= | 308 | It seems the eval speed of transformer-xl is not faster than bert-base-uncased. | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 0 | 2019-02-21T04:22:02Z | 2019-02-27T03:31:13Z | 2019-02-27T03:31:13Z | null | CONTRIBUTOR | [] | null | null | null | null | I run `run_classifier.py` with `bert-base-uncased` and `max_seq_length=128` on the MRPC task.
The log:
```
Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex.
02/21/2019 12:11:44 - INFO - __main__ - device: cpu n_gpu: 1, distributed training: False, 16-bits training: False
0... | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/308/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/280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/280/comments | https://api.github.com/repos/huggingface/transformers/issues/280/events | https://github.com/huggingface/transformers/issues/280 | 410,591,310 | MDU6SXNzdWU0MTA1OTEzMTA= | 280 | Have you eval the inference speed of transformer-xl? | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 0 | 2019-02-15T03:39:14Z | 2019-02-27T03:42:59Z | 2019-02-27T03:42:59Z | null | CONTRIBUTOR | [] | null | null | null | null | Thank you very much! | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/280/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/331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/331/comments | https://api.github.com/repos/huggingface/transformers/issues/331/events | https://github.com/huggingface/transformers/issues/331 | 415,505,133 | MDU6SXNzdWU0MTU1MDUxMzM= | 331 | Can BERT do the next-word-predict task? As it is bidirectional. | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 0 | 2019-02-28T08:36:02Z | 2019-03-01T02:05:43Z | 2019-03-01T02:05:43Z | null | CONTRIBUTOR | [] | null | null | null | null | How can we edit BERT to do the next-word-predict task?
Thank you very much! | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/331/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/320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/320/comments | https://api.github.com/repos/huggingface/transformers/issues/320/events | https://github.com/huggingface/transformers/issues/320 | 414,497,924 | MDU6SXNzdWU0MTQ0OTc5MjQ= | 320 | what is the batch size we can use for SQUAD task? | {
"login": "leonwyang",
"id": 32276166,
"node_id": "MDQ6VXNlcjMyMjc2MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32276166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonwyang",
"html_url": "https://github.com/leonwyang",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-02-26T08:56:20Z | 2019-03-03T00:21:25Z | 2019-03-03T00:21:19Z | null | NONE | [] | null | null | null | null | I am running the squad example.
I have a Tesla M60 GPU which has about 8GB of memory. For bert-large-uncased model, I can only take batch size as 2, even after I used --fp16. Is it normal?
| {
"login": "leonwyang",
"id": 32276166,
"node_id": "MDQ6VXNlcjMyMjc2MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32276166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonwyang",
"html_url": "https://github.com/leonwyang",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/320/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 | [
"solved"
] |
https://api.github.com/repos/huggingface/transformers/issues/26 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26/comments | https://api.github.com/repos/huggingface/transformers/issues/26/events | https://github.com/huggingface/transformers/issues/26 | 381,718,424 | MDU6SXNzdWUzODE3MTg0MjQ= | 26 | Checkpoints not saved | {
"login": "ylhsieh",
"id": 9377337,
"node_id": "MDQ6VXNlcjkzNzczMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9377337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylhsieh",
"html_url": "https://github.com/ylhsieh",
"followers_url": "https://api.github.com/users/ylhsieh/... | [] | closed | false | [] | null | 6 | 2018-11-16T18:50:27Z | 2019-03-04T08:38:23Z | 2018-11-17T22:02:08Z | null | NONE | [] | null | null | null | null | There is an option `save_checkpoints_steps` that seems to control checkpointing. However, there is no actual saving operation in the `run_*` scripts. So, should we add that functionality or remove this argument? | {
"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/26/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26/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 | [
"In the `run_squad.py`script, I added the following lines after the training loop:\r\n\r\n```\r\nlogger.info(***** Saving fine-tuned model *****)\r\noutput_model_file = os.path.join(args.output_dir, \"pytorch_model.bin\")\r\nif n_gpu > 1:\r\n torch.save(model.module.bert.state_dict(), output_model_file)\r\nelse:... |
https://api.github.com/repos/huggingface/transformers/issues/342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/342/comments | https://api.github.com/repos/huggingface/transformers/issues/342/events | https://github.com/huggingface/transformers/issues/342 | 417,050,205 | MDU6SXNzdWU0MTcwNTAyMDU= | 342 | Usage example needs [CLS] and [SEP] added post-tokenization | {
"login": "jplehmann",
"id": 460964,
"node_id": "MDQ6VXNlcjQ2MDk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/460964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplehmann",
"html_url": "https://github.com/jplehmann",
"followers_url": "https://api.github.com/users/jple... | [] | closed | false | [] | null | 1 | 2019-03-05T00:00:37Z | 2019-03-05T19:05:47Z | 2019-03-05T19:05:47Z | null | CONTRIBUTOR | [] | null | null | null | null | Since probably #176, the usage example results in the special tokens getting normalized in a bad way and the assertion clearly fails.
```
['[',
'cl',
'##s',
']',
'who',
'was',
'jim',
'henson',
'[MASK]',
'[',
'sep',
']',
'jim',
'henson',
'was',
'a',
'puppet',
'##eer',
'[',
'sep',
... | {
"login": "jplehmann",
"id": 460964,
"node_id": "MDQ6VXNlcjQ2MDk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/460964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplehmann",
"html_url": "https://github.com/jplehmann",
"followers_url": "https://api.github.com/users/jple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/342/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 | [
"Argh, I just realized that due to dependency conflicts, pip had installed an old version `0.3.0`.\r\n\r\nWas fixed here:\r\nhttps://github.com/huggingface/pytorch-pretrained-BERT/issues/303\r\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/346/comments | https://api.github.com/repos/huggingface/transformers/issues/346/events | https://github.com/huggingface/transformers/issues/346 | 417,441,346 | MDU6SXNzdWU0MTc0NDEzNDY= | 346 | MRPC Score Lower than Expected | {
"login": "jplehmann",
"id": 460964,
"node_id": "MDQ6VXNlcjQ2MDk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/460964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplehmann",
"html_url": "https://github.com/jplehmann",
"followers_url": "https://api.github.com/users/jple... | [] | closed | false | [] | null | 1 | 2019-03-05T18:25:44Z | 2019-03-05T19:21:07Z | 2019-03-05T19:21:07Z | null | CONTRIBUTOR | [] | null | null | null | null | I expect to see MRPC scores between 84-88% as advertised. What I am seeing with different seeds is 79-84% consistently. (I thought perhaps the weight initialization was the issue but seems not to be the case #339.)
I am running with the provided command and fp16, using a GCE instance with a Tesla T4.
> time py... | {
"login": "jplehmann",
"id": 460964,
"node_id": "MDQ6VXNlcjQ2MDk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/460964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplehmann",
"html_url": "https://github.com/jplehmann",
"followers_url": "https://api.github.com/users/jple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/346/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 | [
"Argh, just realized I was on `0.3.0` which is what pip installed due to some dependencies. Upgrading to `0.6.1` and now I'm getting expected scores:\r\n```\r\neval_accuracy = 0.8529411764705882\r\neval_loss = 0.39120761538837473\r\nglobal_step = 345\r\nloss = 0.17308216924252717\r\n\r\neval_accuracy = 0.843137254... |
https://api.github.com/repos/huggingface/transformers/issues/327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/327/comments | https://api.github.com/repos/huggingface/transformers/issues/327/events | https://github.com/huggingface/transformers/pull/327 | 415,258,178 | MDExOlB1bGxSZXF1ZXN0MjU2Nzg1NjI3 | 327 | Issue#324: warmup linear fixes | {
"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 | 2019-02-27T18:10:13Z | 2019-03-06T08:44:57Z | 2019-03-06T08:44:57Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/327",
"html_url": "https://github.com/huggingface/transformers/pull/327",
"diff_url": "https://github.com/huggingface/transformers/pull/327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/327.patch",
"merged_at": "2019... | Fixes for [Issue#324](https://github.com/huggingface/pytorch-pretrained-BERT/issues/324).
- Using the same schedule functions in BertAdam and OpenAIAdam, fixing `warmup_linear` of OpenAIAdam
- fix for negative learning rate after t_total for `warmup_linear`
- some more docstrings
- warning when t_total is exceede... | {
"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/327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/327/timeline | null | null | null | null | null | null | true | [
"Great, thanks @lukovnikov!"
] |
https://api.github.com/repos/huggingface/transformers/issues/341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/341/comments | https://api.github.com/repos/huggingface/transformers/issues/341/events | https://github.com/huggingface/transformers/pull/341 | 417,023,120 | MDExOlB1bGxSZXF1ZXN0MjU4MTEzNTQ3 | 341 | catch exception if pathlib not install | {
"login": "potatochip",
"id": 10922120,
"node_id": "MDQ6VXNlcjEwOTIyMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10922120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/potatochip",
"html_url": "https://github.com/potatochip",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2019-03-04T22:31:41Z | 2019-03-06T08:48:07Z | 2019-03-06T08:48:02Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/341",
"html_url": "https://github.com/huggingface/transformers/pull/341",
"diff_url": "https://github.com/huggingface/transformers/pull/341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/341.patch",
"merged_at": "2019... | {
"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/341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/341/timeline | null | null | null | null | null | null | true | [
"Thanks!"
] | |
https://api.github.com/repos/huggingface/transformers/issues/347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/347/comments | https://api.github.com/repos/huggingface/transformers/issues/347/events | https://github.com/huggingface/transformers/pull/347 | 417,468,974 | MDExOlB1bGxSZXF1ZXN0MjU4NDU5NjA3 | 347 | Processor for SST-2 task | {
"login": "jplehmann",
"id": 460964,
"node_id": "MDQ6VXNlcjQ2MDk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/460964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplehmann",
"html_url": "https://github.com/jplehmann",
"followers_url": "https://api.github.com/users/jple... | [] | closed | false | [] | null | 1 | 2019-03-05T19:39:29Z | 2019-03-06T08:48:37Z | 2019-03-06T08:48:27Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/347",
"html_url": "https://github.com/huggingface/transformers/pull/347",
"diff_url": "https://github.com/huggingface/transformers/pull/347.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/347.patch",
"merged_at": "2019... | Added a processor for SST-2 to the `run_classifier` script.
| {
"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/347/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/347/timeline | null | null | null | null | null | null | true | [
"Thanks @jplehmann!"
] |
https://api.github.com/repos/huggingface/transformers/issues/348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/348/comments | https://api.github.com/repos/huggingface/transformers/issues/348/events | https://github.com/huggingface/transformers/pull/348 | 417,472,951 | MDExOlB1bGxSZXF1ZXN0MjU4NDYyNzI3 | 348 | output data | {
"login": "athorneak13",
"id": 43690738,
"node_id": "MDQ6VXNlcjQzNjkwNzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/43690738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athorneak13",
"html_url": "https://github.com/athorneak13",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 1 | 2019-03-05T19:50:04Z | 2019-03-06T08:49:06Z | 2019-03-06T08:49:06Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/348",
"html_url": "https://github.com/huggingface/transformers/pull/348",
"diff_url": "https://github.com/huggingface/transformers/pull/348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/348.patch",
"merged_at": null
... | {
"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/348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/348/timeline | null | null | null | null | null | null | true | [
"Wrong upstream I guess. Closing."
] | |
https://api.github.com/repos/huggingface/transformers/issues/239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/239/comments | https://api.github.com/repos/huggingface/transformers/issues/239/events | https://github.com/huggingface/transformers/issues/239 | 404,850,329 | MDU6SXNzdWU0MDQ4NTAzMjk= | 239 | cannot load BERTAdam when restoring from BioBert | {
"login": "mikerossgithub",
"id": 20446922,
"node_id": "MDQ6VXNlcjIwNDQ2OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/20446922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikerossgithub",
"html_url": "https://github.com/mikerossgithub",
"followers_url": "https://api.gi... | [] | closed | false | [] | null | 5 | 2019-01-30T16:21:09Z | 2019-03-06T08:54:27Z | 2019-03-06T08:54:27Z | null | NONE | [] | null | null | null | null | I am trying to convert the recently released BioBert checkpoint: https://github.com/naver/biobert-pretrained
The conversion script loads the checkpoint, but appears to balk at BERTAdam when building the Pytorch model.
```
...
Building PyTorch model from configuration: {
"attention_probs_dropout_prob": 0.1,
... | {
"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/239/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/239/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 see. This is because they didn't use the same names for the adam optimizer variables than the Google team. I'll see if I can find a simple way around this for future cases.\r\n\r\nIn the mean time, you can install `pytorch-pretrained-bert` from the master (`git clone ...` and `pip install -e .`) and add the name... |
https://api.github.com/repos/huggingface/transformers/issues/256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/256/comments | https://api.github.com/repos/huggingface/transformers/issues/256/events | https://github.com/huggingface/transformers/issues/256 | 407,051,972 | MDU6SXNzdWU0MDcwNTE5NzI= | 256 | does run_lm_finetuning.py actually use --eval_batch_size? | {
"login": "bsugerman",
"id": 22836928,
"node_id": "MDQ6VXNlcjIyODM2OTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/22836928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bsugerman",
"html_url": "https://github.com/bsugerman",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 4 | 2019-02-06T01:57:28Z | 2019-03-06T08:55:13Z | 2019-03-06T08:55:00Z | null | NONE | [] | null | null | null | null | I'm looking through this code (thanks so much for writing it, btw) and I'm not seeing whether it actually uses eval_batch_size at all. If it doesn't, is it still performing an evaluation step to assess goodness of fit? | {
"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/256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/256/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 | [
"No, there's no evaluation step in the example script yet. What I can recommend is using your downstream task for evaluation of the pretrained BERT. Alternatively, you could of course also add some evaluation of the LM / nextSentence loss on a validation set.",
"Perhaps for clarity then, that parameter should be ... |
https://api.github.com/repos/huggingface/transformers/issues/257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/257/comments | https://api.github.com/repos/huggingface/transformers/issues/257/events | https://github.com/huggingface/transformers/issues/257 | 407,218,110 | MDU6SXNzdWU0MDcyMTgxMTA= | 257 | Minor redundancy in model defintion? | {
"login": "mttk",
"id": 3007947,
"node_id": "MDQ6VXNlcjMwMDc5NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3007947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mttk",
"html_url": "https://github.com/mttk",
"followers_url": "https://api.github.com/users/mttk/followers",
... | [] | closed | false | [] | null | 1 | 2019-02-06T12:44:46Z | 2019-03-06T08:56:02Z | 2019-03-06T08:56:01Z | null | NONE | [] | null | null | null | null | this is a _major_ nitpick but it was a bit confusing at first:
https://github.com/huggingface/pytorch-pretrained-BERT/blob/822915142b2f201c0b01acd7cffe1b05994d2d82/pytorch_pretrained_bert/modeling.py#L206-L212
L212 can simply be replaced by `self.all_head_size = config.hidden_size` as you already error out if the... | {
"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/257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/257/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, feel free to submit a PR. Otherwise, I'll fix it in the next release."
] |
https://api.github.com/repos/huggingface/transformers/issues/264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/264/comments | https://api.github.com/repos/huggingface/transformers/issues/264/events | https://github.com/huggingface/transformers/issues/264 | 408,729,916 | MDU6SXNzdWU0MDg3Mjk5MTY= | 264 | RuntimeError: cuda runtime error while running run_classifier.py with 'bert-large-uncased' bert model | {
"login": "laibamehnaz",
"id": 36405283,
"node_id": "MDQ6VXNlcjM2NDA1Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laibamehnaz",
"html_url": "https://github.com/laibamehnaz",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 4 | 2019-02-11T11:05:22Z | 2019-03-06T08:57:51Z | 2019-03-06T08:57:51Z | null | NONE | [] | null | null | null | null | {
"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/264/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/264/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 | [
"reduce batch size?",
"It is 32 as of now . What do you think I should reduce it to ?",
"Start very low and increase while looking at `nvidia-smi` or a similar GPU memory visualization tool.",
"Closing this for now, feel free to re-open if you have other issues."
] | |
https://api.github.com/repos/huggingface/transformers/issues/272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/272/comments | https://api.github.com/repos/huggingface/transformers/issues/272/events | https://github.com/huggingface/transformers/issues/272 | 409,598,865 | MDU6SXNzdWU0MDk1OTg4NjU= | 272 | Facing issue in Run Fine tune LM | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-02-13T02:45:55Z | 2019-03-06T09:00:21Z | 2019-03-06T09:00:20Z | null | NONE | [] | null | null | null | null | So my LM sample.txt is such that each doc has only one line
So in BERTDataSet len is giving negative
I tried changing it to self.num_docs - 1
def __len__(self):
print(self.corpus_lines ,self.num_docs)
return self.corpus_lines - self.num_docs - 1
I am also getting errors at multiple steps, Is the... | {
"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/272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/272/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, you need documents with multiple lines because only sentences from the same doc are used as positive examples for the nextSentence prediction. ",
"Seems like the expected behavior. Feel free to open a PR to extend the example if you want @tuhinjubcse."
] |
https://api.github.com/repos/huggingface/transformers/issues/274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/274/comments | https://api.github.com/repos/huggingface/transformers/issues/274/events | https://github.com/huggingface/transformers/issues/274 | 409,715,950 | MDU6SXNzdWU0MDk3MTU5NTA= | 274 | Help: how to get index/symbol from last_hidden, on text8? | {
"login": "moonblue333",
"id": 3936639,
"node_id": "MDQ6VXNlcjM5MzY2Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3936639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moonblue333",
"html_url": "https://github.com/moonblue333",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 1 | 2019-02-13T09:50:51Z | 2019-03-06T09:00:37Z | 2019-03-06T09:00:37Z | null | NONE | [] | null | null | null | null | I am trying on text8 dataset. I want to print next token. The model in source code forward() output is loss, but I want to get logits and softmax result, and finally get next token in vocab.
how to get index/symbol from last_hidden, on text8?
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/274/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/274/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\nThere is no pretrained character-level model for text8 right now.\r\nOnly a word-level model trained on wikitext 103."
] |
https://api.github.com/repos/huggingface/transformers/issues/279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/279/comments | https://api.github.com/repos/huggingface/transformers/issues/279/events | https://github.com/huggingface/transformers/issues/279 | 410,143,066 | MDU6SXNzdWU0MTAxNDMwNjY= | 279 | DataParallel imbalanced memory usage | {
"login": "hongkahjun",
"id": 29894605,
"node_id": "MDQ6VXNlcjI5ODk0NjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/29894605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hongkahjun",
"html_url": "https://github.com/hongkahjun",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 2 | 2019-02-14T06:06:38Z | 2019-03-06T09:01:28Z | 2019-03-06T09:01:27Z | null | NONE | [] | null | null | null | null | Simialr to this issue: https://discuss.pytorch.org/t/dataparallel-imbalanced-memory-usage/22551/12, when I run run_lm_finetuning.py using 4 GPUs on Microsoft Azure, the first GPU will have 4000MB Memory usage while the other 3 are at 700MB. The Volatile Util for the first GPU also is at 100% while the rest are at 0%. ... | {
"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/279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/279/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 | [
"Managed to get volatile GPU to work properly but memory allocation is sitll imbalanced\r\n\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0 |\r\n|-------------------------------+----------------------... |
https://api.github.com/repos/huggingface/transformers/issues/289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/289/comments | https://api.github.com/repos/huggingface/transformers/issues/289/events | https://github.com/huggingface/transformers/issues/289 | 411,430,245 | MDU6SXNzdWU0MTE0MzAyNDU= | 289 | HugginFace or HuggingFace? | {
"login": "davidefiocco",
"id": 4547987,
"node_id": "MDQ6VXNlcjQ1NDc5ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4547987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidefiocco",
"html_url": "https://github.com/davidefiocco",
"followers_url": "https://api.github.com... | [] | closed | false | [] | null | 1 | 2019-02-18T11:27:20Z | 2019-03-06T09:02:34Z | 2019-03-06T09:02:34Z | null | CONTRIBUTOR | [] | null | null | null | null | Thought to flag, also given the terrific work on this repo (and others), that the company name in the code here seems to be systematically spelt wrong (?)
https://github.com/huggingface/pytorch-pretrained-BERT/search?q=hugginface&unscoped_q=hugginface | {
"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/289/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 4,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/289/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'll fix that in a future release."
] |
https://api.github.com/repos/huggingface/transformers/issues/291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/291/comments | https://api.github.com/repos/huggingface/transformers/issues/291/events | https://github.com/huggingface/transformers/issues/291 | 411,558,891 | MDU6SXNzdWU0MTE1NTg4OTE= | 291 | Too much info @ stdout | {
"login": "mahnerak",
"id": 1367529,
"node_id": "MDQ6VXNlcjEzNjc1Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1367529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mahnerak",
"html_url": "https://github.com/mahnerak",
"followers_url": "https://api.github.com/users/mahne... | [] | closed | false | [] | null | 2 | 2019-02-18T16:30:54Z | 2019-03-06T09:05:27Z | 2019-03-06T09:05:27Z | null | NONE | [] | null | null | null | null | As a library, it is preferred to have no unnecessary `print`s in the repo. Using the `pytorch-pretrained-BERT` makes it impossible to use `stdout` as main output mechanism for my code.
For example: it prints directly to `stdout` "Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex.... | {
"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/291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/291/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 that's right, this one should be a logging.info event like the other ones.",
"Fixed"
] |
https://api.github.com/repos/huggingface/transformers/issues/299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/299/comments | https://api.github.com/repos/huggingface/transformers/issues/299/events | https://github.com/huggingface/transformers/issues/299 | 412,197,859 | MDU6SXNzdWU0MTIxOTc4NTk= | 299 | Tests failure | {
"login": "g-karthik",
"id": 3851993,
"node_id": "MDQ6VXNlcjM4NTE5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-karthik",
"html_url": "https://github.com/g-karthik",
"followers_url": "https://api.github.com/users/g-... | [] | closed | false | [] | null | 5 | 2019-02-20T01:11:52Z | 2019-03-06T09:11:51Z | 2019-03-06T09:11:51Z | null | NONE | [] | null | null | null | null | Steps to reproduce:
1. Clone the repo.
2. Set up a plain virtual environment `venv` for the repo with Python 3.6.
3. Run `pip install .` (using the `[--editable]` didn't work and there was some error, so I just removed it)
4. Run `pip install spacy ftfy==4.4.3` and `python -m spacy download en` -- SUCCESSFUL.
5.... | {
"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/299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/299/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 | [
"Update:\r\n\r\nI manually uninstalled PyTorch (`torch | 1.0.1.post2 | 1.0.1.post2` in the list above) from my venv and installed PyTorch 0.4.0 (I couldn't find the whl file for 0.4.1 for Mac OS, which is my platform) by running\r\n\r\n`pip install https://download.pytorch.org/whl/torch-0.4.0-cp36-cp36m-macosx_10_7... |
https://api.github.com/repos/huggingface/transformers/issues/315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/315/comments | https://api.github.com/repos/huggingface/transformers/issues/315/events | https://github.com/huggingface/transformers/issues/315 | 413,590,083 | MDU6SXNzdWU0MTM1OTAwODM= | 315 | run_classifier.py : TypeError: join() argument must be str or bytes, not 'PosixPath' | {
"login": "WilliamTambellini",
"id": 109458,
"node_id": "MDQ6VXNlcjEwOTQ1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/109458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WilliamTambellini",
"html_url": "https://github.com/WilliamTambellini",
"followers_url": "https://a... | [] | closed | false | [] | null | 3 | 2019-02-22T21:40:50Z | 2019-03-06T09:20:03Z | 2019-03-06T09:20:02Z | null | CONTRIBUTOR | [] | null | null | null | null | when trying the MRPC example :
python3.5 run_classifier.py \
--task_name MRPC \
--do_train \
--do_eval \
--do_lower_case \
--data_dir $GLUE_DIR/MRPC/ \
--bert_model bert-base-uncased \
--max_seq_length 128 \
--train_batch_size 32 \
--learning_rate 2e-5 \
--num_train_epochs 3.0 \
--o... | {
"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/315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/315/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://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/file_utils.py#L30\r\n`PYTORCH_PRETRAINED_BERT_CACHE = Path(os.getenv('PYTORCH_PRETRAINED_BERT_CACHE',\r\n Path.home() / '.pytorch_pretrained_bert'))` --> \r\n`PYTORCH_PRETRAI... |
https://api.github.com/repos/huggingface/transformers/issues/318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/318/comments | https://api.github.com/repos/huggingface/transformers/issues/318/events | https://github.com/huggingface/transformers/issues/318 | 413,789,252 | MDU6SXNzdWU0MTM3ODkyNTI= | 318 | TransfoXLLMHeadModel output interpretation | {
"login": "bergen",
"id": 886963,
"node_id": "MDQ6VXNlcjg4Njk2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/886963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bergen",
"html_url": "https://github.com/bergen",
"followers_url": "https://api.github.com/users/bergen/follow... | [] | closed | false | [] | null | 1 | 2019-02-24T06:52:50Z | 2019-03-06T09:25:23Z | 2019-03-06T09:25:23Z | null | NONE | [] | null | null | null | null | TransfoXLLMHeadModel gives an output of log probabilities of shape [batch_size, sequence_length, n_tokens]. What do these probabilities represent? For example, what distribution is output at the first sequence position? Is it the conditional distribution given the first word? If so, how can the probability of a complet... | {
"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/318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/318/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\n1/ it's the usual language modeling probabilities: each token probability given the previous tokens\r\n2/ thanks, fixed."
] |
https://api.github.com/repos/huggingface/transformers/issues/321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/321/comments | https://api.github.com/repos/huggingface/transformers/issues/321/events | https://github.com/huggingface/transformers/issues/321 | 414,583,129 | MDU6SXNzdWU0MTQ1ODMxMjk= | 321 | how to load classification model and predict? | {
"login": "Jasperty",
"id": 37020799,
"node_id": "MDQ6VXNlcjM3MDIwNzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/37020799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jasperty",
"html_url": "https://github.com/Jasperty",
"followers_url": "https://api.github.com/users/Jas... | [] | closed | false | [] | null | 1 | 2019-02-26T12:18:20Z | 2019-03-06T09:26:00Z | 2019-03-06T09:26:00Z | null | NONE | [] | null | null | null | null | i use my output dir as bert_model, but cannot find the model | {
"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/321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/321/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 | [
"Should work. Without more information I can't really help you."
] |
https://api.github.com/repos/huggingface/transformers/issues/322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/322/comments | https://api.github.com/repos/huggingface/transformers/issues/322/events | https://github.com/huggingface/transformers/issues/322 | 414,596,654 | MDU6SXNzdWU0MTQ1OTY2NTQ= | 322 | Single sentence corpus in run_lm_finetuning? | {
"login": "vebits",
"id": 9068991,
"node_id": "MDQ6VXNlcjkwNjg5OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9068991?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vebits",
"html_url": "https://github.com/vebits",
"followers_url": "https://api.github.com/users/vebits/foll... | [] | closed | false | [] | null | 2 | 2019-02-26T12:53:33Z | 2019-03-06T09:26:53Z | 2019-03-06T09:26:53Z | null | NONE | [] | null | null | null | null | Hi,
I am trying to pre-train using `BertForPreTraning` in `run_lm_finetuning.py`. My target corpus is based on very many tweets and I am unsure how the model will tackle that since they are mostly only one sentence. Will it affect the IsNextSentence task?
Should my .txt input file consist of one tweet on each li... | {
"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/322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/322/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://github.com/huggingface/pytorch-pretrained-BERT/issues/272\r\n\r\nI had the same issue and but apparently this cant be done in BERT",
"Yes, can't be done currently. Feel free to submit a PR to extend the `run_lm_finetuning` example @vebits!"
] |
https://api.github.com/repos/huggingface/transformers/issues/326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/326/comments | https://api.github.com/repos/huggingface/transformers/issues/326/events | https://github.com/huggingface/transformers/issues/326 | 414,938,885 | MDU6SXNzdWU0MTQ5Mzg4ODU= | 326 | run_classifier with evaluation job only | {
"login": "PaulZhangIsing",
"id": 27721543,
"node_id": "MDQ6VXNlcjI3NzIxNTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/27721543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulZhangIsing",
"html_url": "https://github.com/PaulZhangIsing",
"followers_url": "https://api.gi... | [] | closed | false | [] | null | 3 | 2019-02-27T04:24:42Z | 2019-03-06T09:29:50Z | 2019-03-06T09:29:50Z | null | NONE | [] | null | null | null | null | Thanks for giving such awesome project.
However, I have encountered some problem.
After training the model, I just want to do eval on another dataset with the trained model. Therefore I only open do_eval.
However, it gives me this error:
Traceback (most recent call last):
File "run_classifier_torch.py", line 6... | {
"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/326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/326/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 | [
" evalonly works last ver, need to mv some code out of train...",
"> evalonly works last ver, need to mv some code out of train...\r\n\r\nyup I agree. I shall do the eval loss and do it\r\n",
"Seems fixed in master, right? Feel free to re-open the issue if it's not the case."
] |
https://api.github.com/repos/huggingface/transformers/issues/330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/330/comments | https://api.github.com/repos/huggingface/transformers/issues/330/events | https://github.com/huggingface/transformers/issues/330 | 415,471,564 | MDU6SXNzdWU0MTU0NzE1NjQ= | 330 | Can we fine tune our model on Chinese corpus | {
"login": "kennethliukai",
"id": 7746298,
"node_id": "MDQ6VXNlcjc3NDYyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7746298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kennethliukai",
"html_url": "https://github.com/kennethliukai",
"followers_url": "https://api.github.... | [] | closed | false | [] | null | 1 | 2019-02-28T06:43:35Z | 2019-03-06T09:40:43Z | 2019-03-06T09:40:43Z | null | NONE | [] | null | null | null | null | Is this pre-trained BERT good for NER or classification on Chinese corpus?
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/330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/330/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 should probably use the `bert-base-chinese` model to start from.\r\nPlease refer to the original bert tensorflow implementation from Google.\r\nThere are a lot of discussion about chinese models in the issues of this repo."
] |
https://api.github.com/repos/huggingface/transformers/issues/333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/333/comments | https://api.github.com/repos/huggingface/transformers/issues/333/events | https://github.com/huggingface/transformers/issues/333 | 415,994,820 | MDU6SXNzdWU0MTU5OTQ4MjA= | 333 | Add lm and next sentence accuracy for run_lm_finetuning example | {
"login": "weiczhu",
"id": 11749368,
"node_id": "MDQ6VXNlcjExNzQ5MzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/11749368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weiczhu",
"html_url": "https://github.com/weiczhu",
"followers_url": "https://api.github.com/users/weiczh... | [] | closed | false | [] | null | 1 | 2019-03-01T08:34:15Z | 2019-03-06T09:41:27Z | 2019-03-06T09:41:27Z | null | NONE | [] | null | null | null | null | {
"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/333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/333/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, feel free to submit a PR for that."
] | |
https://api.github.com/repos/huggingface/transformers/issues/340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/340/comments | https://api.github.com/repos/huggingface/transformers/issues/340/events | https://github.com/huggingface/transformers/issues/340 | 416,582,484 | MDU6SXNzdWU0MTY1ODI0ODQ= | 340 | optimizer.zero_grad() in run_openai_gpt.py? | {
"login": "jaminche",
"id": 21203744,
"node_id": "MDQ6VXNlcjIxMjAzNzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/21203744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaminche",
"html_url": "https://github.com/jaminche",
"followers_url": "https://api.github.com/users/jam... | [] | closed | false | [] | null | 1 | 2019-03-03T23:51:47Z | 2019-03-06T10:44:01Z | 2019-03-06T10:44:01Z | null | NONE | [] | null | null | null | null | In `run_openai_gpt.py`, should there be a call to `optimizer.zero_grad()` after updating parameters so that we zero out the gradients between minibatches?
https://github.com/huggingface/pytorch-pretrained-BERT/blob/2152bfeae82439600dc5b5deab057a3c4331c62d/examples/run_openai_gpt.py#L212 | {
"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/340/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/340/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 that's a mistake indeed, thanks for pointing out.\r\nFixed on master."
] |
https://api.github.com/repos/huggingface/transformers/issues/234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/234/comments | https://api.github.com/repos/huggingface/transformers/issues/234/events | https://github.com/huggingface/transformers/issues/234 | 404,294,481 | MDU6SXNzdWU0MDQyOTQ0ODE= | 234 | Fine tuning for evaluation | {
"login": "Alexadar",
"id": 14125937,
"node_id": "MDQ6VXNlcjE0MTI1OTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/14125937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alexadar",
"html_url": "https://github.com/Alexadar",
"followers_url": "https://api.github.com/users/Ale... | [] | closed | false | [] | null | 9 | 2019-01-29T13:36:53Z | 2019-03-06T13:02:18Z | 2019-03-06T12:18:20Z | null | NONE | [] | null | null | null | null | Hi!
1) Help me please figure out, what would be optimal batch size for evaluating nextSentencePrediction model? For performance. Is it same as used during pre-training (128)?
2) If i building high performance evaluating backend on CUDA, would it be a good idea to use several threads with bert model in each, or its ... | {
"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/234/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/234/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 | [
"1. For evaluation I would advise the maximum batch size that your GPU allows. You will be able to use more efficiently this way.\r\n\r\n2. I think you will be better off by using a single thread.",
"Thanks! How can i figure out optimal batch size? I want to try tesla k80",
"You increase it gradually and when t... |
https://api.github.com/repos/huggingface/transformers/issues/309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/309/comments | https://api.github.com/repos/huggingface/transformers/issues/309/events | https://github.com/huggingface/transformers/issues/309 | 412,807,997 | MDU6SXNzdWU0MTI4MDc5OTc= | 309 | Tests error: Issue with python3 compatibility, on zope interface implementation | {
"login": "AprilSongRits",
"id": 20080322,
"node_id": "MDQ6VXNlcjIwMDgwMzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/20080322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AprilSongRits",
"html_url": "https://github.com/AprilSongRits",
"followers_url": "https://api.githu... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
}
] | closed | false | [] | null | 3 | 2019-02-21T08:41:35Z | 2019-03-07T03:07:16Z | 2019-03-07T03:07:16Z | null | NONE | [] | null | null | null | null | Hi, I came across the following error after run **python -m pytest tests/modeling_test.py**
________________________________________________________________________________ ERROR collecting tests/modeling_test.py __________________________________________________________________________________
modeling_test.py:25:... | {
"login": "AprilSongRits",
"id": 20080322,
"node_id": "MDQ6VXNlcjIwMDgwMzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/20080322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AprilSongRits",
"html_url": "https://github.com/AprilSongRits",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/309/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 | [
"any solution here?",
"This looks like an incompatibility between apex and zope.\r\nHave you tried without installing apex?",
"> This looks like an incompatibility between apex and zope.\r\n> Have you tried without installing apex?\r\n\r\nI uninstalled apex, it works now!\r\nThank you so much!!!! "
] |
https://api.github.com/repos/huggingface/transformers/issues/356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/356/comments | https://api.github.com/repos/huggingface/transformers/issues/356/events | https://github.com/huggingface/transformers/issues/356 | 418,022,337 | MDU6SXNzdWU0MTgwMjIzMzc= | 356 | How to add input mask to GPT? | {
"login": "jolinxql",
"id": 5552657,
"node_id": "MDQ6VXNlcjU1NTI2NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5552657?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jolinxql",
"html_url": "https://github.com/jolinxql",
"followers_url": "https://api.github.com/users/jolin... | [] | closed | false | [] | null | 1 | 2019-03-06T21:41:43Z | 2019-03-07T07:49:19Z | 2019-03-07T07:49:18Z | null | NONE | [] | null | null | null | null | I use `attention_mask` when I do `bert.forward(input, attention_mask)`. But in GPT, when I try to pass a batch of input to `OpenAIGPTModel` to extract a batch of features, and the lengths of sentences in a batch are different, I have no idea how to do it. Or maybe it doesn't need the mask to be given? If so, is zero th... | {
"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/356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/356/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 | [
"GPT is a causal model so each tokens only attend to the left context and masking is not really needed.\r\nJust mask the output according to your lengths (and be such that each input sample start at the very first left token)."
] |
https://api.github.com/repos/huggingface/transformers/issues/336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/336/comments | https://api.github.com/repos/huggingface/transformers/issues/336/events | https://github.com/huggingface/transformers/issues/336 | 416,450,176 | MDU6SXNzdWU0MTY0NTAxNzY= | 336 | F1 and EM scores output for run_squad.py | {
"login": "mingkkkkk",
"id": 48165602,
"node_id": "MDQ6VXNlcjQ4MTY1NjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/48165602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingkkkkk",
"html_url": "https://github.com/mingkkkkk",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
}
] | closed | false | [] | null | 6 | 2019-03-02T22:42:27Z | 2019-03-09T20:57:26Z | 2019-03-09T20:57:26Z | null | NONE | [] | null | null | null | null | Hi,
I was doing prediction after fine-tuning the bert-base model and I was wondering whether the f1 and em scores will show automatically since I only saw the following two log outputs
03/02/2019 22:20:05 - INFO - __main__ - Writing predictions to: /tmp/debug_squad/predictions.json
03/02/2019 22:20:05 - INFO - ... | {
"login": "mingkkkkk",
"id": 48165602,
"node_id": "MDQ6VXNlcjQ4MTY1NjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/48165602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingkkkkk",
"html_url": "https://github.com/mingkkkkk",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/336/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 | [
"Use the Squad python scripts available on their website",
"Is that run_squad.py? I used that one but didn’t see output scores, having\nthe output predictions files though. Thanks!\n\nabeljim <notifications@github.com>于2019年3月3日 周日上午3:03写道:\n\n> Use the Squad python scripts available on their website\n>\n> —\n> Y... |
https://api.github.com/repos/huggingface/transformers/issues/345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/345/comments | https://api.github.com/repos/huggingface/transformers/issues/345/events | https://github.com/huggingface/transformers/issues/345 | 417,196,931 | MDU6SXNzdWU0MTcxOTY5MzE= | 345 | Not able to import RandomSampler, Getting error "ImportError: cannot import name 'RandomSampler'"? | {
"login": "Linkyx",
"id": 10572007,
"node_id": "MDQ6VXNlcjEwNTcyMDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/10572007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Linkyx",
"html_url": "https://github.com/Linkyx",
"followers_url": "https://api.github.com/users/Linkyx/fo... | [] | closed | false | [] | null | 2 | 2019-03-05T09:24:19Z | 2019-03-11T02:36:31Z | 2019-03-06T06:26:18Z | null | NONE | [] | null | null | null | null | Not able to import RandomSampler, Getting error "ImportError: cannot import name 'RandomSampler'"? Did I get a wrong torch version? | {
"login": "Linkyx",
"id": 10572007,
"node_id": "MDQ6VXNlcjEwNTcyMDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/10572007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Linkyx",
"html_url": "https://github.com/Linkyx",
"followers_url": "https://api.github.com/users/Linkyx/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/345/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/345/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 | [
"how do you fix this issue?",
"> how do you fix this issue?\r\n\r\ntry to update your torch version,i found it didn't work in torch 4.0.0, try \"torch >=4.0.1\""
] |
https://api.github.com/repos/huggingface/transformers/issues/281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/281/comments | https://api.github.com/repos/huggingface/transformers/issues/281/events | https://github.com/huggingface/transformers/issues/281 | 410,646,108 | MDU6SXNzdWU0MTA2NDYxMDg= | 281 | Conversion of gpt-2 small model | {
"login": "lahwran",
"id": 550498,
"node_id": "MDQ6VXNlcjU1MDQ5OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/550498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lahwran",
"html_url": "https://github.com/lahwran",
"followers_url": "https://api.github.com/users/lahwran/fo... | [] | closed | false | [] | null | 6 | 2019-02-15T07:52:25Z | 2019-03-11T08:04:41Z | 2019-02-18T10:43:00Z | null | NONE | [] | null | null | null | null | Hey! This seems like something a lot of folks will want. I'd like to be able to load GPT-2 117M and fine-tune it. What's necessary to convert it? I looked at the tensorflow code a little and it looks vaguely related to transformer xl, but I haven't looked at the paper yet or etc. | {
"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/281/reactions",
"total_count": 13,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/281/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'd like to help out on this. I will have a look and try to understand the earlier bridges in this repo. Let me know if you see anywhere a newcomer can be helpful with.",
"Sure, would be happy to welcome a PR.\r\nYou can start from `modeling_openai.py` and `tokenization_openai.py`'s codes.\r\nIt's pretty much th... |
https://api.github.com/repos/huggingface/transformers/issues/357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/357/comments | https://api.github.com/repos/huggingface/transformers/issues/357/events | https://github.com/huggingface/transformers/pull/357 | 418,202,612 | MDExOlB1bGxSZXF1ZXN0MjU5MDI5Mjg5 | 357 | Use Dropout Layer in OpenAIGPTMultipleChoiceHead | {
"login": "pglock",
"id": 8183619,
"node_id": "MDQ6VXNlcjgxODM2MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8183619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pglock",
"html_url": "https://github.com/pglock",
"followers_url": "https://api.github.com/users/pglock/foll... | [] | closed | false | [] | null | 1 | 2019-03-07T09:15:06Z | 2019-03-11T08:06:28Z | 2019-03-11T08:06:28Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/357",
"html_url": "https://github.com/huggingface/transformers/pull/357",
"diff_url": "https://github.com/huggingface/transformers/pull/357.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/357.patch",
"merged_at": "2019... | closes #354 | {
"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/357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/357/timeline | null | null | null | null | null | null | true | [
"Seems good to me, thanks for that.\r\nLet me just check why we don't have Circle-CI tests on the PR anymore and I'll merge it."
] |
https://api.github.com/repos/huggingface/transformers/issues/354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/354/comments | https://api.github.com/repos/huggingface/transformers/issues/354/events | https://github.com/huggingface/transformers/issues/354 | 417,878,794 | MDU6SXNzdWU0MTc4Nzg3OTQ= | 354 | Dropout Layer in OpenAIGPTMultipleChoiceHead not used | {
"login": "pglock",
"id": 8183619,
"node_id": "MDQ6VXNlcjgxODM2MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8183619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pglock",
"html_url": "https://github.com/pglock",
"followers_url": "https://api.github.com/users/pglock/foll... | [] | closed | false | [] | null | 0 | 2019-03-06T15:56:16Z | 2019-03-11T08:06:28Z | 2019-03-11T08:06:28Z | null | CONTRIBUTOR | [] | null | null | null | null | [OpenAIGPTMultipleChoiceHead](https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/modeling_openai.py#L363) defines an additional dropout layer, which is not used in `forward`.
| {
"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/354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/354/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/358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/358/comments | https://api.github.com/repos/huggingface/transformers/issues/358/events | https://github.com/huggingface/transformers/pull/358 | 418,274,901 | MDExOlB1bGxSZXF1ZXN0MjU5MDg1NzYx | 358 | add 'padding_idx=0' for BertEmbeddings | {
"login": "haozheji",
"id": 25786613,
"node_id": "MDQ6VXNlcjI1Nzg2NjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/25786613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haozheji",
"html_url": "https://github.com/haozheji",
"followers_url": "https://api.github.com/users/hao... | [] | closed | false | [] | null | 1 | 2019-03-07T12:03:08Z | 2019-03-11T08:07:03Z | 2019-03-11T08:06:55Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/358",
"html_url": "https://github.com/huggingface/transformers/pull/358",
"diff_url": "https://github.com/huggingface/transformers/pull/358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/358.patch",
"merged_at": "2019... | {
"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/358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/358/timeline | null | null | null | null | null | null | true | [
"Thanks @cdjhz "
] | |
https://api.github.com/repos/huggingface/transformers/issues/344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/344/comments | https://api.github.com/repos/huggingface/transformers/issues/344/events | https://github.com/huggingface/transformers/issues/344 | 417,137,321 | MDU6SXNzdWU0MTcxMzczMjE= | 344 | BertEmbedding not initialized with `padding_idx=0` | {
"login": "haozheji",
"id": 25786613,
"node_id": "MDQ6VXNlcjI1Nzg2NjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/25786613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haozheji",
"html_url": "https://github.com/haozheji",
"followers_url": "https://api.github.com/users/hao... | [] | closed | false | [] | null | 2 | 2019-03-05T06:23:48Z | 2019-03-11T08:07:42Z | 2019-03-11T08:07:41Z | null | CONTRIBUTOR | [] | null | null | null | null | https://github.com/huggingface/pytorch-pretrained-BERT/blob/2152bfeae82439600dc5b5deab057a3c4331c62d/pytorch_pretrained_bert/modeling.py#L696
The bert-embeddings are not initialized with `padding_idx=0`, which may potentially result in none zero embeddings for zeros paddings in some early version of 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/344/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/344/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 | [
"Could be, do you want to submit a PR to update this?",
"Closed by #358, thanks @cdjhz!"
] |
https://api.github.com/repos/huggingface/transformers/issues/362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/362/comments | https://api.github.com/repos/huggingface/transformers/issues/362/events | https://github.com/huggingface/transformers/pull/362 | 419,078,044 | MDExOlB1bGxSZXF1ZXN0MjU5NjkyOTc3 | 362 | Make the hyperlink of NVIDIA Apex clickable | {
"login": "bharatr21",
"id": 13381361,
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharatr21",
"html_url": "https://github.com/bharatr21",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-03-09T14:39:38Z | 2019-03-11T08:08:57Z | 2019-03-11T08:08:52Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/362",
"html_url": "https://github.com/huggingface/transformers/pull/362",
"diff_url": "https://github.com/huggingface/transformers/pull/362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/362.patch",
"merged_at": "2019... | In the case of the ImportError in modeling.py [here](https://github.com/huggingface/pytorch-pretrained-BERT/blob/7cc35c31040d8bdfcadc274c087d6a73c2036210/pytorch_pretrained_bert/modeling.py#L219), make the hyperlink to NVIDIA Apex redirect properly by spacing the '.' | {
"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/362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/362/timeline | null | null | null | null | null | null | true | [
"Thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/374/comments | https://api.github.com/repos/huggingface/transformers/issues/374/events | https://github.com/huggingface/transformers/pull/374 | 420,484,831 | MDExOlB1bGxSZXF1ZXN0MjYwNzU0MzU4 | 374 | handle ImportError exception when used from projects outside | {
"login": "deepbrain",
"id": 10003025,
"node_id": "MDQ6VXNlcjEwMDAzMDI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10003025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepbrain",
"html_url": "https://github.com/deepbrain",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 3 | 2019-03-13T12:56:00Z | 2019-03-14T09:00:48Z | 2019-03-14T09:00:48Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/374",
"html_url": "https://github.com/huggingface/transformers/pull/374",
"diff_url": "https://github.com/huggingface/transformers/pull/374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/374.patch",
"merged_at": null
... | The relative path that starts with . does not work when a file is used from an outside project. I added a safe code to handle the ImportError exception in this case, so I can use the source file without having to make local changes to 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/374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/374/timeline | null | null | null | null | null | null | true | [
"Just doing `from pytorch_pretrained_bert import BertTokenizer, BertModel` in your project doesn't work?\r\n\r\nThat's what they do in [AllenNLP](https://github.com/allenai/allennlp/blob/3f0953d19de3676ea82e642659fc96d90690e34d/allennlp/modules/token_embedders/bert_token_embedder.py#L14) or [flair](https://github.c... |
https://api.github.com/repos/huggingface/transformers/issues/379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/379/comments | https://api.github.com/repos/huggingface/transformers/issues/379/events | https://github.com/huggingface/transformers/pull/379 | 420,900,820 | MDExOlB1bGxSZXF1ZXN0MjYxMDc3MzI3 | 379 | typo | {
"login": "yongbowin",
"id": 20198500,
"node_id": "MDQ6VXNlcjIwMTk4NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/20198500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yongbowin",
"html_url": "https://github.com/yongbowin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 0 | 2019-03-14T09:03:52Z | 2019-03-14T09:17:19Z | 2019-03-14T09:17:19Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/379",
"html_url": "https://github.com/huggingface/transformers/pull/379",
"diff_url": "https://github.com/huggingface/transformers/pull/379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/379.patch",
"merged_at": "2019... | modify `mull` to `null` in line 474 annotation. | {
"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/379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/379/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/380/comments | https://api.github.com/repos/huggingface/transformers/issues/380/events | https://github.com/huggingface/transformers/pull/380 | 420,913,074 | MDExOlB1bGxSZXF1ZXN0MjYxMDg2NjQ4 | 380 | typo in annotation | {
"login": "yongbowin",
"id": 20198500,
"node_id": "MDQ6VXNlcjIwMTk4NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/20198500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yongbowin",
"html_url": "https://github.com/yongbowin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 0 | 2019-03-14T09:32:56Z | 2019-03-14T14:56:41Z | 2019-03-14T14:56:41Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/380",
"html_url": "https://github.com/huggingface/transformers/pull/380",
"diff_url": "https://github.com/huggingface/transformers/pull/380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/380.patch",
"merged_at": "2019... | modify `heruistic` to `heuristic` in line 660, `charcter` to `character` in line 661. | {
"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/380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/380/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/381/comments | https://api.github.com/repos/huggingface/transformers/issues/381/events | https://github.com/huggingface/transformers/pull/381 | 421,481,924 | MDExOlB1bGxSZXF1ZXN0MjYxNTIxOTAw | 381 | Added missing imports. | {
"login": "e-tornike",
"id": 20404466,
"node_id": "MDQ6VXNlcjIwNDA0NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20404466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/e-tornike",
"html_url": "https://github.com/e-tornike",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-03-15T11:50:18Z | 2019-03-15T11:54:54Z | 2019-03-15T11:54:41Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/381",
"html_url": "https://github.com/huggingface/transformers/pull/381",
"diff_url": "https://github.com/huggingface/transformers/pull/381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/381.patch",
"merged_at": "2019... | {
"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/381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/381/timeline | null | null | null | null | null | null | true | [
"Thanks @tseretelitornike!"
] | |
https://api.github.com/repos/huggingface/transformers/issues/383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/383/comments | https://api.github.com/repos/huggingface/transformers/issues/383/events | https://github.com/huggingface/transformers/pull/383 | 421,762,773 | MDExOlB1bGxSZXF1ZXN0MjYxNzQzODU2 | 383 | pull from original | {
"login": "perfmjs",
"id": 3114391,
"node_id": "MDQ6VXNlcjMxMTQzOTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3114391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/perfmjs",
"html_url": "https://github.com/perfmjs",
"followers_url": "https://api.github.com/users/perfmjs/... | [] | closed | false | [] | null | 0 | 2019-03-16T03:04:18Z | 2019-03-16T22:33:43Z | 2019-03-16T22:33:43Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/383",
"html_url": "https://github.com/huggingface/transformers/pull/383",
"diff_url": "https://github.com/huggingface/transformers/pull/383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/383.patch",
"merged_at": null
... | {
"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/383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/383/timeline | null | null | null | null | null | null | true | [] | |
https://api.github.com/repos/huggingface/transformers/issues/371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/371/comments | https://api.github.com/repos/huggingface/transformers/issues/371/events | https://github.com/huggingface/transformers/pull/371 | 420,279,516 | MDExOlB1bGxSZXF1ZXN0MjYwNTk1MzQx | 371 | Simplify code, delete redundancy line | {
"login": "yongbowin",
"id": 20198500,
"node_id": "MDQ6VXNlcjIwMTk4NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/20198500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yongbowin",
"html_url": "https://github.com/yongbowin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-03-13T01:45:46Z | 2019-03-18T06:01:26Z | 2019-03-14T08:03:33Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/371",
"html_url": "https://github.com/huggingface/transformers/pull/371",
"diff_url": "https://github.com/huggingface/transformers/pull/371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/371.patch",
"merged_at": "2019... | delete redundancy line 597 `if args.train` which is the same function to line 547, in order to simplify 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/371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/371/timeline | null | null | null | null | null | null | true | [
"wouldn't this cause some kind of indentation error? (I don't have time to test the change sorry)"
] |
https://api.github.com/repos/huggingface/transformers/issues/350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/350/comments | https://api.github.com/repos/huggingface/transformers/issues/350/events | https://github.com/huggingface/transformers/issues/350 | 417,703,868 | MDU6SXNzdWU0MTc3MDM4Njg= | 350 | Bert Uncased Large giving very low results with SQUAD v1.1 dataset | {
"login": "sarthak221995",
"id": 11936036,
"node_id": "MDQ6VXNlcjExOTM2MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11936036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarthak221995",
"html_url": "https://github.com/sarthak221995",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 0 | 2019-03-06T09:30:23Z | 2019-03-19T04:28:35Z | 2019-03-19T04:28:35Z | null | NONE | [] | null | null | null | null | **Configuration:**
- do_lower_case=True
- max_answer_length=30
- max_answer_length=30
- n_best_size=20
- verbose_logging=False
- bert_model="bert-large-uncased"
- max_seq_length=384
- doc_stride=128
- max_query_length=192
- local_rank=-1
- train_batch_size=12
- predict_batch_size=12
- num_train_epochs=2.0
... | {
"login": "sarthak221995",
"id": 11936036,
"node_id": "MDQ6VXNlcjExOTM2MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11936036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarthak221995",
"html_url": "https://github.com/sarthak221995",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/350/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/361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/361/comments | https://api.github.com/repos/huggingface/transformers/issues/361/events | https://github.com/huggingface/transformers/pull/361 | 419,008,830 | MDExOlB1bGxSZXF1ZXN0MjU5NjQ3NjM0 | 361 | Correct line number in README for classes | {
"login": "junjieqian",
"id": 852826,
"node_id": "MDQ6VXNlcjg1MjgyNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/852826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junjieqian",
"html_url": "https://github.com/junjieqian",
"followers_url": "https://api.github.com/users/j... | [] | closed | false | [] | null | 1 | 2019-03-09T00:28:56Z | 2019-03-19T22:47:51Z | 2019-03-11T08:08:28Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/361",
"html_url": "https://github.com/huggingface/transformers/pull/361",
"diff_url": "https://github.com/huggingface/transformers/pull/361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/361.patch",
"merged_at": "2019... | Correct the linked line number in README for classes | {
"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/361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/361/timeline | null | null | null | null | null | null | true | [
"Thanks @junjieqian!"
] |
https://api.github.com/repos/huggingface/transformers/issues/312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/312/comments | https://api.github.com/repos/huggingface/transformers/issues/312/events | https://github.com/huggingface/transformers/issues/312 | 413,204,487 | MDU6SXNzdWU0MTMyMDQ0ODc= | 312 | Problems converting TF BioBERT model to PyTorch | {
"login": "jwhite2a",
"id": 20924193,
"node_id": "MDQ6VXNlcjIwOTI0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20924193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwhite2a",
"html_url": "https://github.com/jwhite2a",
"followers_url": "https://api.github.com/users/jwh... | [] | closed | false | [] | null | 4 | 2019-02-22T01:47:02Z | 2019-03-21T12:38:46Z | 2019-02-26T00:24:17Z | null | NONE | [] | null | null | null | null | My goal is to convert and train on the [BioBERT pretrained checkpoints](https://github.com/naver/biobert-pretrained) in pytorch and train on the [SQuAD v2.0 Dataset](https://rajpurkar.github.io/SQuAD-explorer/).
I have (seemingly) successfully transfered the checkpoint using the `./pytorch_pretrained_bert/convert_... | {
"login": "jwhite2a",
"id": 20924193,
"node_id": "MDQ6VXNlcjIwOTI0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20924193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwhite2a",
"html_url": "https://github.com/jwhite2a",
"followers_url": "https://api.github.com/users/jwh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/312/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 have solved my issue. All my code was correctly written. The error was an corrupted/improperly saved model.bin file.",
"I'm trying to convert BioBert to Pytorch also, so just wondering if you could share a bit more details on how you are doing the conversion. Thanks!",
"First, I downloaded the BioBERT TF che... |
https://api.github.com/repos/huggingface/transformers/issues/399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/399/comments | https://api.github.com/repos/huggingface/transformers/issues/399/events | https://github.com/huggingface/transformers/issues/399 | 424,392,950 | MDU6SXNzdWU0MjQzOTI5NTA= | 399 | Is the GPT-2 pretrained model language agnostic? | {
"login": "AlyShmahell",
"id": 6887917,
"node_id": "MDQ6VXNlcjY4ODc5MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6887917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlyShmahell",
"html_url": "https://github.com/AlyShmahell",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-03-22T20:45:26Z | 2019-03-25T15:36:55Z | 2019-03-25T15:36:55Z | null | NONE | [] | null | null | null | null | I'm trying to build a language model that trains on a Polish corpus. And I'm wondering if the GPT-2 pretrained model you present supports that, or if it's English only.
Thank You. | {
"login": "AlyShmahell",
"id": 6887917,
"node_id": "MDQ6VXNlcjY4ODc5MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6887917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlyShmahell",
"html_url": "https://github.com/AlyShmahell",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/399/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 Aly, GPT-2 is pretrained on an English only corpus.",
"Hi @thomwolf , thank you for the clarification."
] |
https://api.github.com/repos/huggingface/transformers/issues/413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/413/comments | https://api.github.com/repos/huggingface/transformers/issues/413/events | https://github.com/huggingface/transformers/issues/413 | 425,665,342 | MDU6SXNzdWU0MjU2NjUzNDI= | 413 | Bert Pretrained model has no modules nor parameters | {
"login": "yousenwang",
"id": 10716228,
"node_id": "MDQ6VXNlcjEwNzE2MjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/10716228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yousenwang",
"html_url": "https://github.com/yousenwang",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 0 | 2019-03-26T21:51:14Z | 2019-03-27T00:33:41Z | 2019-03-27T00:33:41Z | null | NONE | [] | null | null | null | null | "from pytorch_pretrained_bert.modeling import BertPreTrainedModel
bert_model = BertPreTrainedModel.from_pretrained(pretrained_model_name_or_path='bert-base-uncased')
bert_model.to(device)"
returns:
2019-03-26 21:38:07,404 pytorch_pretrained_bert.modeling INFO loading archive file https://s3.amazonaws.com/mode... | {
"login": "yousenwang",
"id": 10716228,
"node_id": "MDQ6VXNlcjEwNzE2MjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/10716228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yousenwang",
"html_url": "https://github.com/yousenwang",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/413/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/406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/406/comments | https://api.github.com/repos/huggingface/transformers/issues/406/events | https://github.com/huggingface/transformers/issues/406 | 425,045,668 | MDU6SXNzdWU0MjUwNDU2Njg= | 406 | error when trying to get embeddings after fine tuning | {
"login": "KavyaGujjala",
"id": 28920687,
"node_id": "MDQ6VXNlcjI4OTIwNjg3",
"avatar_url": "https://avatars.githubusercontent.com/u/28920687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KavyaGujjala",
"html_url": "https://github.com/KavyaGujjala",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 1 | 2019-03-25T18:11:36Z | 2019-03-27T09:15:49Z | 2019-03-27T09:15:49Z | null | NONE | [] | null | null | null | null | I have used run_lm_finetuning.py code on my domain specific corpus.
Now I want to use the fine tuned model to get better embeddings.
>>> import torch
>>> config = modeling.BertConfig(attention_probs_dropout_prob=0.1, hidden_dropout_prob=0.1, hidden_size=768, initializer_range=0.02, intermediate_size=3072, max_po... | {
"login": "KavyaGujjala",
"id": 28920687,
"node_id": "MDQ6VXNlcjI4OTIwNjg3",
"avatar_url": "https://avatars.githubusercontent.com/u/28920687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KavyaGujjala",
"html_url": "https://github.com/KavyaGujjala",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/406/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 realised that the way I was loading model was wrong.\r\n\r\nI used this code\r\n\r\n ```\r\n# Save a trained model \r\n model_to_save = model.module if hasattr(model, 'module') else model # Only save the model it-self \r\n output_model_file = os.path.join(args.output_dir, \"pytorch_model.bin\") \r\n torch.save(... |
https://api.github.com/repos/huggingface/transformers/issues/392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/392/comments | https://api.github.com/repos/huggingface/transformers/issues/392/events | https://github.com/huggingface/transformers/pull/392 | 423,390,699 | MDExOlB1bGxSZXF1ZXN0MjYyOTcyNjkw | 392 | Add full language model fine-tuning | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 2 | 2019-03-20T17:48:29Z | 2019-03-27T11:02:37Z | 2019-03-27T11:02:37Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/392",
"html_url": "https://github.com/huggingface/transformers/pull/392",
"diff_url": "https://github.com/huggingface/transformers/pull/392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/392.patch",
"merged_at": "2019... | These scripts add language model fine-tuning that closely mirrors the training process in the original BERT repo. The old fine-tuning example has been renamed `simple_lm_finetuning.py`. The key difference is the old script did not merge sentences when creating training examples, and so tended to create short training e... | {
"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/392/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/392/timeline | null | null | null | null | null | null | true | [
"Also, build_py2 has failed because I deliberately did not include Py2 compatibility - it's only a few months from end-of-life now. If you really want me to, I can go back and include it, but we should be trying to let it go by now!",
"This is really great @Rocketknight1!\r\nThanks for taking the time to make a v... |
https://api.github.com/repos/huggingface/transformers/issues/394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/394/comments | https://api.github.com/repos/huggingface/transformers/issues/394/events | https://github.com/huggingface/transformers/pull/394 | 423,573,705 | MDExOlB1bGxSZXF1ZXN0MjYzMTE3Mzk4 | 394 | Minor change in README | {
"login": "desireevl",
"id": 17139032,
"node_id": "MDQ6VXNlcjE3MTM5MDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/17139032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/desireevl",
"html_url": "https://github.com/desireevl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-03-21T05:04:13Z | 2019-03-27T11:03:01Z | 2019-03-27T11:03:00Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/394",
"html_url": "https://github.com/huggingface/transformers/pull/394",
"diff_url": "https://github.com/huggingface/transformers/pull/394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/394.patch",
"merged_at": "2019... | Spelling fix of: weigths to weights | {
"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/394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/394/timeline | null | null | null | null | null | null | true | [
"Thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/396/comments | https://api.github.com/repos/huggingface/transformers/issues/396/events | https://github.com/huggingface/transformers/pull/396 | 423,718,783 | MDExOlB1bGxSZXF1ZXN0MjYzMjI2Nzk2 | 396 | add tqdm to the process of eval in examples/run_swag.py | {
"login": "IndexFziQ",
"id": 15137975,
"node_id": "MDQ6VXNlcjE1MTM3OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/15137975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IndexFziQ",
"html_url": "https://github.com/IndexFziQ",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 2 | 2019-03-21T13:04:31Z | 2019-03-27T11:03:26Z | 2019-03-27T11:03:26Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/396",
"html_url": "https://github.com/huggingface/transformers/pull/396",
"diff_url": "https://github.com/huggingface/transformers/pull/396.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/396.patch",
"merged_at": "2019... | Maybe better. | {
"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/396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/396/timeline | null | null | null | null | null | null | true | [
"tests/tokenization_openai_test.py::OpenAIGPTTokenizationTest::test_full_tokenizer FAILED",
"Ok, thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/409/comments | https://api.github.com/repos/huggingface/transformers/issues/409/events | https://github.com/huggingface/transformers/pull/409 | 425,405,711 | MDExOlB1bGxSZXF1ZXN0MjY0NTA5NzI5 | 409 | Remove padding_idx from position_embeddings and token_type_embeddings | {
"login": "ikuyamada",
"id": 426342,
"node_id": "MDQ6VXNlcjQyNjM0Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/426342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ikuyamada",
"html_url": "https://github.com/ikuyamada",
"followers_url": "https://api.github.com/users/ikuy... | [] | closed | false | [] | null | 1 | 2019-03-26T13:04:38Z | 2019-03-27T11:30:11Z | 2019-03-27T11:30:04Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/409",
"html_url": "https://github.com/huggingface/transformers/pull/409",
"diff_url": "https://github.com/huggingface/transformers/pull/409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/409.patch",
"merged_at": "2019... | Because embedding vectors at 0th position of `position_embeddings` and `token_type_embeddings` have roles in the model (i.e., representing the first token and the token in the first sentence), these vectors should not be treated as padding vectors. | {
"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/409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/409/timeline | null | null | null | null | null | null | true | [
"Indeed, thanks @ikuyamada!"
] |
https://api.github.com/repos/huggingface/transformers/issues/411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/411/comments | https://api.github.com/repos/huggingface/transformers/issues/411/events | https://github.com/huggingface/transformers/issues/411 | 425,415,282 | MDU6SXNzdWU0MjU0MTUyODI= | 411 | Why average the loss when training on multi-GPUs | {
"login": "pkuyym",
"id": 5782283,
"node_id": "MDQ6VXNlcjU3ODIyODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5782283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkuyym",
"html_url": "https://github.com/pkuyym",
"followers_url": "https://api.github.com/users/pkuyym/foll... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
}
... | closed | false | [] | null | 1 | 2019-03-26T13:23:18Z | 2019-03-27T11:48:34Z | 2019-03-27T11:48:20Z | null | NONE | [] | null | null | null | null | Could anyone help to explain the motivation for this operation?
https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/examples/run_classifier.py#L573-L574 | {
"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/411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/411/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 | [
"Multi-GPU loss returns a tuple of losses with one loss for each GPU.\r\nWe average them to get the full loss. See [this blog post](https://medium.com/huggingface/training-larger-batches-practical-tips-on-1-gpu-multi-gpu-distributed-setups-ec88c3e51255) for more details."
] |
https://api.github.com/repos/huggingface/transformers/issues/376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/376/comments | https://api.github.com/repos/huggingface/transformers/issues/376/events | https://github.com/huggingface/transformers/issues/376 | 420,585,426 | MDU6SXNzdWU0MjA1ODU0MjY= | 376 | run_lm_finetuning generates short training cases | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 7 | 2019-03-13T16:05:30Z | 2019-03-27T12:01:26Z | 2019-03-27T12:01:26Z | null | MEMBER | [] | null | null | null | null | In the original Tensorflow BERT repo, training cases for the Next Sentence task are generated by [concatenating multiple sentences](https://github.com/google-research/bert/blob/master/create_pretraining_data.py#L219) up to the maximum sequence length. In other words the "sentences" used are actually longer chunks of te... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/376/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 | [
"Sorry, I just realized this was mentioned in the [original PR](https://github.com/huggingface/pytorch-pretrained-BERT/pull/124).",
"Indeed. Happy to welcome a PR if you want to improve this example!",
"Working on it now! One question, though: It seems likely that I'll have to make significant changes. The reas... |
https://api.github.com/repos/huggingface/transformers/issues/325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/325/comments | https://api.github.com/repos/huggingface/transformers/issues/325/events | https://github.com/huggingface/transformers/pull/325 | 414,937,998 | MDExOlB1bGxSZXF1ZXN0MjU2NTM0ODg4 | 325 | add BertTokenizer flag to skip basic tokenization | {
"login": "john-hewitt",
"id": 8755768,
"node_id": "MDQ6VXNlcjg3NTU3Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8755768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/john-hewitt",
"html_url": "https://github.com/john-hewitt",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-02-27T04:20:13Z | 2019-03-27T13:01:56Z | 2019-03-06T08:37:12Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/325",
"html_url": "https://github.com/huggingface/transformers/pull/325",
"diff_url": "https://github.com/huggingface/transformers/pull/325.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/325.patch",
"merged_at": "2019... | When tokenization is done before text hits this package (e.g., when tokenization is specified as part of the dataset) there exists a use case for skipping the `BasicTokenizer` step, going right to `WordpieceTokenizer`.
When one still wants to use the `BertTokenizer.from_pretrained` helper function, they have been ab... | {
"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/325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/325/timeline | null | null | null | null | null | null | true | [
"Thanks for the PR (and documenting this), I added a note",
"Ok this is great, thanks @john-hewitt, thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/398/comments | https://api.github.com/repos/huggingface/transformers/issues/398/events | https://github.com/huggingface/transformers/pull/398 | 424,000,240 | MDExOlB1bGxSZXF1ZXN0MjYzNDUwODM5 | 398 | Multi GPU | {
"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 | 2 | 2019-03-22T00:41:21Z | 2019-03-28T04:44:18Z | 2019-03-27T11:13:45Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/398",
"html_url": "https://github.com/huggingface/transformers/pull/398",
"diff_url": "https://github.com/huggingface/transformers/pull/398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/398.patch",
"merged_at": null
... | This is an incomplete proof-of-concept of how to run BERT across multiple GPUs. It will take advantage of multiple GPUs' memory, but not of their compute cores.
Do not merge | {
"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/398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/398/timeline | null | null | null | null | null | null | true | [
"Hi @dirkgr, thanks for this PR.\r\n\r\nI think we will keep all the GPU/multi-GPU logic outside of the main library for now. It makes it easier to integrate the module in downstream libraries and integrating such modifications at the current stage would cause too many breaking changes for the users unfortunately.\... |
https://api.github.com/repos/huggingface/transformers/issues/388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/388/comments | https://api.github.com/repos/huggingface/transformers/issues/388/events | https://github.com/huggingface/transformers/pull/388 | 421,917,407 | MDExOlB1bGxSZXF1ZXN0MjYxODM5NTEw | 388 | Added remaining GLUE tasks to 'run_classifier.py' | {
"login": "ananyahjha93",
"id": 7491256,
"node_id": "MDQ6VXNlcjc0OTEyNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7491256?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ananyahjha93",
"html_url": "https://github.com/ananyahjha93",
"followers_url": "https://api.github.com... | [] | closed | false | [] | null | 3 | 2019-03-17T12:38:27Z | 2019-03-28T08:06:53Z | 2019-03-28T08:06:53Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/388",
"html_url": "https://github.com/huggingface/transformers/pull/388",
"diff_url": "https://github.com/huggingface/transformers/pull/388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/388.patch",
"merged_at": "2019... | Also added metrics used in the GLUE paper for each task. | {
"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/388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/388/timeline | null | null | null | null | null | null | true | [
"Hi @ananyahjha93,\r\nThanks for this PR.\r\nDo you have some results from fine-tuning BERT on the other tasks?\r\nAlso, I think we should add some details on the available tasks in the readme as well.",
"@thomwolf I have added results on GLUE dev set in the README and details on how to run any GLUE task. But, I ... |
https://api.github.com/repos/huggingface/transformers/issues/415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/415/comments | https://api.github.com/repos/huggingface/transformers/issues/415/events | https://github.com/huggingface/transformers/issues/415 | 426,146,199 | MDU6SXNzdWU0MjYxNDYxOTk= | 415 | For sequence classification, is this model using the wrong token? | {
"login": "CatalinVoss",
"id": 332459,
"node_id": "MDQ6VXNlcjMzMjQ1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/332459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CatalinVoss",
"html_url": "https://github.com/CatalinVoss",
"followers_url": "https://api.github.com/user... | [] | closed | false | [] | null | 2 | 2019-03-27T19:32:56Z | 2019-03-28T08:10:33Z | 2019-03-28T08:10:32Z | null | CONTRIBUTOR | [] | null | null | null | null | According to the BERT paper, we want to use the weights for the `[CLS]` token, which – as far as I understand – would be the first hidden output here, not the last?
i.e. shouldn't this be `encoded_layers[0]` below?
https://github.com/huggingface/pytorch-pretrained-BERT/blob/f7c9dc8c998395d2ad9edbf0fd6fa072f03cc66... | {
"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/415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/415/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 | [
"Never mind, I think I got confused. Is it that the pooler already takes care of that and encoded_layers represents the pooler output for each attention layer?",
"Hi Catalin, the content of the outputs (`encoded_layers` and `pooled_output`) is detailed in the readme [here](https://github.com/huggingface/pytorch-p... |
https://api.github.com/repos/huggingface/transformers/issues/425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/425/comments | https://api.github.com/repos/huggingface/transformers/issues/425/events | https://github.com/huggingface/transformers/pull/425 | 426,865,891 | MDExOlB1bGxSZXF1ZXN0MjY1NjIxMjQ5 | 425 | fix lm_finetuning's link | {
"login": "Separius",
"id": 519177,
"node_id": "MDQ6VXNlcjUxOTE3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/519177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Separius",
"html_url": "https://github.com/Separius",
"followers_url": "https://api.github.com/users/Separiu... | [] | closed | false | [] | null | 1 | 2019-03-29T08:09:46Z | 2019-03-29T08:14:17Z | 2019-03-29T08:14:11Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/425",
"html_url": "https://github.com/huggingface/transformers/pull/425",
"diff_url": "https://github.com/huggingface/transformers/pull/425.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/425.patch",
"merged_at": "2019... | {
"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/425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/425/timeline | null | null | null | null | null | null | true | [
"Thanks!"
] | |
https://api.github.com/repos/huggingface/transformers/issues/418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/418/comments | https://api.github.com/repos/huggingface/transformers/issues/418/events | https://github.com/huggingface/transformers/issues/418 | 426,349,075 | MDU6SXNzdWU0MjYzNDkwNzU= | 418 | can I fine-tuning pretrained gpt2 model on my corpus? | {
"login": "marvinzh",
"id": 6829031,
"node_id": "MDQ6VXNlcjY4MjkwMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6829031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marvinzh",
"html_url": "https://github.com/marvinzh",
"followers_url": "https://api.github.com/users/marvi... | [] | closed | false | [] | null | 0 | 2019-03-28T07:58:42Z | 2019-03-30T06:09:13Z | 2019-03-30T06:09:13Z | null | CONTRIBUTOR | [] | null | null | null | null | {
"login": "marvinzh",
"id": 6829031,
"node_id": "MDQ6VXNlcjY4MjkwMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6829031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marvinzh",
"html_url": "https://github.com/marvinzh",
"followers_url": "https://api.github.com/users/marvi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/418/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/430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/430/comments | https://api.github.com/repos/huggingface/transformers/issues/430/events | https://github.com/huggingface/transformers/pull/430 | 427,305,693 | MDExOlB1bGxSZXF1ZXN0MjY1OTU0MTYy | 430 | Fix typo in example code | {
"login": "MottoX",
"id": 6220861,
"node_id": "MDQ6VXNlcjYyMjA4NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6220861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MottoX",
"html_url": "https://github.com/MottoX",
"followers_url": "https://api.github.com/users/MottoX/foll... | [] | closed | false | [] | null | 0 | 2019-03-30T17:21:39Z | 2019-04-02T08:41:56Z | 2019-04-02T08:41:56Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/430",
"html_url": "https://github.com/huggingface/transformers/pull/430",
"diff_url": "https://github.com/huggingface/transformers/pull/430.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/430.patch",
"merged_at": "2019... | Modify 'unambigiously' to 'unambiguously' | {
"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/430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/430/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/437/comments | https://api.github.com/repos/huggingface/transformers/issues/437/events | https://github.com/huggingface/transformers/pull/437 | 428,115,435 | MDExOlB1bGxSZXF1ZXN0MjY2NTU3Nzc5 | 437 | Fix links in README | {
"login": "MottoX",
"id": 6220861,
"node_id": "MDQ6VXNlcjYyMjA4NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6220861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MottoX",
"html_url": "https://github.com/MottoX",
"followers_url": "https://api.github.com/users/MottoX/foll... | [] | closed | false | [] | null | 0 | 2019-04-02T09:24:16Z | 2019-04-02T09:40:47Z | 2019-04-02T09:40:47Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/437",
"html_url": "https://github.com/huggingface/transformers/pull/437",
"diff_url": "https://github.com/huggingface/transformers/pull/437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/437.patch",
"merged_at": "2019... | Fixed two broken links, i.e., _**convert_tf_checkpoint_to_pytorch.py**_ and _**run_squad.py**_.
| {
"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/437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/437/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/435/comments | https://api.github.com/repos/huggingface/transformers/issues/435/events | https://github.com/huggingface/transformers/pull/435 | 427,870,022 | MDExOlB1bGxSZXF1ZXN0MjY2MzY5NDAy | 435 | Fixes to the TensorFlow conversion tool | {
"login": "marpaia",
"id": 927168,
"node_id": "MDQ6VXNlcjkyNzE2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/927168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marpaia",
"html_url": "https://github.com/marpaia",
"followers_url": "https://api.github.com/users/marpaia/fo... | [] | closed | false | [] | null | 1 | 2019-04-01T19:20:50Z | 2019-04-02T16:14:06Z | 2019-04-02T08:41:41Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/435",
"html_url": "https://github.com/huggingface/transformers/pull/435",
"diff_url": "https://github.com/huggingface/transformers/pull/435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/435.patch",
"merged_at": "2019... | This PR contains a small fix to the script which converts TensorFlow weights to PyTorch weights. The related issues are #50, #306, etc.
Thanks for all of the open source code you've been putting out in this domain, it has been incredibly helpful to me and my team. | {
"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/435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/435/timeline | null | null | null | null | null | null | true | [
"Yes! Thanks @marpaia!"
] |
https://api.github.com/repos/huggingface/transformers/issues/373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/373/comments | https://api.github.com/repos/huggingface/transformers/issues/373/events | https://github.com/huggingface/transformers/issues/373 | 420,367,615 | MDU6SXNzdWU0MjAzNjc2MTU= | 373 | performance degraded when using paddings between queries and contexts. | {
"login": "leonwyang",
"id": 32276166,
"node_id": "MDQ6VXNlcjMyMjc2MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32276166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonwyang",
"html_url": "https://github.com/leonwyang",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
}
... | closed | false | [] | null | 3 | 2019-03-13T08:14:02Z | 2019-04-03T02:48:36Z | 2019-04-03T02:12:03Z | null | NONE | [] | null | null | null | null | I just want to ask this here and see whether other people encountered the same situation.
I am doing modifications on the run_squad.py example.
So for the original training feature, the input ids are [cls]qqqqq[sep]cccccc000000. The attention mask is just something like 111111100000 where first k inputs were mask... | {
"login": "leonwyang",
"id": 32276166,
"node_id": "MDQ6VXNlcjMyMjc2MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32276166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonwyang",
"html_url": "https://github.com/leonwyang",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/373/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 | [
"Similar problem. My token ids is something like \"[cls]qqqq[sep]0000cccccccc[sep]00000\". Have you solve it? or is there anyone met the similar problem?",
"> Similar problem. My token ids is something like \"[cls]qqqq[sep]0000cccccccc[sep]00000\". Have you solve it? or is there anyone met the similar problem?\r\... |
https://api.github.com/repos/huggingface/transformers/issues/419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/419/comments | https://api.github.com/repos/huggingface/transformers/issues/419/events | https://github.com/huggingface/transformers/issues/419 | 426,376,347 | MDU6SXNzdWU0MjYzNzYzNDc= | 419 | bug in examples/run_squad.py line 88 & 90 | {
"login": "auzbicious",
"id": 11863461,
"node_id": "MDQ6VXNlcjExODYzNDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/11863461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/auzbicious",
"html_url": "https://github.com/auzbicious",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2019-03-28T09:08:20Z | 2019-04-03T07:25:41Z | 2019-04-03T07:25:41Z | null | NONE | [] | null | null | null | null |
if self.start_position:
s += ", end_position: %d" % (self.end_position)
if self.start_position:
s += ", is_impossible: %r" % (self.is_impossible)
| {
"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/419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/419/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 | [
"Indeed, thanks"
] |
https://api.github.com/repos/huggingface/transformers/issues/422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/422/comments | https://api.github.com/repos/huggingface/transformers/issues/422/events | https://github.com/huggingface/transformers/issues/422 | 426,611,523 | MDU6SXNzdWU0MjY2MTE1MjM= | 422 | BertForTokenClassification for NER, mask labels | {
"login": "alexyalunin",
"id": 23011284,
"node_id": "MDQ6VXNlcjIzMDExMjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/23011284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexyalunin",
"html_url": "https://github.com/alexyalunin",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 2 | 2019-03-28T17:11:21Z | 2019-04-03T07:38:32Z | 2019-04-03T07:38:31Z | null | NONE | [] | null | null | null | null | I'm trying to do Named Entity Recognition with BertForTokenClassification.
Say I have 10 words with 10 labels, after WordPiece tokenization I get 15 tokens and I assign them labels, "X" for pieces of words like (##ing).
In the original paper https://arxiv.org/pdf/1810.04805.pdf in 4.3 section is said that we don't ma... | {
"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/422/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/422/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 | [
"Sequence tagging is explained here: https://github.com/huggingface/pytorch-pretrained-BERT/issues/64#issuecomment-443703063",
"Yes, this is the relevant issue on this topic. I'll close this issue in favor of #64."
] |
https://api.github.com/repos/huggingface/transformers/issues/433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/433/comments | https://api.github.com/repos/huggingface/transformers/issues/433/events | https://github.com/huggingface/transformers/issues/433 | 427,720,799 | MDU6SXNzdWU0Mjc3MjA3OTk= | 433 | how to do the pre training the model form scratch? | {
"login": "SeekPoint",
"id": 18051187,
"node_id": "MDQ6VXNlcjE4MDUxMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/18051187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeekPoint",
"html_url": "https://github.com/SeekPoint",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 2 | 2019-04-01T13:57:23Z | 2019-04-03T07:59:14Z | 2019-04-03T07:59:14Z | null | NONE | [] | null | null | null | null | for example, use sample_text.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/433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/433/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 | [
"```\r\npython3 examples/lm_finetuning/simple_lm_finetuning.py \r\n--train_corpus sample_text.txt \r\n--bert_model bert-base-uncased \r\n--do_lower_case \r\n--output_dir finetuned_lm/\r\n```\r\nIn addition, you can refer to #385 ",
"Yes let's keep a single issue on this. Closing in favor of #385."
] |
https://api.github.com/repos/huggingface/transformers/issues/426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/426/comments | https://api.github.com/repos/huggingface/transformers/issues/426/events | https://github.com/huggingface/transformers/pull/426 | 426,985,414 | MDExOlB1bGxSZXF1ZXN0MjY1NzE0ODgz | 426 | instantiate loss_fct once | {
"login": "Separius",
"id": 519177,
"node_id": "MDQ6VXNlcjUxOTE3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/519177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Separius",
"html_url": "https://github.com/Separius",
"followers_url": "https://api.github.com/users/Separiu... | [] | closed | false | [] | null | 1 | 2019-03-29T13:26:34Z | 2019-04-03T10:13:51Z | 2019-04-03T09:24:28Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/426",
"html_url": "https://github.com/huggingface/transformers/pull/426",
"diff_url": "https://github.com/huggingface/transformers/pull/426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/426.patch",
"merged_at": null
... | {
"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/426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/426/timeline | null | null | null | null | null | null | true | [
"Thanks for the PR but I think it's fine like it is now (slightly easier to read and debug)."
] | |
https://api.github.com/repos/huggingface/transformers/issues/389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/389/comments | https://api.github.com/repos/huggingface/transformers/issues/389/events | https://github.com/huggingface/transformers/pull/389 | 422,242,965 | MDExOlB1bGxSZXF1ZXN0MjYyMDc1MDc5 | 389 | Fix cosine schedule | {
"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 | 3 | 2019-03-18T14:18:05Z | 2019-04-03T13:17:07Z | 2019-04-03T09:21:44Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/389",
"html_url": "https://github.com/huggingface/transformers/pull/389",
"diff_url": "https://github.com/huggingface/transformers/pull/389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/389.patch",
"merged_at": "2019... | Fixing similar problem to #327 and #324 in cosine schedule.
Btw, do you think it would make sense to have [something like this](https://github.com/lukovnikov/pytorch-pretrained-BERT/blob/optim/pytorch_pretrained_bert/optimization.py) for both of your `optimization.py`'s? | {
"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/389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/389/timeline | null | null | null | null | null | null | true | [
"Hi @lukovnikov, yes I think the various schedules you have added to your fork are very nice!\r\nDo you want to add them in this PR as well?\r\nOtherwise, I'll merge it.",
"Merging it for now. Thanks @lukovnikov ",
"Hi, sorry, lost track of this, will make a new PR soon."
] |
https://api.github.com/repos/huggingface/transformers/issues/50 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/50/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/50/comments | https://api.github.com/repos/huggingface/transformers/issues/50/events | https://github.com/huggingface/transformers/issues/50 | 383,055,235 | MDU6SXNzdWUzODMwNTUyMzU= | 50 | pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py error | {
"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 | 6 | 2018-11-21T10:36:49Z | 2019-04-04T10:04:27Z | 2018-11-21T11:10:58Z | null | NONE | [] | null | null | null | null | attributeError: 'BertForPreTraining' object has no attribute 'global_step' | {
"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/50/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/50/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 | [
"Maybe some additional information could help me help you?",
"Initialize PyTorch weight ['cls', 'seq_relationship', 'output_weights']\r\nSkipping cls/seq_relationship/output_weights/adam_m\r\nSkipping cls/seq_relationship/output_weights/adam_v\r\nTraceback (most recent call last):\r\n File \"/home/tiandan.cxj/py... |
https://api.github.com/repos/huggingface/transformers/issues/428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/428/comments | https://api.github.com/repos/huggingface/transformers/issues/428/events | https://github.com/huggingface/transformers/issues/428 | 427,271,826 | MDU6SXNzdWU0MjcyNzE4MjY= | 428 | Cannot find Synthetic self-training in this repository. | {
"login": "Dogy06",
"id": 27922893,
"node_id": "MDQ6VXNlcjI3OTIyODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/27922893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dogy06",
"html_url": "https://github.com/Dogy06",
"followers_url": "https://api.github.com/users/Dogy06/fo... | [] | closed | false | [] | null | 2 | 2019-03-30T11:12:04Z | 2019-04-04T17:28:13Z | 2019-04-03T07:42:52Z | null | NONE | [] | null | null | null | null | The SQuAD leader board's (https://rajpurkar.github.io/SQuAD-explorer/) 3rd highest scored model uses 'synthetic self-training'.
There is a PDF explaining it: https://nlp.stanford.edu/seminar/details/jdevlin.pdf?fbclid=IwAR2TBFCJOeZ9cGhxB-z5cJJ17vHN4W25oWsjI8NqJoTEmlYIYEKG7oh4tlY but I have found no such model within 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/428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/428/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, indeed there is no Synthetic self-training in this repository, and the SQuAD leaderboard website actually refers to the Tensorflow repository so I'll close this issue.",
"Will you be adding synthetic self training though?"
] |
https://api.github.com/repos/huggingface/transformers/issues/207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/207/comments | https://api.github.com/repos/huggingface/transformers/issues/207/events | https://github.com/huggingface/transformers/issues/207 | 400,885,697 | MDU6SXNzdWU0MDA4ODU2OTc= | 207 | AttributeError: 'NoneType' object has no attribute 'start_logit' | {
"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 | 6 | 2019-01-18T20:55:47Z | 2019-04-04T21:31:03Z | 2019-02-05T16:09:16Z | null | CONTRIBUTOR | [] | null | null | null | null | In the `run_squad2` example notebook, the `write_predictions` method fails because `best_non_null_entry` is `None`
```
Evaluating: 100%|███████████████████████████| 1529/1529 [05:12<00:00, 4.88it/s]
01/18/2019 21:42:28 - INFO - __main__ - Writing predictions to: ./models/squad2/predictions.json
01/18/2019 21:4... | {
"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/207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/207/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 | [
"Can you post a self-contained example to reproduce your error ? Which version of python, pytorch and pytorch-pretrained-bert are you using?",
"Closing since there is no recent activity. Feel free to re-open if needed.",
"I ran into the same issue. Any pointers on how I could triage this further?",
"@thomwolf... |
https://api.github.com/repos/huggingface/transformers/issues/459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/459/comments | https://api.github.com/repos/huggingface/transformers/issues/459/events | https://github.com/huggingface/transformers/issues/459 | 430,525,932 | MDU6SXNzdWU0MzA1MjU5MzI= | 459 | Question about BertForQuestionAnswering model | {
"login": "geekboood",
"id": 23272969,
"node_id": "MDQ6VXNlcjIzMjcyOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/23272969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geekboood",
"html_url": "https://github.com/geekboood",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 0 | 2019-04-08T15:47:53Z | 2019-04-09T02:48:50Z | 2019-04-09T02:48:50Z | null | NONE | [] | null | null | null | null | Hi, I want to train `BertForQuestionAnswering` with my own dataset. I have already taken care of the format of the dataset, however, I encounter some problem when I want to do the inference job. If I am right, the forward output of the model is `start_logits` and `end_logits`. When I use `batchsize=1`, the output shape... | {
"login": "geekboood",
"id": 23272969,
"node_id": "MDQ6VXNlcjIzMjcyOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/23272969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geekboood",
"html_url": "https://github.com/geekboood",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/459/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/471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/471/comments | https://api.github.com/repos/huggingface/transformers/issues/471/events | https://github.com/huggingface/transformers/issues/471 | 431,881,640 | MDU6SXNzdWU0MzE4ODE2NDA= | 471 | modeling_openai.py bug report | {
"login": "Jonbean",
"id": 10235447,
"node_id": "MDQ6VXNlcjEwMjM1NDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/10235447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jonbean",
"html_url": "https://github.com/Jonbean",
"followers_url": "https://api.github.com/users/Jonbea... | [] | closed | false | [] | null | 1 | 2019-04-11T07:57:17Z | 2019-04-11T09:43:20Z | 2019-04-11T09:43:20Z | null | NONE | [] | null | null | null | null | line 651 has a potential bug
``` # Copy word and positional embeddings from the previous weights
self.tokens_embed.weight.data[: self.config.vocab_size, :] = old_embed.weight.data[: self.config.vocab_size, :]
self.tokens_embed.weight.data[-self.config.n_positions :, :] = old_embed.weight.dat... | {
"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/471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/471/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 | [
"Good catch, I'll fix this."
] |
https://api.github.com/repos/huggingface/transformers/issues/472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/472/comments | https://api.github.com/repos/huggingface/transformers/issues/472/events | https://github.com/huggingface/transformers/issues/472 | 431,935,327 | MDU6SXNzdWU0MzE5MzUzMjc= | 472 | Compilation terminated | {
"login": "hongkahjun",
"id": 29894605,
"node_id": "MDQ6VXNlcjI5ODk0NjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/29894605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hongkahjun",
"html_url": "https://github.com/hongkahjun",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2019-04-11T09:58:42Z | 2019-04-11T10:03:55Z | 2019-04-11T10:03:03Z | null | NONE | [] | null | null | null | null | Hi,
I cannot pip install the package. I have
> regex_3/_regex.c:48:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Might have something to do with CI failure for ... | {
"login": "hongkahjun",
"id": 29894605,
"node_id": "MDQ6VXNlcjI5ODk0NjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/29894605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hongkahjun",
"html_url": "https://github.com/hongkahjun",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/472/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 | [
"managed to install it by running \r\n\r\n> sudo apt-get install python3 python-dev"
] |
https://api.github.com/repos/huggingface/transformers/issues/446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/446/comments | https://api.github.com/repos/huggingface/transformers/issues/446/events | https://github.com/huggingface/transformers/issues/446 | 428,971,570 | MDU6SXNzdWU0Mjg5NzE1NzA= | 446 | How to select a certain layer as token's representation? | {
"login": "yexing99",
"id": 25463584,
"node_id": "MDQ6VXNlcjI1NDYzNTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/25463584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yexing99",
"html_url": "https://github.com/yexing99",
"followers_url": "https://api.github.com/users/yex... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
}
... | closed | false | [] | null | 1 | 2019-04-03T20:57:32Z | 2019-04-11T13:43:49Z | 2019-04-11T13:43:34Z | null | NONE | [] | null | null | null | null | My understanding from the paper that each token is represented by a 768-dim vector from the last hidden layer. Is it correct? If so, how can I get the second-to-the last layer's parameter as token representation?
model = BertForTokenClassification.from_pretrained("bert-base-uncased", num_labels=len(tag2idx))
list... | {
"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/446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/446/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 @yexing99,\r\nWhat you need is the `hidden_state`, not the `weights`of the model.\r\nDon't use `model.named_parameters()` but just use the output of the model.\r\nHere is an example: https://github.com/huggingface/pytorch-pretrained-BERT#bert\r\nAnd more details here: https://github.com/huggingface/pytorch-pret... |
https://api.github.com/repos/huggingface/transformers/issues/447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/447/comments | https://api.github.com/repos/huggingface/transformers/issues/447/events | https://github.com/huggingface/transformers/issues/447 | 429,012,525 | MDU6SXNzdWU0MjkwMTI1MjU= | 447 | Dynamic max_seq_length implementation? | {
"login": "zijwang",
"id": 25057983,
"node_id": "MDQ6VXNlcjI1MDU3OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/25057983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zijwang",
"html_url": "https://github.com/zijwang",
"followers_url": "https://api.github.com/users/zijwan... | [] | closed | false | [] | null | 1 | 2019-04-03T23:07:41Z | 2019-04-11T13:45:20Z | 2019-04-11T13:45:07Z | null | NONE | [] | null | null | null | null | Does the package support dynamic `max_seq_length`, e.g., if it's None, it will automatically be the maximum length in the mini-batch? | {
"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/447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/447/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 @zijwang , the package doesn't implement any specific batching logic, only tokenizers and models.\r\nYou are supposed to take care of this yourself in your scripts."
] |
https://api.github.com/repos/huggingface/transformers/issues/453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/453/comments | https://api.github.com/repos/huggingface/transformers/issues/453/events | https://github.com/huggingface/transformers/issues/453 | 429,654,860 | MDU6SXNzdWU0Mjk2NTQ4NjA= | 453 | What‘s op-for-op meaning? | {
"login": "JiahangOK",
"id": 40447174,
"node_id": "MDQ6VXNlcjQwNDQ3MTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/40447174?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JiahangOK",
"html_url": "https://github.com/JiahangOK",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 1 | 2019-04-05T09:07:31Z | 2019-04-11T14:26:26Z | 2019-04-11T14:26:12Z | null | NONE | [] | null | null | null | null | {
"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/453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/453/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, it means that the computation graphs of the Tensorflow and PyTorch versions are identical."
] | |
https://api.github.com/repos/huggingface/transformers/issues/454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/454/comments | https://api.github.com/repos/huggingface/transformers/issues/454/events | https://github.com/huggingface/transformers/issues/454 | 429,755,590 | MDU6SXNzdWU0Mjk3NTU1OTA= | 454 | getting sequence embeddings for pair of sentences | {
"login": "omerarshad",
"id": 16164105,
"node_id": "MDQ6VXNlcjE2MTY0MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omerarshad",
"html_url": "https://github.com/omerarshad",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2019-04-05T13:28:40Z | 2019-04-11T14:26:47Z | 2019-04-11T14:26:46Z | null | NONE | [] | null | null | null | null | given [cls] word1 word2 word3 [sep] word1 word2 [sep]
If i get sequence embeddings, will word1 of sentence 1 will have context of word1 of sentence2? | {
"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/454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/454/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, yes."
] |
https://api.github.com/repos/huggingface/transformers/issues/464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/464/comments | https://api.github.com/repos/huggingface/transformers/issues/464/events | https://github.com/huggingface/transformers/issues/464 | 430,879,647 | MDU6SXNzdWU0MzA4Nzk2NDc= | 464 | How to get vocab.txt and bert_config.json as output of fine tuning? | {
"login": "search4mahesh",
"id": 4182331,
"node_id": "MDQ6VXNlcjQxODIzMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4182331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/search4mahesh",
"html_url": "https://github.com/search4mahesh",
"followers_url": "https://api.github.... | [] | closed | false | [] | null | 3 | 2019-04-09T10:03:22Z | 2019-04-11T14:44:24Z | 2019-04-11T14:44:24Z | null | NONE | [] | null | null | null | null | Hi,
I am fine tuning bert on custom data.
As output I am getting only pytorch_model.bin but how to get updated vocab.txt and bert_config.json .
Please suggest.
Thanks
Mahesh | {
"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/464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/464/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 can get `pytorch_model.bin` and `config.json` just as indicated in the examples: https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/examples/run_classifier.py#L861-L866\r\n\r\nThe vocabulary stays the same, just load the tokenizer as you did for the training (`BertTokenizer.from_pretrained(...)... |
https://api.github.com/repos/huggingface/transformers/issues/467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/467/comments | https://api.github.com/repos/huggingface/transformers/issues/467/events | https://github.com/huggingface/transformers/pull/467 | 431,210,818 | MDExOlB1bGxSZXF1ZXN0MjY4OTM2NDAw | 467 | Update README.md | {
"login": "yaroslavvb",
"id": 23068,
"node_id": "MDQ6VXNlcjIzMDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/23068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaroslavvb",
"html_url": "https://github.com/yaroslavvb",
"followers_url": "https://api.github.com/users/yarosla... | [] | closed | false | [] | null | 1 | 2019-04-09T21:46:03Z | 2019-04-11T19:53:31Z | 2019-04-11T19:53:24Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/467",
"html_url": "https://github.com/huggingface/transformers/pull/467",
"diff_url": "https://github.com/huggingface/transformers/pull/467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/467.patch",
"merged_at": "2019... | Fix for
```> > > > 04/09/2019 21:39:38 - INFO - __main__ - device: cuda n_gpu: 1, distributed training: False, 16-bits training: False
Traceback (most recent call last):
File "/home/ubuntu/pytorch-pretrained-BERT/examples/lm_finetuning/simple_lm_finetuning.py", line 642, in <module>
main()
File "/home/... | {
"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/467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/467/timeline | null | null | null | null | null | null | true | [
"Thanks Yaroslav!"
] |
https://api.github.com/repos/huggingface/transformers/issues/462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/462/comments | https://api.github.com/repos/huggingface/transformers/issues/462/events | https://github.com/huggingface/transformers/pull/462 | 430,713,066 | MDExOlB1bGxSZXF1ZXN0MjY4NTQyMTcx | 462 | fix run_gpt2.py | {
"login": "8enmann",
"id": 1021104,
"node_id": "MDQ6VXNlcjEwMjExMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1021104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/8enmann",
"html_url": "https://github.com/8enmann",
"followers_url": "https://api.github.com/users/8enmann/... | [] | closed | false | [] | null | 2 | 2019-04-09T00:24:04Z | 2019-04-11T19:54:50Z | 2019-04-11T19:54:47Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/462",
"html_url": "https://github.com/huggingface/transformers/pull/462",
"diff_url": "https://github.com/huggingface/transformers/pull/462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/462.patch",
"merged_at": "2019... | Before this PR, unconditional sample generation fails silently. Fixing the loop reveals a reference before assignment error. | {
"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/462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/462/timeline | null | null | null | null | null | null | true | [
"Fixes #412 ",
"Ok, looks good to me, thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/427/comments | https://api.github.com/repos/huggingface/transformers/issues/427/events | https://github.com/huggingface/transformers/pull/427 | 427,247,452 | MDExOlB1bGxSZXF1ZXN0MjY1OTE3NzM2 | 427 | fix sample_doc | {
"login": "jeonsworld",
"id": 37530102,
"node_id": "MDQ6VXNlcjM3NTMwMTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/37530102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeonsworld",
"html_url": "https://github.com/jeonsworld",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 2 | 2019-03-30T05:58:09Z | 2019-04-12T13:48:38Z | 2019-04-03T09:26:59Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/427",
"html_url": "https://github.com/huggingface/transformers/pull/427",
"diff_url": "https://github.com/huggingface/transformers/pull/427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/427.patch",
"merged_at": "2019... | If the value of rand_end is returned from the randint function, the value of sampled_doc_index that matches current_idx is returned from searchsorted.
example:
cumsum_max = {int64} 30
doc_cumsum = {ndarray} [ 5 7 11 19 30]
doc_lengths = {list} <class 'list'>: [5, 2, 4, 8, 11]
if current_idx = 1,
rand_start = ... | {
"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/427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/427/timeline | null | null | null | null | null | null | true | [
"Good catch, thanks!",
"Gah. I meant to use `randrange()`, but this fix is equivalent!"
] |
https://api.github.com/repos/huggingface/transformers/issues/478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/478/comments | https://api.github.com/repos/huggingface/transformers/issues/478/events | https://github.com/huggingface/transformers/pull/478 | 432,587,116 | MDExOlB1bGxSZXF1ZXN0MjcwMDI4NDcx | 478 | Added a helpful error for users with single-document corpuses | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 1 | 2019-04-12T14:12:44Z | 2019-04-15T08:55:58Z | 2019-04-15T08:55:58Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/478",
"html_url": "https://github.com/huggingface/transformers/pull/478",
"diff_url": "https://github.com/huggingface/transformers/pull/478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/478.patch",
"merged_at": "2019... | This adds the helpful error message suggested in #452 for users trying to do language model fine-tuning with one long document as a corpus, and replaces some of the `randint()` calls with equivalent cleaner `randrange()` ones. | {
"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/478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/478/timeline | null | null | null | null | null | null | true | [
"Looks good to me, thanks @Rocketknight1 "
] |
https://api.github.com/repos/huggingface/transformers/issues/474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/474/comments | https://api.github.com/repos/huggingface/transformers/issues/474/events | https://github.com/huggingface/transformers/pull/474 | 432,218,030 | MDExOlB1bGxSZXF1ZXN0MjY5NzMyMTY1 | 474 | Fix tsv read error in Windows | {
"login": "jiesutd",
"id": 9111828,
"node_id": "MDQ6VXNlcjkxMTE4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9111828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiesutd",
"html_url": "https://github.com/jiesutd",
"followers_url": "https://api.github.com/users/jiesutd/... | [] | closed | false | [] | null | 1 | 2019-04-11T19:47:52Z | 2019-04-15T08:56:49Z | 2019-04-15T08:56:49Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/474",
"html_url": "https://github.com/huggingface/transformers/pull/474",
"diff_url": "https://github.com/huggingface/transformers/pull/474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/474.patch",
"merged_at": "2019... | The initial version suffers from the error of `UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position` when loading the `.tsv` filein **Windows** System, as indicated in https://github.com/huggingface/pytorch-pretrained-BERT/issues/52
It is solved by adding `encoding='utf-8'` when reading the `.tsv` ... | {
"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/474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/474/timeline | null | null | null | null | null | null | true | [
"Ok, thanks @jiesutd!"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.