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/369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/369/comments | https://api.github.com/repos/huggingface/transformers/issues/369/events | https://github.com/huggingface/transformers/issues/369 | 420,149,402 | MDU6SXNzdWU0MjAxNDk0MDI= | 369 | BertForQuestionAnswering: How to split output between query hidden state and context hidden state | {
"login": "julietokwara",
"id": 26914396,
"node_id": "MDQ6VXNlcjI2OTE0Mzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/26914396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julietokwara",
"html_url": "https://github.com/julietokwara",
"followers_url": "https://api.github.c... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1260... | closed | false | [] | null | 2 | 2019-03-12T18:46:25Z | 2019-06-14T09:31:10Z | 2019-06-14T09:31:10Z | null | NONE | [] | null | null | null | null | I've made several attempts to, but all seem to fail. Do you have a good way to do this? Right now, passing what i thought to just be the context hidden state to the final output layer in run_squad.py drops my scores (F1) by 10 points. | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/369/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 | [
"If you want only the context you can find the index from the segment vector by finding the last first 1 in the vector and splitting the query_context on that index. Then the context will be everything after the 1 index and everything before will be the question.",
"This issue has been automatically marked as sta... |
https://api.github.com/repos/huggingface/transformers/issues/604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/604/comments | https://api.github.com/repos/huggingface/transformers/issues/604/events | https://github.com/huggingface/transformers/pull/604 | 443,042,368 | MDExOlB1bGxSZXF1ZXN0Mjc4MDEzMTAx | 604 | Fixing issue "Training beyond specified 't_total' steps with schedule 'warmup_linear'" reported in #556 | {
"login": "samuelbroscheit",
"id": 22645035,
"node_id": "MDQ6VXNlcjIyNjQ1MDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/22645035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuelbroscheit",
"html_url": "https://github.com/samuelbroscheit",
"followers_url": "https://api... | [] | closed | false | [] | null | 2 | 2019-05-11T22:34:28Z | 2019-06-14T14:49:26Z | 2019-06-14T14:49:25Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/604",
"html_url": "https://github.com/huggingface/transformers/pull/604",
"diff_url": "https://github.com/huggingface/transformers/pull/604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/604.patch",
"merged_at": "2019... | Fixing the issues reported in https://github.com/huggingface/pytorch-pretrained-BERT/issues/556
Reason for issue was that num_optimzation_steps was computed from example size, which is different from actual size of dataloader when an example is chunked into multiple instances.
Solution in this pull request is to ... | {
"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/604/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/604/timeline | null | null | null | null | null | null | true | [
"Looks good.",
"Ok merging thanks, sorry for the delay!"
] |
https://api.github.com/repos/huggingface/transformers/issues/630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/630/comments | https://api.github.com/repos/huggingface/transformers/issues/630/events | https://github.com/huggingface/transformers/pull/630 | 447,029,680 | MDExOlB1bGxSZXF1ZXN0MjgxMTA4NTIx | 630 | Update run_squad.py | {
"login": "tguens",
"id": 50817608,
"node_id": "MDQ6VXNlcjUwODE3NjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/50817608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tguens",
"html_url": "https://github.com/tguens",
"followers_url": "https://api.github.com/users/tguens/fo... | [] | closed | false | [] | null | 0 | 2019-05-22T09:31:20Z | 2019-06-14T14:56:27Z | 2019-06-14T14:56:26Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/630",
"html_url": "https://github.com/huggingface/transformers/pull/630",
"diff_url": "https://github.com/huggingface/transformers/pull/630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/630.patch",
"merged_at": "2019... | Indentation change so that the output "nbest_predictions.json" is not empty. | {
"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/630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/630/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/640/comments | https://api.github.com/repos/huggingface/transformers/issues/640/events | https://github.com/huggingface/transformers/pull/640 | 448,757,307 | MDExOlB1bGxSZXF1ZXN0MjgyNDM3NjM1 | 640 | Support latest multi language bert fine tune | {
"login": "Barqawiz",
"id": 2751950,
"node_id": "MDQ6VXNlcjI3NTE5NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2751950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Barqawiz",
"html_url": "https://github.com/Barqawiz",
"followers_url": "https://api.github.com/users/Barqa... | [] | closed | false | [] | null | 1 | 2019-05-27T09:30:15Z | 2019-06-14T14:57:03Z | 2019-06-14T14:57:03Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/640",
"html_url": "https://github.com/huggingface/transformers/pull/640",
"diff_url": "https://github.com/huggingface/transformers/pull/640.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/640.patch",
"merged_at": "2019... | **Affected function**: fine tune example file
**Update summary**:
- Fix issue of bert-base-multilingual not found by fixing uncased version name in argument dict
- Add support for cased version by adding the right name into argument dict | {
"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/640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/640/timeline | null | null | null | null | null | null | true | [
"Great, thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/646/comments | https://api.github.com/repos/huggingface/transformers/issues/646/events | https://github.com/huggingface/transformers/pull/646 | 450,131,288 | MDExOlB1bGxSZXF1ZXN0MjgzNTE2Njg5 | 646 | Fix link in README | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | [] | null | 1 | 2019-05-30T05:02:12Z | 2019-06-14T14:57:46Z | 2019-06-14T14:57:46Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/646",
"html_url": "https://github.com/huggingface/transformers/pull/646",
"diff_url": "https://github.com/huggingface/transformers/pull/646.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/646.patch",
"merged_at": "2019... | Link was not working. Fixed. | {
"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/646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/646/timeline | null | null | null | null | null | null | true | [
"Thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/672/comments | https://api.github.com/repos/huggingface/transformers/issues/672/events | https://github.com/huggingface/transformers/pull/672 | 454,644,253 | MDExOlB1bGxSZXF1ZXN0Mjg3MDUyMjg0 | 672 | Add vocabulary and model config to the finetune output | {
"login": "oliverguhr",
"id": 3495355,
"node_id": "MDQ6VXNlcjM0OTUzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3495355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliverguhr",
"html_url": "https://github.com/oliverguhr",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 1 | 2019-06-11T11:52:25Z | 2019-06-14T15:02:47Z | 2019-06-14T15:02:47Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/672",
"html_url": "https://github.com/huggingface/transformers/pull/672",
"diff_url": "https://github.com/huggingface/transformers/pull/672.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/672.patch",
"merged_at": "2019... | If you want to use your fine-tuned model to train a classifier you will need the configuration file and the vocabulary file. This PR adds them to both pre-training scripts. | {
"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/672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/672/timeline | null | null | null | null | null | null | true | [
"Nice indeed, thanks @oliverguhr!"
] |
https://api.github.com/repos/huggingface/transformers/issues/679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/679/comments | https://api.github.com/repos/huggingface/transformers/issues/679/events | https://github.com/huggingface/transformers/issues/679 | 455,615,467 | MDU6SXNzdWU0NTU2MTU0Njc= | 679 | Why the output of models are random. | {
"login": "sjcfr",
"id": 34537582,
"node_id": "MDQ6VXNlcjM0NTM3NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/34537582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjcfr",
"html_url": "https://github.com/sjcfr",
"followers_url": "https://api.github.com/users/sjcfr/follow... | [] | closed | false | [] | null | 5 | 2019-06-13T08:53:25Z | 2019-06-14T20:22:07Z | 2019-06-14T20:22:07Z | null | NONE | [] | null | null | null | null | I tried to get word representations using the full-retrained bert model for several times, whereas the outputs of model are different for a same word in each time. Did I neglect something? Not knowing the reason and asking for help sincerely.
The code is:
`from pytorch_pretrained_bert import BertTokenizer, BertMode... | {
"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/679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/679/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 | [
"They won't be able to help you if you don't provide a code for reproducing your issue, as this is not an expected behaviour.",
"Thanks a lot for reminding. The issue is renewed with the code.",
"That's true! I can reproduce it also on my computer... Really weird!",
"You should use `model.eval()` to desacti... |
https://api.github.com/repos/huggingface/transformers/issues/665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/665/comments | https://api.github.com/repos/huggingface/transformers/issues/665/events | https://github.com/huggingface/transformers/issues/665 | 453,744,807 | MDU6SXNzdWU0NTM3NDQ4MDc= | 665 | GPT-2 medium and large release? | {
"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 | 3 | 2019-06-08T02:04:14Z | 2019-06-14T21:41:26Z | 2019-06-08T20:34:31Z | null | NONE | [] | null | null | null | null | I presume the below model is GPT-2 small.
https://github.com/huggingface/pytorch-pretrained-BERT/blob/ee0308f79ded65dac82c53dfb03e9ff7f06aeee4/pytorch_pretrained_bert/modeling_gpt2.py#L42
When do you plan on supporting the medium (already released by OpenAI) and large versions (not released by OpenAI) of GPT-2?
... | {
"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-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/665/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 | [
"Take a look at the `attention` branch @g-karthik:\r\n\r\nhttps://github.com/huggingface/pytorch-pretrained-BERT/blob/attention/pytorch_pretrained_bert/modeling_gpt2.py#L42-L45",
"Thanks @julien-c, I had not looked at the file in the `attention` branch!",
"What is the recommended hardware setup for fine-tuning ... |
https://api.github.com/repos/huggingface/transformers/issues/677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/677/comments | https://api.github.com/repos/huggingface/transformers/issues/677/events | https://github.com/huggingface/transformers/issues/677 | 455,296,243 | MDU6SXNzdWU0NTUyOTYyNDM= | 677 | Download the model without executing a Python script | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 7 | 2019-06-12T15:57:14Z | 2019-06-15T00:03:10Z | 2019-06-15T00:03:10Z | null | NONE | [] | null | null | null | null | Hi,
Is there a command to download a model (e.g. BertForMaskedLM) without having to execute a Python script?
For example, in Spacy, we can do `python -m spacy download en`. | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/677/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 | [
"Is this what you want?\r\n\r\n```python\r\nPRETRAINED_MODEL_ARCHIVE_MAP = {\r\n 'bert-base-uncased': \"https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased.tar.gz\",\r\n 'bert-large-uncased': \"https://s3.amazonaws.com/models.huggingface.co/bert/bert-large-uncased.tar.gz\",\r\n 'bert-base... |
https://api.github.com/repos/huggingface/transformers/issues/691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/691/comments | https://api.github.com/repos/huggingface/transformers/issues/691/events | https://github.com/huggingface/transformers/pull/691 | 456,537,080 | MDExOlB1bGxSZXF1ZXN0Mjg4NTU2NDE3 | 691 | import class "GPT2MultipleChoiceHead" | {
"login": "vanche",
"id": 10228650,
"node_id": "MDQ6VXNlcjEwMjI4NjUw",
"avatar_url": "https://avatars.githubusercontent.com/u/10228650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vanche",
"html_url": "https://github.com/vanche",
"followers_url": "https://api.github.com/users/vanche/fo... | [] | closed | false | [] | null | 2 | 2019-06-15T13:19:56Z | 2019-06-15T21:12:56Z | 2019-06-15T21:12:56Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/691",
"html_url": "https://github.com/huggingface/transformers/pull/691",
"diff_url": "https://github.com/huggingface/transformers/pull/691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/691.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/691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/691/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/691?src=pr&el=h1) Report\n> Merging [#691](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/691?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/b3f9e9451b3f999118f2299229bb13f2f69... | |
https://api.github.com/repos/huggingface/transformers/issues/690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/690/comments | https://api.github.com/repos/huggingface/transformers/issues/690/events | https://github.com/huggingface/transformers/pull/690 | 456,489,857 | MDExOlB1bGxSZXF1ZXN0Mjg4NTI0NTE2 | 690 | Transformer XL ProjectedAdaptiveLogSoftmax output fix | {
"login": "shashwath94",
"id": 7631779,
"node_id": "MDQ6VXNlcjc2MzE3Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7631779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashwath94",
"html_url": "https://github.com/shashwath94",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 1 | 2019-06-15T02:13:41Z | 2019-06-15T21:14:11Z | 2019-06-15T21:14:11Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/690",
"html_url": "https://github.com/huggingface/transformers/pull/690",
"diff_url": "https://github.com/huggingface/transformers/pull/690.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/690.patch",
"merged_at": "2019... | Fixes the return value of `ProjectedAdaptiveLogSoftmax` layer for Transformer XL when it is a standard softmax without cutoffs (n_clusters=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/690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/690/timeline | null | null | null | null | null | null | true | [
"Perfect, thanks @shashwath94!"
] |
https://api.github.com/repos/huggingface/transformers/issues/678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/678/comments | https://api.github.com/repos/huggingface/transformers/issues/678/events | https://github.com/huggingface/transformers/issues/678 | 455,422,146 | MDU6SXNzdWU0NTU0MjIxNDY= | 678 | Transformer XL ProjectedAdaptiveLogSoftmax bug (maybe?) | {
"login": "shashwath94",
"id": 7631779,
"node_id": "MDQ6VXNlcjc2MzE3Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7631779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashwath94",
"html_url": "https://github.com/shashwath94",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-06-12T20:59:35Z | 2019-06-16T03:34:02Z | 2019-06-16T03:34:02Z | null | CONTRIBUTOR | [] | null | null | null | null | In <a href="https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/modeling_transfo_xl_utilities.py#L120">this line</a>, shouldn't the output be assigned to `out` when `n_clusters` is 0? Otherwise we run into `UnboundLocalError: local variable 'out' referenced before assignment` | {
"login": "shashwath94",
"id": 7631779,
"node_id": "MDQ6VXNlcjc2MzE3Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7631779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashwath94",
"html_url": "https://github.com/shashwath94",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/678/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! We don't see that when we use the pre-trained model because the number of clusters is greater than zero anyway. Will fix.",
"Thank you. I created a PR since it was a small bug. #690 "
] |
https://api.github.com/repos/huggingface/transformers/issues/503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/503/comments | https://api.github.com/repos/huggingface/transformers/issues/503/events | https://github.com/huggingface/transformers/pull/503 | 434,376,103 | MDExOlB1bGxSZXF1ZXN0MjcxMzgyMTEz | 503 | Fix possible risks of bpe on special tokens | {
"login": "SivilTaram",
"id": 10275209,
"node_id": "MDQ6VXNlcjEwMjc1MjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/10275209?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SivilTaram",
"html_url": "https://github.com/SivilTaram",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-17T16:29:10Z | 2019-06-17T06:16:59Z | 2019-06-17T06:16:59Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/503",
"html_url": "https://github.com/huggingface/transformers/pull/503",
"diff_url": "https://github.com/huggingface/transformers/pull/503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/503.patch",
"merged_at": null
... | Hi developers !
When I use the openai tokenizer, I find it hard to handle the `special tokens` correctly (my library version is v0.6.1) , even though I have already defined them and told the tokenizer NEVER SPLIT them. It is because all tokens, including the special ones will be processed by BPE. So I add one line f... | {
"login": "SivilTaram",
"id": 10275209,
"node_id": "MDQ6VXNlcjEwMjc1MjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/10275209?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SivilTaram",
"html_url": "https://github.com/SivilTaram",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/503/timeline | null | null | null | null | null | null | true | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/680/comments | https://api.github.com/repos/huggingface/transformers/issues/680/events | https://github.com/huggingface/transformers/issues/680 | 455,627,186 | MDU6SXNzdWU0NTU2MjcxODY= | 680 | Limit on the input text length? | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 3 | 2019-06-13T09:17:14Z | 2019-06-17T08:06:07Z | 2019-06-15T00:03:27Z | null | NONE | [] | null | null | null | null | Hi,
I often get this error:
```
File "/miniconda3/envs/brightwater/lib/python3.6/site-packages/pytorch_pretrained_bert/modeling.py", line 268, in forward
position_embeddings = self.position_embeddings(position_ids)
File "/miniconda3/envs/brightwater/lib/python3.6/site-packages/torch/nn/modules/module.py"... | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/680/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, 512 tokens for Bert.",
"Thank you :) ",
"Is there a way to bypass this limit? To increase the number of words?"
] |
https://api.github.com/repos/huggingface/transformers/issues/450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/450/comments | https://api.github.com/repos/huggingface/transformers/issues/450/events | https://github.com/huggingface/transformers/issues/450 | 429,293,867 | MDU6SXNzdWU0MjkyOTM4Njc= | 450 | Understanding pre-training and fine-tuning | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 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 | 2 | 2019-04-04T13:55:47Z | 2019-06-17T14:54:30Z | 2019-06-17T14:54:30Z | null | COLLABORATOR | [] | null | null | null | null | I am confused about what these two steps actually do to the model. I would have assumed that pre-training is unsupervised (i.e. no labels) and, thus, the only thing that can be 'learned' is the embedding representations of all tokens. You can then use this pre-trained model (which is an 'empty' model but with pretraine... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/450/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 a good introduction on the topic are the writings of @sebastianruder:\r\n- http://ruder.io/transfer-learning/\r\n- https://thegradient.pub/nlp-imagenet/\r\n- the ULMFiT paper: http://nlp.fast.ai/classification/2018/05/15/introducting-ulmfit.html\r\n\r\nRegarding your specific question of training a Bert mode... |
https://api.github.com/repos/huggingface/transformers/issues/465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/465/comments | https://api.github.com/repos/huggingface/transformers/issues/465/events | https://github.com/huggingface/transformers/issues/465 | 431,026,223 | MDU6SXNzdWU0MzEwMjYyMjM= | 465 | Errors when using Apex | {
"login": "ibeltagy",
"id": 2287797,
"node_id": "MDQ6VXNlcjIyODc3OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2287797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ibeltagy",
"html_url": "https://github.com/ibeltagy",
"followers_url": "https://api.github.com/users/ibelt... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1108... | closed | false | [] | null | 2 | 2019-04-09T15:17:26Z | 2019-06-17T15:54:29Z | 2019-06-17T15:54:29Z | null | CONTRIBUTOR | [] | null | null | null | null | Using `pytorch-pretrained-BERT` with `apex` installed breaks with the errors below. I am using it through allennlp, and my environment settings are:
```
ubuntu 16.04
nvidia driver 410.48
4 Titan V gpus
python 3.6.8
cuda 9
pytorch 1.0.1.post2
pytorch-pretrained-bert 0.6.1
```
I also tried python 3.7, cuda 10... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/465/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/465/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 try to run it with `CUDA_LAUNCH_BLOCKING=1` so we can see which exact CUDA call fails?\r\nAlso, do you have a simple way for me to try to reproduce this error?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Tha... |
https://api.github.com/repos/huggingface/transformers/issues/671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/671/comments | https://api.github.com/repos/huggingface/transformers/issues/671/events | https://github.com/huggingface/transformers/issues/671 | 454,510,586 | MDU6SXNzdWU0NTQ1MTA1ODY= | 671 | BERT what's different with step and t_total | {
"login": "xuanzebi",
"id": 26642184,
"node_id": "MDQ6VXNlcjI2NjQyMTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/26642184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xuanzebi",
"html_url": "https://github.com/xuanzebi",
"followers_url": "https://api.github.com/users/xua... | [] | closed | false | [] | null | 0 | 2019-06-11T06:54:23Z | 2019-06-18T06:10:57Z | 2019-06-18T06:10:57Z | null | NONE | [] | null | null | null | null | :param t_total: how many training steps (updates) are planned
:param step: which of t_total steps we're on
def get_lr(self, step, nowarn=False):
"""
:param step: which of t_total steps we're on
:param nowarn: set to True to suppress warning regarding training beyond specified '... | {
"login": "xuanzebi",
"id": 26642184,
"node_id": "MDQ6VXNlcjI2NjQyMTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/26642184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xuanzebi",
"html_url": "https://github.com/xuanzebi",
"followers_url": "https://api.github.com/users/xua... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/671/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/352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/352/comments | https://api.github.com/repos/huggingface/transformers/issues/352/events | https://github.com/huggingface/transformers/issues/352 | 417,772,856 | MDU6SXNzdWU0MTc3NzI4NTY= | 352 | How to incrementally do fine tune train | {
"login": "shuvadibp",
"id": 37171714,
"node_id": "MDQ6VXNlcjM3MTcxNzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/37171714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shuvadibp",
"html_url": "https://github.com/shuvadibp",
"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-06T12:11:20Z | 2019-06-18T11:27:46Z | 2019-05-22T08:43:48Z | null | NONE | [] | null | null | null | null | I am using Bert for Question Answering. After fine tuning with Squad data set, I want to further train new questions of my own domain.
Please suggest how can I use newly generated pytorch_model.bin file and then increment it with my own training weights to get my own pytorch_suqad_plus_my_model.bin ? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/352/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 think my answer here can help you: https://github.com/huggingface/pytorch-pretrained-BERT/issues/332",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Hey @shuvadibp, did you fig... |
https://api.github.com/repos/huggingface/transformers/issues/693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/693/comments | https://api.github.com/repos/huggingface/transformers/issues/693/events | https://github.com/huggingface/transformers/issues/693 | 456,725,533 | MDU6SXNzdWU0NTY3MjU1MzM= | 693 | Have no GPU to train language modelling | {
"login": "khaerulumam42",
"id": 35139151,
"node_id": "MDQ6VXNlcjM1MTM5MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/35139151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khaerulumam42",
"html_url": "https://github.com/khaerulumam42",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 6 | 2019-06-17T03:28:51Z | 2019-06-18T12:57:49Z | 2019-06-18T12:57:48Z | null | NONE | [] | null | null | null | null | Sorry I open this issue, is not issue of this repository.
I very appreciate what the authors created this repository, help us to more understand how BERT works and implement on several tasks.
So I have a problem with training because I have not GPU to train language modelling, I have Indonesian dataset (about 2G... | {
"login": "khaerulumam42",
"id": 35139151,
"node_id": "MDQ6VXNlcjM1MTM5MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/35139151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khaerulumam42",
"html_url": "https://github.com/khaerulumam42",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/693/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 train a tensorflow model using google colab for free](https://github.com/google-research/bert#using-bert-in-colab). After training it, you can [convert your tf model to pytorch](https://github.com/huggingface/pytorch-pretrained-BERT#command-line-interface). ",
"Or use 300 usd credit for google cloud, th... |
https://api.github.com/repos/huggingface/transformers/issues/452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/452/comments | https://api.github.com/repos/huggingface/transformers/issues/452/events | https://github.com/huggingface/transformers/issues/452 | 429,634,551 | MDU6SXNzdWU0Mjk2MzQ1NTE= | 452 | Pregenerating data requires multiple documents | {
"login": "yanneyanne",
"id": 15113131,
"node_id": "MDQ6VXNlcjE1MTEzMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/15113131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yanneyanne",
"html_url": "https://github.com/yanneyanne",
"followers_url": "https://api.github.com/use... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | [] | null | 4 | 2019-04-05T08:14:02Z | 2019-06-18T15:21:05Z | 2019-06-18T15:21:05Z | null | NONE | [] | null | null | null | null | The script for pregenerating language modelling data assumes that the training corpus consists of multiple documents (i.e. a single training corpus file where empty lines separate documents). If the training corpus is made up of only one long text, the pregen script produces empty output.
I have a small fix for this... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/452/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | null | false | [
"Hi, I wrote that script! That's a tricky issue, though - what behaviour do you expect when your data is one long text? \r\n\r\nIn the original BERT repo, they used the document breaks to control sampling for the NextSentence task - 'random' next sentences were selected from a different document. I'm not sure there... |
https://api.github.com/repos/huggingface/transformers/issues/424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/424/comments | https://api.github.com/repos/huggingface/transformers/issues/424/events | https://github.com/huggingface/transformers/issues/424 | 426,651,083 | MDU6SXNzdWU0MjY2NTEwODM= | 424 | Difference between base and large tokenizer? | {
"login": "ZhaofengWu",
"id": 11954789,
"node_id": "MDQ6VXNlcjExOTU0Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/11954789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhaofengWu",
"html_url": "https://github.com/ZhaofengWu",
"followers_url": "https://api.github.com/use... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | [] | null | 4 | 2019-03-28T18:41:19Z | 2019-06-19T09:20:59Z | 2019-06-14T09:31:09Z | null | CONTRIBUTOR | [] | null | null | null | null | I understand that a cased tokenizer and an uncased one are surely different because their vocabs are different in casing, but how does a base tokenizer different from a large tokenizer? Does a large tokenizer have a larger vocab? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/424/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 haven't looked in the details of the vocabularies for each model.\r\nIf you investigate this question, be sure to share the results here, it may interest others as well!",
"I did a diff on the two vocabulary files and there is no difference. As long as you use the uncased version at least. I haven't investigat... |
https://api.github.com/repos/huggingface/transformers/issues/700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/700/comments | https://api.github.com/repos/huggingface/transformers/issues/700/events | https://github.com/huggingface/transformers/pull/700 | 458,060,090 | MDExOlB1bGxSZXF1ZXN0Mjg5NzQzNDY1 | 700 | Add an argument --model_size to convert_gpt2_checkpoint_to_pytorch.py | {
"login": "chrisyue1998",
"id": 39981081,
"node_id": "MDQ6VXNlcjM5OTgxMDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/39981081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisyue1998",
"html_url": "https://github.com/chrisyue1998",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 0 | 2019-06-19T14:49:43Z | 2019-06-19T15:03:27Z | 2019-06-19T15:03:27Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/700",
"html_url": "https://github.com/huggingface/transformers/pull/700",
"diff_url": "https://github.com/huggingface/transformers/pull/700.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/700.patch",
"merged_at": null
... | Add an argument --model_size to convert_gpt2_checkpoint_to_pytorch.py that lets the user specify whether they want to convert a checkpoint from the 117M model or from the 345M model so that they don't have to create their own 345M json config file. | {
"login": "chrisyue1998",
"id": 39981081,
"node_id": "MDQ6VXNlcjM5OTgxMDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/39981081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisyue1998",
"html_url": "https://github.com/chrisyue1998",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/700/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/700/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/643/comments | https://api.github.com/repos/huggingface/transformers/issues/643/events | https://github.com/huggingface/transformers/issues/643 | 449,401,810 | MDU6SXNzdWU0NDk0MDE4MTA= | 643 | FileNotFoundError: [Errno 2] No such file or directory: 'uncased_L-12_H-768_A-12\\pytorch_model.bin' | {
"login": "DEBADRIBASAK",
"id": 32904247,
"node_id": "MDQ6VXNlcjMyOTA0MjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/32904247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DEBADRIBASAK",
"html_url": "https://github.com/DEBADRIBASAK",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 2 | 2019-05-28T17:57:49Z | 2019-06-19T15:49:34Z | 2019-06-19T15:49:34Z | null | NONE | [] | null | null | null | null | I was just trying to get familiar with the pytorch implementation of BERT. I tried with the examles mentioned in the README file. The statement : **tokenizer = BertTokenizer.from_pretrained(BERT_PRETRAINED_PATH,do_lower_case=True)** works perfectly but when I try the same with **model = BertForMaskedLM.from_pretrained(... | {
"login": "DEBADRIBASAK",
"id": 32904247,
"node_id": "MDQ6VXNlcjMyOTA0MjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/32904247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DEBADRIBASAK",
"html_url": "https://github.com/DEBADRIBASAK",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/643/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 got the same problem. Did you solve the problem?",
"> I got the same problem. Did you solve the problem?\r\n\r\nYes. Actually the project folder of this implementation does not contain the `pytorch_model.bin` file. For loading the actual pretrained model, you have to use `BertModel.from_pretrained('bert-base-u... |
https://api.github.com/repos/huggingface/transformers/issues/277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/277/comments | https://api.github.com/repos/huggingface/transformers/issues/277/events | https://github.com/huggingface/transformers/issues/277 | 409,870,543 | MDU6SXNzdWU0MDk4NzA1NDM= | 277 | 80min training time to fine-tune BERT-base on the SQuAD dataset instead of 24min? | {
"login": "gqoew",
"id": 32342701,
"node_id": "MDQ6VXNlcjMyMzQyNzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/32342701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gqoew",
"html_url": "https://github.com/gqoew",
"followers_url": "https://api.github.com/users/gqoew/follow... | [] | closed | false | [] | null | 5 | 2019-02-13T15:48:43Z | 2019-06-20T06:50:36Z | 2019-03-06T09:00:50Z | null | NONE | [] | null | null | null | null | I just fine-tuned BERT-base on the SQuAD dataset with an AWS EC2 `p3.2xlarge` Deep Learning AMI with a single Tesla V100 16GB:
I used the config in your README:
```
export SQUAD_DIR=/path/to/SQUAD
python run_squad.py \
--bert_model bert-base-uncased \
--do_train \
--do_predict \
--do_lower_case \
... | {
"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/277/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/277/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 use 16bit training (`--fp16` argument). You can use the dynamic loss scaling or tune the loss scale yourself if the results are not the best.",
"@thomwolf Thanks! I enabled 16bit training and it took about 20min/epoch. Is that what you experienced?",
"Sounds good.",
"@thomwolf \r\nMay I know what ... |
https://api.github.com/repos/huggingface/transformers/issues/706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/706/comments | https://api.github.com/repos/huggingface/transformers/issues/706/events | https://github.com/huggingface/transformers/pull/706 | 458,819,769 | MDExOlB1bGxSZXF1ZXN0MjkwMzM1NjU0 | 706 | Update run_squad.py | {
"login": "saikalyan9981",
"id": 30959693,
"node_id": "MDQ6VXNlcjMwOTU5Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/30959693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saikalyan9981",
"html_url": "https://github.com/saikalyan9981",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 2 | 2019-06-20T18:59:30Z | 2019-06-20T19:12:02Z | 2019-06-20T19:12:02Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/706",
"html_url": "https://github.com/huggingface/transformers/pull/706",
"diff_url": "https://github.com/huggingface/transformers/pull/706.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/706.patch",
"merged_at": null
... | redundant else part, model = BertForQuestionAnswering.from_pretrained(args.bert_model) is already written in a different line | {
"login": "saikalyan9981",
"id": 30959693,
"node_id": "MDQ6VXNlcjMwOTU5Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/30959693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saikalyan9981",
"html_url": "https://github.com/saikalyan9981",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/706/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/706/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/706?src=pr&el=h1) Report\n> Merging [#706](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/706?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/c304593d8fa93f25febe1458c63497a8467... |
https://api.github.com/repos/huggingface/transformers/issues/150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/150/comments | https://api.github.com/repos/huggingface/transformers/issues/150/events | https://github.com/huggingface/transformers/issues/150 | 394,596,898 | MDU6SXNzdWUzOTQ1OTY4OTg= | 150 | BertLayerNorm not loaded in CPU mode | {
"login": "tholor",
"id": 1563902,
"node_id": "MDQ6VXNlcjE1NjM5MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1563902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tholor",
"html_url": "https://github.com/tholor",
"followers_url": "https://api.github.com/users/tholor/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 16 | 2018-12-28T09:55:05Z | 2019-06-21T10:20:02Z | 2019-06-21T10:20:02Z | null | CONTRIBUTOR | [] | null | null | null | null | I am running into an exception when loading a model on CPU in one of the example scripts. I suppose this is related to loading the FusedLayerNorm from apex, even when `--no_cuda` has been set.
https://github.com/huggingface/pytorch-pretrained-BERT/blob/8da280ebbeca5ebd7561fd05af78c65df9161f92/pytorch_pretrained_bert/... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/150/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 @tholor, apex is a GPU specific extension.\r\nWhat kind of use-case do you have in which you have apex installed but no GPU (also fp16 doesn't work on CPU, it's not supported on PyTorch currently)?",
"The two cases I came across this: \r\n1) testing if some code works for both GPU and CPU (on a GPU machine wi... |
https://api.github.com/repos/huggingface/transformers/issues/715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/715/comments | https://api.github.com/repos/huggingface/transformers/issues/715/events | https://github.com/huggingface/transformers/pull/715 | 459,477,532 | MDExOlB1bGxSZXF1ZXN0MjkwODI1Nzc5 | 715 | Include a reference for LM finetuning | {
"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-06-22T14:08:02Z | 2019-06-22T19:29:24Z | 2019-06-22T19:29:20Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/715",
"html_url": "https://github.com/huggingface/transformers/pull/715",
"diff_url": "https://github.com/huggingface/transformers/pull/715.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/715.patch",
"merged_at": "2019... | @lopuhin recently made me aware of a published paper covering domain fine-tuning of BERT models, so I added a reference to the LM finetuning README. | {
"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/715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/715/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/715?src=pr&el=h1) Report\n> Merging [#715](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/715?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/c304593d8fa93f25febe1458c63497a8467... |
https://api.github.com/repos/huggingface/transformers/issues/714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/714/comments | https://api.github.com/repos/huggingface/transformers/issues/714/events | https://github.com/huggingface/transformers/pull/714 | 459,465,533 | MDExOlB1bGxSZXF1ZXN0MjkwODE4MDg2 | 714 | Correct a broken link on README | {
"login": "changukshin",
"id": 6247953,
"node_id": "MDQ6VXNlcjYyNDc5NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6247953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/changukshin",
"html_url": "https://github.com/changukshin",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-06-22T11:36:35Z | 2019-06-22T19:29:55Z | 2019-06-22T19:29:41Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/714",
"html_url": "https://github.com/huggingface/transformers/pull/714",
"diff_url": "https://github.com/huggingface/transformers/pull/714.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/714.patch",
"merged_at": "2019... | I've correct a broken link and its contexts on README. | {
"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/714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/714/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/714?src=pr&el=h1) Report\n> Merging [#714](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/714?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/c304593d8fa93f25febe1458c63497a8467... |
https://api.github.com/repos/huggingface/transformers/issues/487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/487/comments | https://api.github.com/repos/huggingface/transformers/issues/487/events | https://github.com/huggingface/transformers/issues/487 | 432,963,792 | MDU6SXNzdWU0MzI5NjM3OTI= | 487 | BERT multilingual for zero-shot classification | {
"login": "ramild",
"id": 9999944,
"node_id": "MDQ6VXNlcjk5OTk5NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9999944?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ramild",
"html_url": "https://github.com/ramild",
"followers_url": "https://api.github.com/users/ramild/foll... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1260... | closed | false | [] | null | 3 | 2019-04-14T11:39:34Z | 2019-06-23T09:14:14Z | 2019-06-23T09:14:14Z | null | NONE | [] | null | null | null | null | Hi!
I'm interested in solving a classification problem in which I train the model on one language and make the predictions for another one (zero-shot classification).
It is said in the README for the multilingual BERT model (https://github.com/google-research/bert/blob/master/multilingual.md) that:
> For tokeniz... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/487/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 | [
"UPD. I tried it with bert-multilingual-cased, but the results are still bad. A number of very simple (text, translated text) give very different probability distributions (the translated versions almost always fall into one major category).\r\n\r\nSpecifiically, **I fine-tune pre-trained bert-multilingual-cased on... |
https://api.github.com/repos/huggingface/transformers/issues/486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/486/comments | https://api.github.com/repos/huggingface/transformers/issues/486/events | https://github.com/huggingface/transformers/issues/486 | 432,884,928 | MDU6SXNzdWU0MzI4ODQ5Mjg= | 486 | Difference between this repo and bert-as-service | {
"login": "tcqiuyu",
"id": 6031166,
"node_id": "MDQ6VXNlcjYwMzExNjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6031166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tcqiuyu",
"html_url": "https://github.com/tcqiuyu",
"followers_url": "https://api.github.com/users/tcqiuyu/... | [
{
"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-04-13T18:44:59Z | 2019-06-23T09:14:14Z | 2019-06-23T09:14:14Z | null | NONE | [] | null | null | null | null | Hi,
I wondered if anybody knows the difference between the `BertModel` of this repo and [bert-as-service](https://github.com/hanxiao/bert-as-service).
1. I cannot get the same result between these two even if I use the same checkpoint. pytorch-pretrained-BERT yield a lower acc and slower convergence.
2. The m... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/486/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 there are some optimizations. Please take a look here:\r\n\r\nhttps://hanxiao.github.io/2019/01/02/Serving-Google-BERT-in-Production-using-Tensorflow-and-ZeroMQ/#engineering-building-a-scalable-service",
"Hi, there is no specific relation between the present repo (which provides PyTorch implementations of se... |
https://api.github.com/repos/huggingface/transformers/issues/481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/481/comments | https://api.github.com/repos/huggingface/transformers/issues/481/events | https://github.com/huggingface/transformers/issues/481 | 432,700,310 | MDU6SXNzdWU0MzI3MDAzMTA= | 481 | BERT does mask-answering or sequence prediction or both??? | {
"login": "bladedsupernova",
"id": 46139490,
"node_id": "MDQ6VXNlcjQ2MTM5NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/46139490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bladedsupernova",
"html_url": "https://github.com/bladedsupernova",
"followers_url": "https://api... | [
{
"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-04-12T18:54:42Z | 2019-06-23T10:14:14Z | 2019-06-23T10:14:14Z | null | NONE | [] | null | null | null | null | I'm working on a exciting project but need to know something fast.
I seen BERT adds a word at the end of your input, like sequence prediction, elongating your input text.
But I read that BERT has been trained at (and is a pro at) filling in the blank word mask, and in fact CANNOT do sequence prediction at the end... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/481/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'm not sure I understand your question.\r\n\r\nBut one thing BERT can do is mask-answering indeed (guessing a word in the middle of a sentence).\r\n\r\nBERT is quite bad at doing sequence prediction at the end of an input because it's not trained on partial sentences.",
"When BERT fills-in a MASK, does it alway... |
https://api.github.com/repos/huggingface/transformers/issues/502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/502/comments | https://api.github.com/repos/huggingface/transformers/issues/502/events | https://github.com/huggingface/transformers/issues/502 | 434,217,681 | MDU6SXNzdWU0MzQyMTc2ODE= | 502 | How to obtain attention values for each layer | {
"login": "serenaklm",
"id": 34397223,
"node_id": "MDQ6VXNlcjM0Mzk3MjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/34397223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/serenaklm",
"html_url": "https://github.com/serenaklm",
"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 | 5 | 2019-04-17T10:51:15Z | 2019-06-23T13:14:13Z | 2019-06-23T13:14:13Z | null | NONE | [] | null | null | null | null | Hi all,
Please correct me if I am wrong.
From my understanding, The encoded values for each layer (12 of them for base model) would be returned when we run our results through the pre-trained model.
However, I would like to examine the self-attention values for each layer. Is there a way I can extract that ou... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/502/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 | [
"Not really.\r\nYou should build a new sub-class of `BertPreTrainedModel` which is identical to `BertModel`but send back self-attention values in addition to the hidden states.\r\n",
"I see. Thank you! ",
"Hi, \r\n\r\nJust to add on. If this is what I would be doing, would it be advisable to fine-tune the weigh... |
https://api.github.com/repos/huggingface/transformers/issues/479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/479/comments | https://api.github.com/repos/huggingface/transformers/issues/479/events | https://github.com/huggingface/transformers/issues/479 | 432,688,857 | MDU6SXNzdWU0MzI2ODg4NTc= | 479 | Using GPT2 to implement GLTR | {
"login": "asad1996172",
"id": 19806866,
"node_id": "MDQ6VXNlcjE5ODA2ODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/19806866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asad1996172",
"html_url": "https://github.com/asad1996172",
"followers_url": "https://api.github.com/... | [
{
"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 | 4 | 2019-04-12T18:23:43Z | 2019-06-23T15:14:16Z | 2019-06-23T15:14:15Z | null | NONE | [] | null | null | null | null | How can we use this GPT2 model to create the basic functionality of the GLTR tool?
Like getting probabilities for each word in a sequence.? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/479/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 | [
"the allen institute tool may help you....it has probabilities of next 10 words for when adding a next word....i think the prorbablities are shown....may just be the 10 words but the git code is available i think so may be what you want.",
"The output of `GPT2LMHeadModel` are logits so you can just apply a softma... |
https://api.github.com/repos/huggingface/transformers/issues/709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/709/comments | https://api.github.com/repos/huggingface/transformers/issues/709/events | https://github.com/huggingface/transformers/issues/709 | 459,154,612 | MDU6SXNzdWU0NTkxNTQ2MTI= | 709 | layer_norm_eps | {
"login": "suchithtuple",
"id": 50451555,
"node_id": "MDQ6VXNlcjUwNDUxNTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/50451555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suchithtuple",
"html_url": "https://github.com/suchithtuple",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 5 | 2019-06-21T11:37:50Z | 2019-06-23T16:31:41Z | 2019-06-21T14:27:01Z | null | NONE | [] | null | null | null | null | In [modeling.py](https://github.com/huggingface/pytorch-pretrained-BERT/blob/c304593d8fa93f25febe1458c63497a846749c89/pytorch_pretrained_bert/modeling.py#L303) why `self.layer_norm_eps` is written even config don't have these parameter. Check [here](https://github.com/google-research/bert#pre-trained-models)
Or I am... | {
"login": "suchithtuple",
"id": 50451555,
"node_id": "MDQ6VXNlcjUwNDUxNTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/50451555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suchithtuple",
"html_url": "https://github.com/suchithtuple",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/709/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/709/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 | [
"Because some people wanted to configure this: https://github.com/huggingface/pytorch-pretrained-BERT/pull/585",
"So I have to add `config.layer_norm_eps = 1e-12` if I am taking the config from the link above ?",
"You don't need to, it's the default value when instantiating a `BertConfig` class.",
"When I pri... |
https://api.github.com/repos/huggingface/transformers/issues/719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/719/comments | https://api.github.com/repos/huggingface/transformers/issues/719/events | https://github.com/huggingface/transformers/issues/719 | 459,734,720 | MDU6SXNzdWU0NTk3MzQ3MjA= | 719 | Embedding and predictions in one forward pass | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 2 | 2019-06-24T07:31:48Z | 2019-06-25T08:05:12Z | 2019-06-25T08:05:04Z | null | NONE | [] | null | null | null | null | Is it possible to mix `BertModel` and `BertForMaskedLM`? i.e. is it possible to get the embedding and the predictions in one forward pass? | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/719/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/719/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, just make your own PyTorch model taking inspiration from BertModel and BertForMaskedLM.\r\nIf you sub-class `BertPreTrainedModel`, you'll be able to load the pretrained weights using the `from_pretrained()` method",
"Okay, thank you :) "
] |
https://api.github.com/repos/huggingface/transformers/issues/710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/710/comments | https://api.github.com/repos/huggingface/transformers/issues/710/events | https://github.com/huggingface/transformers/issues/710 | 459,174,943 | MDU6SXNzdWU0NTkxNzQ5NDM= | 710 | A way to increase input length limitation? | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 2 | 2019-06-21T12:33:32Z | 2019-06-25T08:06:53Z | 2019-06-25T08:06:53Z | null | NONE | [] | null | null | null | null | Hi,
Is there a way to increase input length limitation of 512 tokens?
Maybe something to change in the code? | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/710/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 way as far as I can tell, this is a fundamental limitation for absolute position pre-trained models (i.e. BERT, GPT, GPT-2)",
"Okay thank you!"
] |
https://api.github.com/repos/huggingface/transformers/issues/211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/211/comments | https://api.github.com/repos/huggingface/transformers/issues/211/events | https://github.com/huggingface/transformers/issues/211 | 401,008,858 | MDU6SXNzdWU0MDEwMDg4NTg= | 211 | How convert pytorch to tf checkpoint? | {
"login": "semsevens",
"id": 13362968,
"node_id": "MDQ6VXNlcjEzMzYyOTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/13362968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/semsevens",
"html_url": "https://github.com/semsevens",
"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"
},
{
"id": 1314... | closed | false | [] | null | 8 | 2019-01-19T16:02:47Z | 2019-06-25T08:38:47Z | 2019-05-21T14:38:19Z | null | NONE | [] | null | null | null | null | How convert pytorch to tf checkpoint? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/211/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 don't think such a conversion is currently implemented in this repository, but I have my own implementation here (if you're interested in adapting it for your use-case): https://github.com/nikitakit/self-attentive-parser/blob/8238e79e2089300db059eddff78229a09e254f70/export/export_bert.py#L94-L141",
"Thanks @ni... |
https://api.github.com/repos/huggingface/transformers/issues/703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/703/comments | https://api.github.com/repos/huggingface/transformers/issues/703/events | https://github.com/huggingface/transformers/issues/703 | 458,075,677 | MDU6SXNzdWU0NTgwNzU2Nzc= | 703 | "Received 'killed' signal" during the circleci python3 build after submitting PR | {
"login": "chrisyue1998",
"id": 39981081,
"node_id": "MDQ6VXNlcjM5OTgxMDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/39981081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisyue1998",
"html_url": "https://github.com/chrisyue1998",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 2 | 2019-06-19T15:18:33Z | 2019-06-25T17:41:13Z | 2019-06-25T08:06:17Z | null | NONE | [] | null | null | null | null | I submitted a PR after modifying convert_gpt2_checkpoint_to_pytorch.py, and my build_py2 test passed, but I received a very vague error from build_py3 (as written in the title of this issue) that caused my build to fail. Does anyone have any ideas as to where the issue could be?
Edit: Attached image below
<img widt... | {
"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/703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/703/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 | [
"Yeah I've removed the memory-heavy tests",
"Thanks!"
] |
https://api.github.com/repos/huggingface/transformers/issues/725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/725/comments | https://api.github.com/repos/huggingface/transformers/issues/725/events | https://github.com/huggingface/transformers/issues/725 | 460,533,863 | MDU6SXNzdWU0NjA1MzM4NjM= | 725 | BERT Input size reduced to half in forward function | {
"login": "xinsu626",
"id": 30940128,
"node_id": "MDQ6VXNlcjMwOTQwMTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/30940128?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinsu626",
"html_url": "https://github.com/xinsu626",
"followers_url": "https://api.github.com/users/xin... | [] | closed | false | [] | null | 2 | 2019-06-25T16:52:21Z | 2019-06-26T03:15:16Z | 2019-06-26T03:15:16Z | null | NONE | [] | null | null | null | null | I was trying to modify your BertForSequenceClassification class for long sequence classification. Like below:
```
class MyBertForSequenceClassification(BertPreTrainedModel):
def __init__(self, config, num_labels=2, output_attentions=False):
super(MyBertForSequenceClassification, self).__init__(config)... | {
"login": "xinsu626",
"id": 30940128,
"node_id": "MDQ6VXNlcjMwOTQwMTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/30940128?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinsu626",
"html_url": "https://github.com/xinsu626",
"followers_url": "https://api.github.com/users/xin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/725/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 you have 2 GPUs?",
"@thomwolf Thanks a lot. I forgot I was running on two gpus. \r\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/676/comments | https://api.github.com/repos/huggingface/transformers/issues/676/events | https://github.com/huggingface/transformers/issues/676 | 455,135,026 | MDU6SXNzdWU0NTUxMzUwMjY= | 676 | Importing TF checkpoint as BertForTokenClassificiation | {
"login": "chrisgzf",
"id": 4933577,
"node_id": "MDQ6VXNlcjQ5MzM1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4933577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisgzf",
"html_url": "https://github.com/chrisgzf",
"followers_url": "https://api.github.com/users/chris... | [] | closed | false | [] | null | 15 | 2019-06-12T10:30:10Z | 2019-06-27T02:45:53Z | 2019-06-27T02:45:53Z | null | CONTRIBUTOR | [] | null | null | null | null | Hello Everyone,
I've been stuck with trying to load TensorFlow checkpoints to be used by `pytorch-pretrained-bert` as `BertForTokenClassification`.
**pytorch-pretrained-BERT Version:** Installed from latest master branch.
**What works:**
```python
config = BertConfig.from_json_file(CONFIG_FILE)
model = Bert... | {
"login": "chrisgzf",
"id": 4933577,
"node_id": "MDQ6VXNlcjQ5MzM1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4933577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisgzf",
"html_url": "https://github.com/chrisgzf",
"followers_url": "https://api.github.com/users/chris... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/676/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/676/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 | [
"Hello everyone,\r\n\r\nI have temporarily come up with a workaround for this. Not sure if it's the best solution but it works. What I did was I essentially merged what `load_tf_weights_in_bert()` and what part of `BertPreTrainedModel.from_pretrained()` was doing. `BertPreTrainedModel` is the parent class of `BertF... |
https://api.github.com/repos/huggingface/transformers/issues/685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/685/comments | https://api.github.com/repos/huggingface/transformers/issues/685/events | https://github.com/huggingface/transformers/pull/685 | 456,117,213 | MDExOlB1bGxSZXF1ZXN0Mjg4MjI1NjQw | 685 | Add method to directly load TF Checkpoints for Bert models | {
"login": "chrisgzf",
"id": 4933577,
"node_id": "MDQ6VXNlcjQ5MzM1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4933577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisgzf",
"html_url": "https://github.com/chrisgzf",
"followers_url": "https://api.github.com/users/chris... | [] | closed | false | [] | null | 4 | 2019-06-14T08:10:40Z | 2019-06-27T06:33:59Z | 2019-06-27T02:47:17Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/685",
"html_url": "https://github.com/huggingface/transformers/pull/685",
"diff_url": "https://github.com/huggingface/transformers/pull/685.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/685.patch",
"merged_at": null
... | ## Summary
In this PR, I changed some documentation, and added `from_tf_ckpt()` method to `BertPreTrainedModel`.
This method allows users to directly load TensorFlow checkpoints (e.g. `model.ckpt-XXXX` files) for a task specific Bert model like `BertForTokenClassification` or `BertForSequenceClassification`.
**F... | {
"login": "chrisgzf",
"id": 4933577,
"node_id": "MDQ6VXNlcjQ5MzM1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4933577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisgzf",
"html_url": "https://github.com/chrisgzf",
"followers_url": "https://api.github.com/users/chris... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/685/timeline | null | null | null | null | null | null | true | [
"Hi, I'm not convinced we need this additional option, see my [comment](https://github.com/huggingface/pytorch-pretrained-BERT/issues/676#issuecomment-502252962) in the associated issue thread.",
"As mentioned in, https://github.com/huggingface/pytorch-pretrained-BERT/issues/676#issuecomment-506134506, I recognis... |
https://api.github.com/repos/huggingface/transformers/issues/359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/359/comments | https://api.github.com/repos/huggingface/transformers/issues/359/events | https://github.com/huggingface/transformers/pull/359 | 418,872,236 | MDExOlB1bGxSZXF1ZXN0MjU5NTQwOTU0 | 359 | Update run_gpt2.py | {
"login": "elonmuskceo",
"id": 47338871,
"node_id": "MDQ6VXNlcjQ3MzM4ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/47338871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elonmuskceo",
"html_url": "https://github.com/elonmuskceo",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 1 | 2019-03-08T16:59:32Z | 2019-06-27T20:08:04Z | 2019-03-11T08:07:56Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/359",
"html_url": "https://github.com/huggingface/transformers/pull/359",
"diff_url": "https://github.com/huggingface/transformers/pull/359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/359.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/359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/359/timeline | null | null | null | null | null | null | true | [
"Thanks Elon"
] | |
https://api.github.com/repos/huggingface/transformers/issues/731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/731/comments | https://api.github.com/repos/huggingface/transformers/issues/731/events | https://github.com/huggingface/transformers/pull/731 | 461,122,810 | MDExOlB1bGxSZXF1ZXN0MjkyMTExNDc3 | 731 | merge | {
"login": "Eurus-Holmes",
"id": 34226570,
"node_id": "MDQ6VXNlcjM0MjI2NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/34226570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Eurus-Holmes",
"html_url": "https://github.com/Eurus-Holmes",
"followers_url": "https://api.github.c... | [] | closed | false | [] | null | 1 | 2019-06-26T18:38:58Z | 2019-06-28T15:07:56Z | 2019-06-28T15:07:56Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/731",
"html_url": "https://github.com/huggingface/transformers/pull/731",
"diff_url": "https://github.com/huggingface/transformers/pull/731.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/731.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/731/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/731/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/731?src=pr&el=h1) Report\n> Merging [#731](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/731?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/98dc30b21e3df6528d0dd17f0910ffea12b... | |
https://api.github.com/repos/huggingface/transformers/issues/718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/718/comments | https://api.github.com/repos/huggingface/transformers/issues/718/events | https://github.com/huggingface/transformers/pull/718 | 459,600,873 | MDExOlB1bGxSZXF1ZXN0MjkwOTA2MDYy | 718 | Incorrect docstring for BertForMaskedLM | {
"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-06-23T17:49:03Z | 2019-06-28T15:08:51Z | 2019-06-28T15:08:51Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/718",
"html_url": "https://github.com/huggingface/transformers/pull/718",
"diff_url": "https://github.com/huggingface/transformers/pull/718.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/718.patch",
"merged_at": "2019... | The docstring for the head_mask argument to the BertForMaskedLM class is repeated and one is incorrect - I presume it's just a copy-paste mistake. | {
"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/718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/718/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/718?src=pr&el=h1) Report\n> Merging [#718](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/718?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/98dc30b21e3df6528d0dd17f0910ffea12b... |
https://api.github.com/repos/huggingface/transformers/issues/716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/716/comments | https://api.github.com/repos/huggingface/transformers/issues/716/events | https://github.com/huggingface/transformers/pull/716 | 459,515,735 | MDExOlB1bGxSZXF1ZXN0MjkwODUwODYx | 716 | Add tie_weights to XLNetForSequenceClassification | {
"login": "Strideradu",
"id": 9002118,
"node_id": "MDQ6VXNlcjkwMDIxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9002118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Strideradu",
"html_url": "https://github.com/Strideradu",
"followers_url": "https://api.github.com/users... | [] | closed | false | [] | null | 2 | 2019-06-22T22:15:23Z | 2019-06-28T15:10:33Z | 2019-06-28T15:10:33Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/716",
"html_url": "https://github.com/huggingface/transformers/pull/716",
"diff_url": "https://github.com/huggingface/transformers/pull/716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/716.patch",
"merged_at": null
... | XLNetForSequenceClassification doesn't have tie_weights() but initialization will call it, or we can made a function in XLNetPretrainedModel? | {
"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/716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/716/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/716?src=pr&el=h1) Report\n> Merging [#716](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/716?src=pr&el=desc) into [xlnet](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/c946bb51a61f67b0c9eaae1c9cf6f164a774... |
https://api.github.com/repos/huggingface/transformers/issues/704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/704/comments | https://api.github.com/repos/huggingface/transformers/issues/704/events | https://github.com/huggingface/transformers/pull/704 | 458,116,594 | MDExOlB1bGxSZXF1ZXN0Mjg5Nzg5MTI0 | 704 | Adjust s3 german Bert file storage | {
"login": "Timoeller",
"id": 3264870,
"node_id": "MDQ6VXNlcjMyNjQ4NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3264870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Timoeller",
"html_url": "https://github.com/Timoeller",
"followers_url": "https://api.github.com/users/Ti... | [] | closed | false | [] | null | 0 | 2019-06-19T16:43:09Z | 2019-06-28T15:10:59Z | 2019-06-28T15:10:59Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/704",
"html_url": "https://github.com/huggingface/transformers/pull/704",
"diff_url": "https://github.com/huggingface/transformers/pull/704.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/704.patch",
"merged_at": "2019... | As suggested, keeping model and config files on our s3. 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/704/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/704/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/723/comments | https://api.github.com/repos/huggingface/transformers/issues/723/events | https://github.com/huggingface/transformers/pull/723 | 460,283,950 | MDExOlB1bGxSZXF1ZXN0MjkxNDQzMTYz | 723 | Update Adam optimizer to follow pytorch convention for betas parameter (#510) | {
"login": "tonianelope",
"id": 23743176,
"node_id": "MDQ6VXNlcjIzNzQzMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/23743176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonianelope",
"html_url": "https://github.com/tonianelope",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 4 | 2019-06-25T08:29:30Z | 2019-06-28T15:28:26Z | 2019-06-28T15:28:26Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/723",
"html_url": "https://github.com/huggingface/transformers/pull/723",
"diff_url": "https://github.com/huggingface/transformers/pull/723.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/723.patch",
"merged_at": "2019... | see #510
Update optimiser to follow pytorch convention ([Adam Optimiser](https://pytorch.org/docs/stable/optim.html#torch.optim.Adam)) instead of tensorflow, to allow for better integration with other pytorch libraries and frameworks. | {
"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/723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/723/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/723?src=pr&el=h1) Report\n> Merging [#723](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/723?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/98dc30b21e3df6528d0dd17f0910ffea12b... |
https://api.github.com/repos/huggingface/transformers/issues/510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/510/comments | https://api.github.com/repos/huggingface/transformers/issues/510/events | https://github.com/huggingface/transformers/issues/510 | 435,454,324 | MDU6SXNzdWU0MzU0NTQzMjQ= | 510 | Adam optimiser not following Pytorch conventions | {
"login": "tonianelope",
"id": 23743176,
"node_id": "MDQ6VXNlcjIzNzQzMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/23743176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonianelope",
"html_url": "https://github.com/tonianelope",
"followers_url": "https://api.github.com/... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1314... | closed | false | [] | null | 2 | 2019-04-20T23:33:42Z | 2019-06-28T16:00:15Z | 2019-06-28T16:00:15Z | null | CONTRIBUTOR | [] | null | null | null | null | Both [BertAdam](https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/optimization.py) and [OpenAIAdam](https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/optimization_openai.py) don't follow the pytroch convetion to define the `betas` paramet... | {
"login": "tonianelope",
"id": 23743176,
"node_id": "MDQ6VXNlcjIzNzQzMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/23743176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonianelope",
"html_url": "https://github.com/tonianelope",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/510/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | null | false | [
"We could update that indeed, that's just a relic of the Tensorflow conversion.\r\nDo you want to submit a PR? Otherwise I'll do it when I work on the next release.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank y... |
https://api.github.com/repos/huggingface/transformers/issues/460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/460/comments | https://api.github.com/repos/huggingface/transformers/issues/460/events | https://github.com/huggingface/transformers/issues/460 | 430,584,037 | MDU6SXNzdWU0MzA1ODQwMzc= | 460 | run_classifier on CoLA fails with illegal memory access | {
"login": "prematurelyoptimized",
"id": 13842527,
"node_id": "MDQ6VXNlcjEzODQyNTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/13842527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prematurelyoptimized",
"html_url": "https://github.com/prematurelyoptimized",
"followers_url... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 6 | 2019-04-08T18:01:30Z | 2019-06-28T18:57:48Z | 2019-06-28T18:57:48Z | null | NONE | [] | null | null | null | null | I am trying to run the run_classifier.py script against the CoLA task as a smoke test to make sure I have everything installed correctly. However, when I run
`CUDA_LAUNCH_BLOCKING=1 python run_classifier.py --task_name CoLA --do_train --do_eval --do_lower_case --data_dir /workspace/glue/CoLA/ --bert_model bert-base-... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/460/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 | [
"My guess is that the inputs are either larger than the maximum input size of the model (512) or outside the vocabulary (larger than the vocabulary size).\r\n\r\nDo you think you can try to check this?",
"@ananyahjha93 did the implementation of the additional GLUE tasks. Maybe he has some additional insights on t... |
https://api.github.com/repos/huggingface/transformers/issues/516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/516/comments | https://api.github.com/repos/huggingface/transformers/issues/516/events | https://github.com/huggingface/transformers/issues/516 | 435,806,713 | MDU6SXNzdWU0MzU4MDY3MTM= | 516 | Same loss values but different eval result | {
"login": "a-maci",
"id": 23125439,
"node_id": "MDQ6VXNlcjIzMTI1NDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/23125439?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/a-maci",
"html_url": "https://github.com/a-maci",
"followers_url": "https://api.github.com/users/a-maci/fo... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
},
{
... | closed | false | [] | null | 2 | 2019-04-22T17:19:40Z | 2019-06-29T09:11:32Z | 2019-06-29T09:11:32Z | null | NONE | [] | null | null | null | null | I am experimenting with low-precision on the pre-trained BERT for SQuAD scenario.
I am seeing a strange issue: the loss value when fine-tuning the model with FP16 is very similar to the loss value when fine-tuning the model at Int8. However, the eval results are are quite different -- with Int8, the results are quite... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/516/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 never tried Int8 in PyTorch.\r\nCan you share some code so we can have a look?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/513/comments | https://api.github.com/repos/huggingface/transformers/issues/513/events | https://github.com/huggingface/transformers/issues/513 | 435,620,361 | MDU6SXNzdWU0MzU2MjAzNjE= | 513 | How many epochs are necessary for finetuning BERT? | {
"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.... | [
{
"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 | 2 | 2019-04-22T06:47:37Z | 2019-06-29T09:11:33Z | 2019-06-29T09:11:33Z | null | NONE | [] | null | null | null | null | Hi,
Could somebody provide some insights on how many epochs are necessary for finetuning bert model?
Google BERT has 100000 steps.(total_data/batch_size)
flags.DEFINE_integer("num_train_steps", 100000, "Number of training steps.")
Thanks
Mahesh | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/513/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 tried to finetune GPT rather than BERT. An appropriate running epochs is **3** in the generation setting, including learning on embedding of some custom special tokens. Hope it help you :)",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no ... |
https://api.github.com/repos/huggingface/transformers/issues/517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/517/comments | https://api.github.com/repos/huggingface/transformers/issues/517/events | https://github.com/huggingface/transformers/issues/517 | 435,986,221 | MDU6SXNzdWU0MzU5ODYyMjE= | 517 | More SEPs | {
"login": "shawnkx",
"id": 15963237,
"node_id": "MDQ6VXNlcjE1OTYzMjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/15963237?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shawnkx",
"html_url": "https://github.com/shawnkx",
"followers_url": "https://api.github.com/users/shawnk... | [
{
"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 | 2 | 2019-04-23T03:51:06Z | 2019-06-29T09:11:34Z | 2019-06-29T09:11:34Z | null | NONE | [] | null | null | null | null | I want to segment input sentences in more segments, like [CLS]S1[SEP]S2[SEP]S3[SEP]. Therefore, when I convert example to features, I do the following.
`segment_ids = [0] * len(tokens_s1)`
`segment_ids += [1] * len(tokens_s2)`
`segment_ids += [2] * len(tokens_s2)`
but I got the following error when I run the `sel... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/517/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, only two segment labels are pre-trained in BERT.\r\nYou could fine-tune a new vocabulary token but we don't have a script to do that currently so you would have to modify the vocabulary and model.\r\nGPT and GPT-2 have option to do that where you can take inspiration from.\r\nI'm happy to welcome a PR on this ... |
https://api.github.com/repos/huggingface/transformers/issues/742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/742/comments | https://api.github.com/repos/huggingface/transformers/issues/742/events | https://github.com/huggingface/transformers/pull/742 | 462,306,120 | MDExOlB1bGxSZXF1ZXN0MjkzMDQwNzA1 | 742 | When not loading a pretrained model, all layers are initialized with copies of the same weights | {
"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-06-29T14:12:38Z | 2019-06-29T14:20:30Z | 2019-06-29T14:20:03Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/742",
"html_url": "https://github.com/huggingface/transformers/pull/742",
"diff_url": "https://github.com/huggingface/transformers/pull/742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/742.patch",
"merged_at": null
... | Although this repo is mostly used for loading and training pre-trained BERT models, the code does support model initialization too! However, I found an issue with the initialization code - because it just makes one layer and copies it, the weights will be identical across all layers at initialization. This probably isn... | {
"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/742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/742/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/742?src=pr&el=h1) Report\n> Merging [#742](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/742?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/dad3c7a485b7ffc6fd2766f349e6ee845ec... |
https://api.github.com/repos/huggingface/transformers/issues/468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/468/comments | https://api.github.com/repos/huggingface/transformers/issues/468/events | https://github.com/huggingface/transformers/issues/468 | 431,358,967 | MDU6SXNzdWU0MzEzNTg5Njc= | 468 | GPT-2 fine tunning | {
"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... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 7 | 2019-04-10T08:01:01Z | 2019-06-29T17:11:34Z | 2019-06-29T17:11:34Z | null | NONE | [] | null | null | null | null | I wonder if GPT-2 model has some examples of how to do fine tuning like GPT. The DoubleHeadsModel interface of GPT-2 looks similar to GPT. But there's no special token handler for GPT-2 tokenizer. Is that necessary? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/468/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/468/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 | [
"What kind of task are you fine-tuning on? I If it's something like ROCstories task, you need the extra tokens. I think people are doing BERT for up-stream tasks because birectional context gives better results than left-to-right",
"Hi @yaroslavvb, I am mostly focusing on classification tasks(like ROCstories as y... |
https://api.github.com/repos/huggingface/transformers/issues/525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/525/comments | https://api.github.com/repos/huggingface/transformers/issues/525/events | https://github.com/huggingface/transformers/issues/525 | 436,513,242 | MDU6SXNzdWU0MzY1MTMyNDI= | 525 | Should I use weight_decay or weight_decay_rate? | {
"login": "lemonhu",
"id": 22219073,
"node_id": "MDQ6VXNlcjIyMjE5MDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/22219073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemonhu",
"html_url": "https://github.com/lemonhu",
"followers_url": "https://api.github.com/users/lemonh... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 2 | 2019-04-24T06:11:06Z | 2019-06-30T08:02:54Z | 2019-06-30T08:02:54Z | null | NONE | [] | null | null | null | null | Thanks for the awesome work.
Just as line [simple_lm_finetuning.py#L540](https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/examples/lm_finetuning/simple_lm_finetuning.py#L540), When I use bert for downstream tasks, should I use `weight_decay` or `weight_decay_rate` when I add a decay operation to th... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/525/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 | [
"According to the instructions [module-torch.optim](https://pytorch.org/docs/stable/optim.html?highlight=torch%20optim#module-torch.optim) from PyTorch API and [fused_adam.py](https://github.com/NVIDIA/apex/blob/master/apex/optimizers/fused_adam.py) from apex repo, I think `weight_decay` and `weight_decay_rate` are... |
https://api.github.com/repos/huggingface/transformers/issues/522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/522/comments | https://api.github.com/repos/huggingface/transformers/issues/522/events | https://github.com/huggingface/transformers/issues/522 | 436,137,071 | MDU6SXNzdWU0MzYxMzcwNzE= | 522 | extending of Transformer-XL for new tasks | {
"login": "cherepanovic",
"id": 10064548,
"node_id": "MDQ6VXNlcjEwMDY0NTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/10064548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cherepanovic",
"html_url": "https://github.com/cherepanovic",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-23T11:28:26Z | 2019-06-30T13:02:54Z | 2019-06-30T13:02:54Z | null | NONE | [] | null | null | null | null | Hello community,
I am looking for an example which could help me to extend the Transformer XL to a model similar to bert-as-service model [1]. I would like to know how to set up new layers on the pretrained Tranformer XL and train the last new layers or the whole model. Could anyone give me an advice regarding this ... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/522/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/653/comments | https://api.github.com/repos/huggingface/transformers/issues/653/events | https://github.com/huggingface/transformers/issues/653 | 450,697,161 | MDU6SXNzdWU0NTA2OTcxNjE= | 653 | Different Results from version 0.4.0 to version 0.5.0 | {
"login": "ShengleiH",
"id": 23250283,
"node_id": "MDQ6VXNlcjIzMjUwMjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/23250283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShengleiH",
"html_url": "https://github.com/ShengleiH",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 4 | 2019-05-31T09:12:52Z | 2019-06-30T14:26:13Z | 2019-05-31T12:02:55Z | null | NONE | [] | null | null | null | null | Hi, I found the results after training is different from version 0.4.0 to version 0.5.0. I have fixed all initialization to reproduce the results. And I also test version 0.2.0 and 0.3.0, the results are the same to version 0.4.0, but from version 0.5.0 +, the results is different. I am wondering that have you trained ... | {
"login": "ShengleiH",
"id": 23250283,
"node_id": "MDQ6VXNlcjIzMjUwMjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/23250283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShengleiH",
"html_url": "https://github.com/ShengleiH",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/653/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, no we didn't change the weights. Can you share a sample on which the results are different?",
"Hi @thomwolf , thanks for your quick reply. I found even version 0.4.0 is different to version 0.2.0 and 0.3.0. I trained the model on v0.4.0, and then I tried to load the model using v0.2.0, here is the mismatch o... |
https://api.github.com/repos/huggingface/transformers/issues/528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/528/comments | https://api.github.com/repos/huggingface/transformers/issues/528/events | https://github.com/huggingface/transformers/issues/528 | 436,680,415 | MDU6SXNzdWU0MzY2ODA0MTU= | 528 | __init__() got an unexpected keyword argument 'do_basic_tokenize' | {
"login": "lcswillems",
"id": 5437552,
"node_id": "MDQ6VXNlcjU0Mzc1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcswillems",
"html_url": "https://github.com/lcswillems",
"followers_url": "https://api.github.com/users... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
},
{
... | closed | false | [] | null | 3 | 2019-04-24T12:54:48Z | 2019-06-30T16:02:54Z | 2019-06-30T16:02:54Z | null | NONE | [] | null | null | null | null | In the README, this line is written:
```
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True, do_basic_tokenize=True)
```
But when I execute it, I get this error:
```
__init__() got an unexpected keyword argument 'do_basic_tokenize'
```
| {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/528/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 | [
"Which version of pytorch-pretrained-bert are you using?\r\nCan you give the full error message to see which call to `__init__()` is failing?\r\nWe should have the keyword argument [here](https://github.com/huggingface/pytorch-pretrained-BERT/blob/3d78e226e68a5c5d0ef612132b601024c3534e38/pytorch_pretrained_bert/tok... |
https://api.github.com/repos/huggingface/transformers/issues/743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/743/comments | https://api.github.com/repos/huggingface/transformers/issues/743/events | https://github.com/huggingface/transformers/issues/743 | 462,410,393 | MDU6SXNzdWU0NjI0MTAzOTM= | 743 | Cannot reproduce results from version 0.4.0 | {
"login": "hguan6",
"id": 19914123,
"node_id": "MDQ6VXNlcjE5OTE0MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/19914123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hguan6",
"html_url": "https://github.com/hguan6",
"followers_url": "https://api.github.com/users/hguan6/fo... | [] | closed | false | [] | null | 3 | 2019-06-30T14:22:07Z | 2019-07-01T03:51:14Z | 2019-07-01T03:50:41Z | null | NONE | [] | null | null | null | null | Hi, I have a research project that I did a few months ago. Now I have problem reproducing results of 0.4.0, and unfortunately, I lost version 0.4.0. Can you please send me the code of this version to hguan6@asu.edu? In fact, I am not quite sure it's 0.4.0, but I remember I did it in March 2019. | {
"login": "hguan6",
"id": 19914123,
"node_id": "MDQ6VXNlcjE5OTE0MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/19914123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hguan6",
"html_url": "https://github.com/hguan6",
"followers_url": "https://api.github.com/users/hguan6/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/743/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 | [
"`pip install pytorch-pretrained-bert==0.4.0` should work normally",
"Though if you did it with the latest release in March 2019 it was probably more 0.6.1 (see the list and dates here: https://github.com/huggingface/pytorch-pretrained-BERT/releases) so `pip install pytorch-pretrained-bert==0.6.1`",
"Thank you!... |
https://api.github.com/repos/huggingface/transformers/issues/648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/648/comments | https://api.github.com/repos/huggingface/transformers/issues/648/events | https://github.com/huggingface/transformers/issues/648 | 450,295,950 | MDU6SXNzdWU0NTAyOTU5NTA= | 648 | [Dropout] why there is no dropout for the dev and eval? | {
"login": "Albert-Ma",
"id": 7343136,
"node_id": "MDQ6VXNlcjczNDMxMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7343136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Albert-Ma",
"html_url": "https://github.com/Albert-Ma",
"followers_url": "https://api.github.com/users/Al... | [] | closed | false | [] | null | 5 | 2019-05-30T13:00:50Z | 2019-07-02T03:32:39Z | 2019-07-02T03:32:39Z | null | NONE | [] | null | null | null | null | I do not see any dropout layer after `get_pooled_output()` in the tf version referred to [here](https://github.com/google-research/bert/blob/master/run_classifier.py#L590). Why do you add a dropout layer in your implemention? | {
"login": "Albert-Ma",
"id": 7343136,
"node_id": "MDQ6VXNlcjczNDMxMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7343136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Albert-Ma",
"html_url": "https://github.com/Albert-Ma",
"followers_url": "https://api.github.com/users/Al... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/648/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 | [
"@thomwolf Thanks!",
"line 604",
"> line 604\r\n\r\nThanks so much. my mistake.\r\n\r\nDo you know why there is no dropout for the dev and eval?\r\n",
"first of all, no one uses dropout at evaluation stage as it's a regularizer. The difference of implementation is due to the fact that a dropout layer in pyto... |
https://api.github.com/repos/huggingface/transformers/issues/221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/221/comments | https://api.github.com/repos/huggingface/transformers/issues/221/events | https://github.com/huggingface/transformers/issues/221 | 402,169,653 | MDU6SXNzdWU0MDIxNjk2NTM= | 221 | Using BERT with custom QA dataset | {
"login": "gqoew",
"id": 32342701,
"node_id": "MDQ6VXNlcjMyMzQyNzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/32342701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gqoew",
"html_url": "https://github.com/gqoew",
"followers_url": "https://api.github.com/users/gqoew/follow... | [] | closed | false | [] | null | 3 | 2019-01-23T10:26:54Z | 2019-07-02T09:23:26Z | 2019-01-28T10:30:41Z | null | NONE | [] | null | null | null | null | Hi,
I want to use BERT to train a QA model on a custom SQuAD-like dataset. Ideally, I would like to leverage the learning from the SQuAD dataset, and add fine-tuning on my custom dataset, which has specific vocabulary.
What is the best way to do this? | {
"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/221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/221/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 think that you should start by pretraining a BERT model on SQuAD to give it a sense on how to perform question answering and then try finetuning it to your task. This may already give you good results, if it doesn't you might have to dig a bit deeper in the model.\r\n\r\nI don't really know how adding your domai... |
https://api.github.com/repos/huggingface/transformers/issues/541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/541/comments | https://api.github.com/repos/huggingface/transformers/issues/541/events | https://github.com/huggingface/transformers/issues/541 | 437,555,026 | MDU6SXNzdWU0Mzc1NTUwMjY= | 541 | Any way to reduce the model size to <250mb? | {
"login": "bolaft",
"id": 2310791,
"node_id": "MDQ6VXNlcjIzMTA3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2310791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bolaft",
"html_url": "https://github.com/bolaft",
"followers_url": "https://api.github.com/users/bolaft/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 2 | 2019-04-26T08:19:28Z | 2019-07-02T17:04:39Z | 2019-07-02T17:04:39Z | null | NONE | [] | null | null | null | null | Google Cloud's online prediction service has a 250mb limit for uploaded models. I don't think I have ever seen a BERT model that small. Casting all tensors to half precision reduces the model to ~350mb, is there any way to go even further than that? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/541/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 | [
"Probably not - it would certainly be possible to make a smaller BERT model that would fit into this size, but all of the available pre-trained models have too many parameters, so you'd have to train it from scratch (which is very slow, and isn't something this repo supports yet).",
"This issue has been automatic... |
https://api.github.com/repos/huggingface/transformers/issues/741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/741/comments | https://api.github.com/repos/huggingface/transformers/issues/741/events | https://github.com/huggingface/transformers/issues/741 | 462,304,734 | MDU6SXNzdWU0NjIzMDQ3MzQ= | 741 | Using BertForNextSentencePrediction and GPT2LMHeadModel in a GAN setup. | {
"login": "jroakes",
"id": 10191545,
"node_id": "MDQ6VXNlcjEwMTkxNTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/10191545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jroakes",
"html_url": "https://github.com/jroakes",
"followers_url": "https://api.github.com/users/jroake... | [] | closed | false | [] | null | 0 | 2019-06-29T13:55:58Z | 2019-07-03T11:40:31Z | 2019-07-03T11:40:31Z | null | NONE | [] | null | null | null | null | I am using the following code (**Training Loop**) as the meat of the training loop whereby the discriminator is BertForNextSentencePrediction and the generator is GPT2LMHeadModel. I have also included the structure of the training data (**Input data:**). The loss in the generator and discriminator appear to be falling... | {
"login": "jroakes",
"id": 10191545,
"node_id": "MDQ6VXNlcjEwMTkxNTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/10191545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jroakes",
"html_url": "https://github.com/jroakes",
"followers_url": "https://api.github.com/users/jroake... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/741/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/372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/372/comments | https://api.github.com/repos/huggingface/transformers/issues/372/events | https://github.com/huggingface/transformers/issues/372 | 420,279,829 | MDU6SXNzdWU0MjAyNzk4Mjk= | 372 | a single sentence classification task, should the max length of sentence limited to half of 512, that is to say 256 | {
"login": "alphanlp",
"id": 12368732,
"node_id": "MDQ6VXNlcjEyMzY4NzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/12368732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alphanlp",
"html_url": "https://github.com/alphanlp",
"followers_url": "https://api.github.com/users/alp... | [
{
"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 | 9 | 2019-03-13T01:47:10Z | 2019-07-03T17:21:53Z | 2019-07-03T17:21:53Z | null | NONE | [] | null | null | null | null | hi, if i have a single sentence classification task, should the max length of sentence limited to half of 512, that is to say 256? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/372/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 | [
"Why should it be limited to half of 512?",
"> Why should it be limited to half of 512?\r\n\r\ncause when do train, we have sentence embedding 0 and 1, but in a single sentence classification task ,we just embedding 0, if this get bad influence",
"You can just set the whole sequence to sentence 0. Create a Dat... |
https://api.github.com/repos/huggingface/transformers/issues/748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/748/comments | https://api.github.com/repos/huggingface/transformers/issues/748/events | https://github.com/huggingface/transformers/pull/748 | 463,270,020 | MDExOlB1bGxSZXF1ZXN0MjkzNzgyNjkz | 748 | Release 0.7 - Add Torchscript capabilities | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | [] | null | 1 | 2019-07-02T14:42:54Z | 2019-07-03T20:52:04Z | 2019-07-03T20:52:04Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/748",
"html_url": "https://github.com/huggingface/transformers/pull/748",
"diff_url": "https://github.com/huggingface/transformers/pull/748.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/748.patch",
"merged_at": "2019... | Add Torchscript capabilities to all models. | {
"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/748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/748/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/748?src=pr&el=h1) Report\n> Merging [#748](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/748?src=pr&el=desc) into [xlnet](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/708877958a308a0f0e8fd199f8f327e4797f... |
https://api.github.com/repos/huggingface/transformers/issues/551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/551/comments | https://api.github.com/repos/huggingface/transformers/issues/551/events | https://github.com/huggingface/transformers/issues/551 | 438,029,799 | MDU6SXNzdWU0MzgwMjk3OTk= | 551 | Pad inputs to multiple of 8 | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-28T08:25:06Z | 2019-07-04T09:54:30Z | 2019-07-04T09:54:30Z | null | MEMBER | [] | null | null | null | null | Pad transformer's inputs to multiple of 8 to better use Tensorcores in fp16 mode.
@glample's [XLM](https://github.com/facebookresearch/XLM) does that and it seems still relevant with CUDA 10 (cc @yaroslavvb). | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/551/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/552/comments | https://api.github.com/repos/huggingface/transformers/issues/552/events | https://github.com/huggingface/transformers/issues/552 | 438,035,356 | MDU6SXNzdWU0MzgwMzUzNTY= | 552 | should loss_scale be multiplied to the loss explicitly? | {
"login": "Jim-Song",
"id": 32925029,
"node_id": "MDQ6VXNlcjMyOTI1MDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/32925029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jim-Song",
"html_url": "https://github.com/Jim-Song",
"followers_url": "https://api.github.com/users/Jim... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-28T09:25:38Z | 2019-07-04T13:54:23Z | 2019-07-04T13:54:23Z | null | NONE | [] | null | null | null | null | I noticed that in the run_swag.py, the following code is included
if args.fp16 and args.loss_scale != 1.0:
# rescale loss for fp16 training
# see https://docs.nvidia.com/deeplearning/sdk/mixed-precision-training/index.html
loss = loss * args.loss_scale
and in run_squad.py, this is ... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/552/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/757/comments | https://api.github.com/repos/huggingface/transformers/issues/757/events | https://github.com/huggingface/transformers/pull/757 | 464,312,700 | MDExOlB1bGxSZXF1ZXN0Mjk0NjE5MzM1 | 757 | Release 0.7 - Add a real doc | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | [] | null | 0 | 2019-07-04T15:06:54Z | 2019-07-04T15:07:28Z | 2019-07-04T15:07:28Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/757",
"html_url": "https://github.com/huggingface/transformers/pull/757",
"diff_url": "https://github.com/huggingface/transformers/pull/757.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/757.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/757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/757/timeline | null | null | null | null | null | null | true | [] | |
https://api.github.com/repos/huggingface/transformers/issues/553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/553/comments | https://api.github.com/repos/huggingface/transformers/issues/553/events | https://github.com/huggingface/transformers/issues/553 | 438,094,501 | MDU6SXNzdWU0MzgwOTQ1MDE= | 553 | How to get back input and predictions as string | {
"login": "bikashg",
"id": 17159812,
"node_id": "MDQ6VXNlcjE3MTU5ODEy",
"avatar_url": "https://avatars.githubusercontent.com/u/17159812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bikashg",
"html_url": "https://github.com/bikashg",
"followers_url": "https://api.github.com/users/bikash... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-28T20:04:47Z | 2019-07-04T21:54:23Z | 2019-07-04T21:54:23Z | null | NONE | [] | null | null | null | null | Once I am done fine tuning my `BertForSequenceClassification` model, I evaluate it on a validation set. I can see the loss and accuracy scores but I would also like to get the actual labels (as string) it predicted for each sentence (string) in the validation dataset. How could I do that? | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/553/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/449/comments | https://api.github.com/repos/huggingface/transformers/issues/449/events | https://github.com/huggingface/transformers/issues/449 | 429,191,528 | MDU6SXNzdWU0MjkxOTE1Mjg= | 449 | Convert_tf_checkpoint_to_pytorch for bert-joint-baseline | {
"login": "raheja",
"id": 9508410,
"node_id": "MDQ6VXNlcjk1MDg0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9508410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raheja",
"html_url": "https://github.com/raheja",
"followers_url": "https://api.github.com/users/raheja/foll... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1260... | closed | false | [] | null | 6 | 2019-04-04T10:05:52Z | 2019-07-05T05:48:56Z | 2019-06-18T06:54:29Z | null | NONE | [] | null | null | null | null | Hello,
I know that the format of Squad and Google NQ is different, but is there a way to convert the bert joint model for Natural Questions (https://github.com/google-research/language/tree/master/language/question_answering/bert_joint) to pytorch? I get this error
'BertForPreTraining' object has no attribute 'answ... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/449/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/449/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 also encountered a similar problem AttributeError: 'BertForPreTraining' object has no attribute 'crf_loss'\r\n\r\n@thomwolf \r\n\r\nLooking forward to your reply",
"Hi, from my reading of the [Natural Questions model](https://github.com/google-research/language/blob/master/language/question_answering/bert_jo... |
https://api.github.com/repos/huggingface/transformers/issues/544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/544/comments | https://api.github.com/repos/huggingface/transformers/issues/544/events | https://github.com/huggingface/transformers/issues/544 | 437,774,086 | MDU6SXNzdWU0Mzc3NzQwODY= | 544 | TypeError: '<' not supported between instances of 'NoneType' and 'int' | {
"login": "quocnle",
"id": 1280494,
"node_id": "MDQ6VXNlcjEyODA0OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1280494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quocnle",
"html_url": "https://github.com/quocnle",
"followers_url": "https://api.github.com/users/quocnle/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 3 | 2019-04-26T17:33:37Z | 2019-07-05T08:18:16Z | 2019-07-05T08:18:16Z | null | NONE | [] | null | null | null | null | Hi, I am trying to do classification fine tuning using bert-base-uncased. I am using examples from master and pytorch_pretrained_bert==0.6.2. Here are my repro steps:
1. I create a train.tsv and dev.tsv file with my own domain data. The files contain sentences and labels separated by a tab. I put these files in... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/544/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 also get this problem when predicting,Did you solved the problem?",
"Here is the problem during initialization of the optimizer:\r\n` t_total=num_train_optimization_steps)`\r\n\r\nThis var is initialized with `None` for the first time `num_train_optimization_steps = None`\r\nand it's initialized correctly onl... |
https://api.github.com/repos/huggingface/transformers/issues/758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/758/comments | https://api.github.com/repos/huggingface/transformers/issues/758/events | https://github.com/huggingface/transformers/pull/758 | 464,313,727 | MDExOlB1bGxSZXF1ZXN0Mjk0NjIwMTcx | 758 | Release 0.7 - Add doc | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | [] | null | 0 | 2019-07-04T15:09:27Z | 2019-07-05T09:22:04Z | 2019-07-05T09:22:04Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/758",
"html_url": "https://github.com/huggingface/transformers/pull/758",
"diff_url": "https://github.com/huggingface/transformers/pull/758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/758.patch",
"merged_at": "2019... | Like #757 but let's point on the `xlnet` branch for now. | {
"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/758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/758/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/745/comments | https://api.github.com/repos/huggingface/transformers/issues/745/events | https://github.com/huggingface/transformers/pull/745 | 462,929,669 | MDExOlB1bGxSZXF1ZXN0MjkzNTEyODA5 | 745 | fix evaluation bug | {
"login": "leimao",
"id": 17606112,
"node_id": "MDQ6VXNlcjE3NjA2MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/17606112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leimao",
"html_url": "https://github.com/leimao",
"followers_url": "https://api.github.com/users/leimao/fo... | [] | closed | false | [] | null | 1 | 2019-07-01T21:58:39Z | 2019-07-05T10:00:05Z | 2019-07-05T10:00:05Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/745",
"html_url": "https://github.com/huggingface/transformers/pull/745",
"diff_url": "https://github.com/huggingface/transformers/pull/745.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/745.patch",
"merged_at": "2019... | The original `run_squad.py` has a potential bug. If we only want to run the script to do evaluation, the model will not be properly loaded. The simple fix is provided. | {
"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/745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/745/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/745?src=pr&el=h1) Report\n> Merging [#745](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/745?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/dad3c7a485b7ffc6fd2766f349e6ee845ec... |
https://api.github.com/repos/huggingface/transformers/issues/707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/707/comments | https://api.github.com/repos/huggingface/transformers/issues/707/events | https://github.com/huggingface/transformers/pull/707 | 458,827,077 | MDExOlB1bGxSZXF1ZXN0MjkwMzQwNjIw | 707 | Update run_squad.py | {
"login": "saikalyan9981",
"id": 30959693,
"node_id": "MDQ6VXNlcjMwOTU5Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/30959693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saikalyan9981",
"html_url": "https://github.com/saikalyan9981",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | 2 | 2019-06-20T19:15:44Z | 2019-07-05T10:02:36Z | 2019-07-05T10:02:36Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/707",
"html_url": "https://github.com/huggingface/transformers/pull/707",
"diff_url": "https://github.com/huggingface/transformers/pull/707.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/707.patch",
"merged_at": null
... | model = BertForQuestionAnswering.from_pretrained(args.bert_model) is written twice.
I think the else part is redundant there | {
"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/707/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/707/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/707?src=pr&el=h1) Report\n> Merging [#707](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/707?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/c304593d8fa93f25febe1458c63497a8467... |
https://api.github.com/repos/huggingface/transformers/issues/733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/733/comments | https://api.github.com/repos/huggingface/transformers/issues/733/events | https://github.com/huggingface/transformers/pull/733 | 461,222,144 | MDExOlB1bGxSZXF1ZXN0MjkyMTkzMDU5 | 733 | Added option to use multiple workers to create training data | {
"login": "ceremonious",
"id": 6596130,
"node_id": "MDQ6VXNlcjY1OTYxMzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6596130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceremonious",
"html_url": "https://github.com/ceremonious",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 2 | 2019-06-26T23:19:00Z | 2019-07-05T10:04:31Z | 2019-07-05T10:04:31Z | null | CONTRIBUTOR | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/733",
"html_url": "https://github.com/huggingface/transformers/pull/733",
"diff_url": "https://github.com/huggingface/transformers/pull/733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/733.patch",
"merged_at": "2019... | Added a command line argument to allow using a multiprocessing pool to generate training data for all the epochs at once.
The shelve object isn't pickleable, so it can't be used with the Pool | {
"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/733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/733/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/733?src=pr&el=h1) Report\n> Merging [#733](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/733?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/98dc30b21e3df6528d0dd17f0910ffea12b... |
https://api.github.com/repos/huggingface/transformers/issues/555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/555/comments | https://api.github.com/repos/huggingface/transformers/issues/555/events | https://github.com/huggingface/transformers/issues/555 | 438,298,098 | MDU6SXNzdWU0MzgyOTgwOTg= | 555 | Transformer XL from Pytorch model | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-29T12:47:17Z | 2019-07-05T13:18:13Z | 2019-07-05T13:18:13Z | null | CONTRIBUTOR | [] | null | null | null | null | Hello,
I have trained the original pytorch version of transformer xl, and I want to load it to get the hidden state and prediction.
However, it doesn't work. Apparently you only support to load a model from TensorFlow model checkpoints only.
Is there any hint or feature modification to make it work with model.... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/555/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/559/comments | https://api.github.com/repos/huggingface/transformers/issues/559/events | https://github.com/huggingface/transformers/issues/559 | 438,604,567 | MDU6SXNzdWU0Mzg2MDQ1Njc= | 559 | the size of words and the size of lables do not match | {
"login": "g-jing",
"id": 44223191,
"node_id": "MDQ6VXNlcjQ0MjIzMTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/44223191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-jing",
"html_url": "https://github.com/g-jing",
"followers_url": "https://api.github.com/users/g-jing/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 2 | 2019-04-30T05:01:05Z | 2019-07-06T09:04:23Z | 2019-07-06T09:04:23Z | null | NONE | [] | null | null | null | null | When I run bert-large-cased model, it prints "the size of words and the size of lables do not match" but get no error message. What is this issue? Thanks | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/559/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 give the exact log of (and before) the error message?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/557/comments | https://api.github.com/repos/huggingface/transformers/issues/557/events | https://github.com/huggingface/transformers/issues/557 | 438,472,035 | MDU6SXNzdWU0Mzg0NzIwMzU= | 557 | Expanding vocab size for GTP2 pre-trained model. | {
"login": "adigoryl",
"id": 31667817,
"node_id": "MDQ6VXNlcjMxNjY3ODE3",
"avatar_url": "https://avatars.githubusercontent.com/u/31667817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adigoryl",
"html_url": "https://github.com/adigoryl",
"followers_url": "https://api.github.com/users/adi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 7 | 2019-04-29T19:32:02Z | 2019-07-06T18:04:23Z | 2019-07-06T18:04:23Z | null | NONE | [] | null | null | null | null | About the aim:
I am trying to fine-tune a model on an English lyrics dataset in order to capture a style of a specific genre. To do this, at the fine-tuning input step, I wrap the lyrics with a "special token", e.g. <genre_type_tag> Lyrics text <genre_type_tag>. This means that I have to expand the vocab size by the ... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/557/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 | [
"@thomwolf Could you or someone from your team point me in the right direction to get the gtp2 model running with a small number of newly defined special tokens?\r\nAny help very appreciated as I really need to move on with my research project.",
"Hi @adigoryl, I'm adding this feature with PR #560\r\n\r\nYou can ... |
https://api.github.com/repos/huggingface/transformers/issues/563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/563/comments | https://api.github.com/repos/huggingface/transformers/issues/563/events | https://github.com/huggingface/transformers/issues/563 | 438,999,408 | MDU6SXNzdWU0Mzg5OTk0MDg= | 563 | performance does not change but loss decrease | {
"login": "g-jing",
"id": 44223191,
"node_id": "MDQ6VXNlcjQ0MjIzMTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/44223191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-jing",
"html_url": "https://github.com/g-jing",
"followers_url": "https://api.github.com/users/g-jing/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-04-30T22:11:46Z | 2019-07-07T00:04:23Z | 2019-07-07T00:04:23Z | null | NONE | [] | null | null | null | null | After training bert-lstm-crf model for 25 epoches, the performance on training set
here is the performance on train set, dev set and test set:
25th epoch:
tensor(10267.6279, device='cuda:0')
(0.42706720346856614, 0.4595134955014995, 0.4426966292134832)
(0.43147208121827413, 0.4271356783919598, 0.42929292929292... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/563/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/565/comments | https://api.github.com/repos/huggingface/transformers/issues/565/events | https://github.com/huggingface/transformers/issues/565 | 439,052,352 | MDU6SXNzdWU0MzkwNTIzNTI= | 565 | Results of Fine-tuned model changes in every run | {
"login": "cagrikymk",
"id": 15324155,
"node_id": "MDQ6VXNlcjE1MzI0MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/15324155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cagrikymk",
"html_url": "https://github.com/cagrikymk",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-01T02:52:00Z | 2019-07-07T05:04:23Z | 2019-07-07T05:04:23Z | null | NONE | [] | null | null | null | null | After I load the model with:
`
model = BertForNextSentencePrediction.from_pretrained("bert-base-uncased",state_dict=model_state_dict)
model.eval()
`
The prediction results are not stable. They change dractically in every run.
It gets stable if I fix the seed but I dont understand why we need that. Isnt the mode... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/565/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/567/comments | https://api.github.com/repos/huggingface/transformers/issues/567/events | https://github.com/huggingface/transformers/issues/567 | 439,115,855 | MDU6SXNzdWU0MzkxMTU4NTU= | 567 | about pytorch 1.1.0 rerlease | {
"login": "yeontaek",
"id": 22782221,
"node_id": "MDQ6VXNlcjIyNzgyMjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/22782221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeontaek",
"html_url": "https://github.com/yeontaek",
"followers_url": "https://api.github.com/users/yeo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 2 | 2019-05-01T09:48:27Z | 2019-07-08T12:23:21Z | 2019-07-08T12:23:21Z | null | NONE | [] | null | null | null | null | Hi today pytorch 1.1.0 release(https://github.com/pytorch/pytorch/releases/tag/v1.1.0)
In version 1.1.0, added a new module implementing Multi-headed-Attention.
And various bugs have been modified.
Do you plan to update to suit that version?
| {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/567/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | null | false | [
"Hi,\r\n\r\nThe repo is compatible with PyTorch 1.1.0.\r\n\r\nBut, we probably won't switch to PyTorch Multi-headed-Attention module since this would mean refactoring all the models and adding complexity to the tensorflow conversion codes for unclear gains.",
"This issue has been automatically marked as stale bec... |
https://api.github.com/repos/huggingface/transformers/issues/534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/534/comments | https://api.github.com/repos/huggingface/transformers/issues/534/events | https://github.com/huggingface/transformers/issues/534 | 437,285,235 | MDU6SXNzdWU0MzcyODUyMzU= | 534 | How many datasets does Bert use in pretraining process? | {
"login": "DecstionBack",
"id": 9391083,
"node_id": "MDQ6VXNlcjkzOTEwODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9391083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DecstionBack",
"html_url": "https://github.com/DecstionBack",
"followers_url": "https://api.github.com... | [
{
"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-25T16:15:58Z | 2019-07-08T12:23:22Z | 2019-07-08T12:23:22Z | null | NONE | [] | null | null | null | null | Hi all,
I try to generate the pretraining corpus for BERT with pregenerate_training_data.py. In the BERT paper, it reports about 6M+ instances(segment A+segmentB, less than 512 tokens). But I get 18M instances, which is almost 3 time than BERT uses. Does anyone have any idea on the result and does anyone know if I nee... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/534/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/572/comments | https://api.github.com/repos/huggingface/transformers/issues/572/events | https://github.com/huggingface/transformers/issues/572 | 439,546,931 | MDU6SXNzdWU0Mzk1NDY5MzE= | 572 | BERT pre-training using only domain specific text | {
"login": "nightowlcity",
"id": 50201930,
"node_id": "MDQ6VXNlcjUwMjAxOTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/50201930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nightowlcity",
"html_url": "https://github.com/nightowlcity",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-02T11:39:02Z | 2019-07-08T12:23:23Z | 2019-07-08T12:23:23Z | null | NONE | [] | null | null | null | null | BERT is pre-trained using Wikipedia and other sources of normal text, but my problem domain has a very specific vocabulary & grammar. Is there an easy way to train BERT completely from domain specific data (preferably using Keras)?
The amount of pre-training data is not issue and we are not looking for the SOTA res... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/572/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/574/comments | https://api.github.com/repos/huggingface/transformers/issues/574/events | https://github.com/huggingface/transformers/issues/574 | 439,706,731 | MDU6SXNzdWU0Mzk3MDY3MzE= | 574 | understanding of the output from TransfoXLModel | {
"login": "cherepanovic",
"id": 10064548,
"node_id": "MDQ6VXNlcjEwMDY0NTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/10064548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cherepanovic",
"html_url": "https://github.com/cherepanovic",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-02T17:37:39Z | 2019-07-08T18:23:21Z | 2019-07-08T18:23:21Z | null | NONE | [] | null | null | null | null | the output of the TransfoXLModel has the size of [1, 3, 1024] if the Input has tree tokens.
`predictions, mems = model(tokens_tensor, mems=None)`
doc from code is
```
Outputs:
A tuple of (last_hidden_state, new_mems)
`last_hidden_state`: the encoded-hidden-states at the top of the mode... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/574/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/335/comments | https://api.github.com/repos/huggingface/transformers/issues/335/events | https://github.com/huggingface/transformers/issues/335 | 416,195,621 | MDU6SXNzdWU0MTYxOTU2MjE= | 335 | Feature Request: GPT2 fine tuning | {
"login": "yet-another-account",
"id": 10374151,
"node_id": "MDQ6VXNlcjEwMzc0MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/10374151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yet-another-account",
"html_url": "https://github.com/yet-another-account",
"followers_url": ... | [] | closed | false | [] | null | 3 | 2019-03-01T17:05:14Z | 2019-07-09T00:15:37Z | 2019-03-06T09:43:41Z | null | CONTRIBUTOR | [] | 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/335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/335/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 open a PR if you want.\r\nIt's just a regular PyTorch model so all the standard ways of training a PyTorch model work.",
"Is is possible to fine-tune GPT2 on downstream tasks currently?",
"same questions"
] | |
https://api.github.com/repos/huggingface/transformers/issues/576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/576/comments | https://api.github.com/repos/huggingface/transformers/issues/576/events | https://github.com/huggingface/transformers/issues/576 | 440,001,383 | MDU6SXNzdWU0NDAwMDEzODM= | 576 | key error when using run_classifier.py in predict mode, expecting label? | {
"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.... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-03T11:19:02Z | 2019-07-09T12:29:42Z | 2019-07-09T12:29:42Z | null | NONE | [] | null | null | null | null | Hi,
I am getting key error when using run_classifier.py in predict mode.
https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/examples/run_classifier.py
At prediction time we don't have labels hence it gives key error.
run_squad example is good as it was having is_training flag.
Could you pleas... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/576/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/767/comments | https://api.github.com/repos/huggingface/transformers/issues/767/events | https://github.com/huggingface/transformers/pull/767 | 465,828,120 | MDExOlB1bGxSZXF1ZXN0Mjk1NzkyNzM2 | 767 | Documentation | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 0 | 2019-07-09T14:53:16Z | 2019-07-09T14:56:35Z | 2019-07-09T14:56:35Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/767",
"html_url": "https://github.com/huggingface/transformers/pull/767",
"diff_url": "https://github.com/huggingface/transformers/pull/767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/767.patch",
"merged_at": "2019... | Sphinx based documentation with Google style comments. | {
"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/767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/767/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/581/comments | https://api.github.com/repos/huggingface/transformers/issues/581/events | https://github.com/huggingface/transformers/issues/581 | 440,218,813 | MDU6SXNzdWU0NDAyMTg4MTM= | 581 | BertAdam gradient clipping is not global | {
"login": "raulpuric",
"id": 9101033,
"node_id": "MDQ6VXNlcjkxMDEwMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9101033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raulpuric",
"html_url": "https://github.com/raulpuric",
"followers_url": "https://api.github.com/users/ra... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-03T20:56:14Z | 2019-07-09T21:29:42Z | 2019-07-09T21:29:42Z | null | NONE | [] | null | null | null | null | Just took a look at the gradient clipping algorithm used in: https://github.com/huggingface/pytorch-pretrained-BERT/blob/3ae8c8be1e3fc770968cd3fdb3b643e0b166e540/pytorch_pretrained_bert/optimization.py#L270
It's clipping gradients to a local norm of 1. It should be clipping gradients to a global norm of 1 as in http... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/581/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/584/comments | https://api.github.com/repos/huggingface/transformers/issues/584/events | https://github.com/huggingface/transformers/issues/584 | 440,378,162 | MDU6SXNzdWU0NDAzNzgxNjI= | 584 | The number of train examples in STS-B is only 5749 | {
"login": "Dawn90",
"id": 30382717,
"node_id": "MDQ6VXNlcjMwMzgyNzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/30382717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dawn90",
"html_url": "https://github.com/Dawn90",
"followers_url": "https://api.github.com/users/Dawn90/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-04T22:47:35Z | 2019-07-10T23:46:51Z | 2019-07-10T23:46:51Z | null | NONE | [] | null | null | null | null | Hi,
Thanks a lot for the amazing work!
Here's my issue:
When I run the './example/run_classification.py' with task STS-B, I found the train example number is only 5749, less than 7k which was reported in the paper ([paper link](https://www.nyu.edu/projects/bowman/glue.pdf)).
Thanks again!
Best,
Dong | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/584/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/773/comments | https://api.github.com/repos/huggingface/transformers/issues/773/events | https://github.com/huggingface/transformers/pull/773 | 466,566,367 | MDExOlB1bGxSZXF1ZXN0Mjk2Mzg0NTM3 | 773 | Sphinx doc, XLM Checkpoints | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | [] | null | 0 | 2019-07-10T23:05:25Z | 2019-07-11T13:46:40Z | 2019-07-11T13:46:40Z | null | MEMBER | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/773",
"html_url": "https://github.com/huggingface/transformers/pull/773",
"diff_url": "https://github.com/huggingface/transformers/pull/773.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/773.patch",
"merged_at": "2019... | The updated sphinx documentation with additional pages, fixed links, an added a whole new HuggingFace-based theme.
Additionally, patched the XLM weights conversion script and added 5 new checkpoints for XLM. | {
"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/773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/773/timeline | null | null | null | null | null | null | true | [] |
https://api.github.com/repos/huggingface/transformers/issues/783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/783/comments | https://api.github.com/repos/huggingface/transformers/issues/783/events | https://github.com/huggingface/transformers/issues/783 | 467,181,929 | MDU6SXNzdWU0NjcxODE5Mjk= | 783 | how to get the word vector from bert pretrain model ? | {
"login": "zhangyu68",
"id": 36838019,
"node_id": "MDQ6VXNlcjM2ODM4MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/36838019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangyu68",
"html_url": "https://github.com/zhangyu68",
"followers_url": "https://api.github.com/users/... | [] | closed | false | [] | null | 2 | 2019-07-12T01:53:41Z | 2019-07-12T06:39:14Z | 2019-07-12T06:39:14Z | null | NONE | [] | null | null | null | null | Could you please help me?
I just want to get bert's word vector,but I only can get the encoder's result. How can I get the word vector before data inputing the encoder model ?
Thank you ! | {
"login": "zhangyu68",
"id": 36838019,
"node_id": "MDQ6VXNlcjM2ODM4MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/36838019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangyu68",
"html_url": "https://github.com/zhangyu68",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/783/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 will be possible in the new release out soon.",
"I find a method that can get the words embeddings.Thank you all the same!\r\nself.model = BertModel.from_pretrained(config.bert_path)\r\nself.word_emb = self.model.embeddings"
] |
https://api.github.com/repos/huggingface/transformers/issues/583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/583/comments | https://api.github.com/repos/huggingface/transformers/issues/583/events | https://github.com/huggingface/transformers/issues/583 | 440,288,169 | MDU6SXNzdWU0NDAyODgxNjk= | 583 | BERT + PyTorch + XLA | {
"login": "snakers4",
"id": 12515440,
"node_id": "MDQ6VXNlcjEyNTE1NDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/12515440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snakers4",
"html_url": "https://github.com/snakers4",
"followers_url": "https://api.github.com/users/sna... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 3 | 2019-05-04T05:49:35Z | 2019-07-12T08:08:26Z | 2019-07-12T08:08:26Z | null | NONE | [] | null | null | null | null | Hi,
Many thanks for your amazing library!
Even though no models were shared for Russian, we used your interfaces with success when doing some [research](https://towardsdatascience.com/complexity-generalization-computational-cost-in-nlp-modeling-of-morphologically-rich-languages-7fa2c0b45909).
Anyway here is my q... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/583/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 | [
"Do u mean this one? [link](https://news.developer.nvidia.com/nvidia-achieves-4x-speedup-on-bert-neural-network/)",
"No, I mean this repo\nhttps://github.com/pytorch/xla/tree/master\n\nLooks like Facebook and Google want to make pytorch on TPU\n\n\nOn May 6, 2019 9:14:25 AM GMT+03:00, chunbo dai <notifications@gi... |
https://api.github.com/repos/huggingface/transformers/issues/579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/579/comments | https://api.github.com/repos/huggingface/transformers/issues/579/events | https://github.com/huggingface/transformers/issues/579 | 440,135,852 | MDU6SXNzdWU0NDAxMzU4NTI= | 579 | Resetting current_random_doc and current_doc | {
"login": "crowegian",
"id": 14296792,
"node_id": "MDQ6VXNlcjE0Mjk2Nzky",
"avatar_url": "https://avatars.githubusercontent.com/u/14296792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/crowegian",
"html_url": "https://github.com/crowegian",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 2 | 2019-05-03T17:03:20Z | 2019-07-12T08:08:27Z | 2019-07-12T08:08:27Z | null | NONE | [] | null | null | null | null | In the class BERTDataset the two variables `self.current_random_doc` and `self.current_doc` are never reset to 0, even when the corpus is closed and reopened. Is it supposed to work this way? I'd think it would run into issues on a small corpus where one counter gets to the same document but the counter is different be... | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/579/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 | [
"Hmm maybe @Rocketknight1 have an insight on this?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/724/comments | https://api.github.com/repos/huggingface/transformers/issues/724/events | https://github.com/huggingface/transformers/pull/724 | 460,461,332 | MDExOlB1bGxSZXF1ZXN0MjkxNTg3MTM3 | 724 | fixing bugs in load_rocstories_dataset in run_openai_gpt.py | {
"login": "sajidrahman",
"id": 4258481,
"node_id": "MDQ6VXNlcjQyNTg0ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4258481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajidrahman",
"html_url": "https://github.com/sajidrahman",
"followers_url": "https://api.github.com/us... | [] | closed | false | [] | null | 3 | 2019-06-25T14:31:38Z | 2019-07-12T14:14:25Z | 2019-07-12T14:14:25Z | null | NONE | [] | null | null | 0 | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/724",
"html_url": "https://github.com/huggingface/transformers/pull/724",
"diff_url": "https://github.com/huggingface/transformers/pull/724.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/724.patch",
"merged_at": null
... | The csv reader requires a delimiter argument to read .tsv file in the given example dataset. I've also added link for the dataset and provided a sample eval results in comments. Also, the eval dataset needs to be different from the training dataset, which I've also fixed in the given command to run this script. | {
"login": "sajidrahman",
"id": 4258481,
"node_id": "MDQ6VXNlcjQyNTg0ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4258481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajidrahman",
"html_url": "https://github.com/sajidrahman",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/724/timeline | null | null | null | null | null | null | true | [
"# [Codecov](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/724?src=pr&el=h1) Report\n> Merging [#724](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/pull/724?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/pytorch-pretrained-BERT/commit/98dc30b21e3df6528d0dd17f0910ffea12b... |
https://api.github.com/repos/huggingface/transformers/issues/589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/589/comments | https://api.github.com/repos/huggingface/transformers/issues/589/events | https://github.com/huggingface/transformers/issues/589 | 440,702,570 | MDU6SXNzdWU0NDA3MDI1NzA= | 589 | Can't save converted checkpoint | {
"login": "Gal1eo",
"id": 47275922,
"node_id": "MDQ6VXNlcjQ3Mjc1OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/47275922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gal1eo",
"html_url": "https://github.com/Gal1eo",
"followers_url": "https://api.github.com/users/Gal1eo/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | [] | null | 1 | 2019-05-06T13:34:01Z | 2019-07-12T14:50:30Z | 2019-07-12T14:50:30Z | null | NONE | [] | null | null | null | null | Thank you for creating the pytorch version of BERT. But there is a problem when I use the convert_tf_checkpoint_to_pytorch script, I can't find any files created under the pytorch_dumpy_path. | {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/589/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] |
https://api.github.com/repos/huggingface/transformers/issues/137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/137/comments | https://api.github.com/repos/huggingface/transformers/issues/137/events | https://github.com/huggingface/transformers/issues/137 | 393,079,924 | MDU6SXNzdWUzOTMwNzk5MjQ= | 137 | run_squad.py without GPU.. Without CUPY | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | [] | null | 2 | 2018-12-20T14:53:46Z | 2019-07-13T09:49:59Z | 2018-12-21T09:33:02Z | null | NONE | [] | null | null | null | null | I am trying to run_squad.py for QnA (Squad) case. Its dependency is on GPU.. i.e., cupy is to be installed.
In one of my environment I dont have GPU therefore cupy is not getting installed and I am not able to proceed with training.
Can I train on CPU itself?
following is I am trying to run:
```
python run_squ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/137/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 | [
"@SandeepBhutani What was the conclusion of this issue? ",
"Is this issue still open.. It can be closed.. It was an environment issue..\n\nOn Sat, 13 Jul, 2019, 5:00 AM Peter, <notifications@github.com> wrote:\n\n> @SandeepBhutani <https://github.com/SandeepBhutani> What was the\n> conclusion of this issue?\n>\n>... |
https://api.github.com/repos/huggingface/transformers/issues/370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/370/comments | https://api.github.com/repos/huggingface/transformers/issues/370/events | https://github.com/huggingface/transformers/issues/370 | 420,195,472 | MDU6SXNzdWU0MjAxOTU0NzI= | 370 | What is Synthetic Self-Training? | {
"login": "hsm207",
"id": 2398765,
"node_id": "MDQ6VXNlcjIzOTg3NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2398765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hsm207",
"html_url": "https://github.com/hsm207",
"followers_url": "https://api.github.com/users/hsm207/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 | 8 | 2019-03-12T20:40:50Z | 2019-07-13T20:58:32Z | 2019-06-05T08:50:40Z | null | NONE | [] | null | null | null | null | The current best performing model on[ SQuAD 2.0](https://rajpurkar.github.io/SQuAD-explorer/) is BERT + N-Gram Masking + Synthetic Self-Training (ensemble):

What is Synthetic Self-Training?
| {
"login": "stale[bot]",
"id": 26384082,
"node_id": "MDM6Qm90MjYzODQwODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/1724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stale%5Bbot%5D",
"html_url": "https://github.com/apps/stale",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/370/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 | [
"Check Jacob Devlin slides starting from slide 26 [here](https://nlp.stanford.edu/seminar/details/jdevlin.pdf?fbclid=IwAR2TBFCJOeZ9cGhxB-z5cJJ17vHN4W25oWsjI8NqJoTEmlYIYEKG7oh4tlY)",
"@thomwolf thanks, the slides were helpful. Do you know if there is a recording of the talk publicly available somewhere?",
"I don... |
https://api.github.com/repos/huggingface/transformers/issues/784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/784/comments | https://api.github.com/repos/huggingface/transformers/issues/784/events | https://github.com/huggingface/transformers/issues/784 | 467,226,420 | MDU6SXNzdWU0NjcyMjY0MjA= | 784 | [bug] from_pretrained error with from_tf | {
"login": "shibing624",
"id": 10249622,
"node_id": "MDQ6VXNlcjEwMjQ5NjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/10249622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibing624",
"html_url": "https://github.com/shibing624",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2019-07-12T05:22:08Z | 2019-07-13T20:59:19Z | 2019-07-13T20:59:18Z | null | CONTRIBUTOR | [] | null | null | null | null | https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/modeling.py#L721 , the weights_path should be archive_file, and set from_tf to str is better to load finetuned model, like model name is model.ckpt-25000.meta. | {
"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/784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/784/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 | [
"Yeah this is solved in the coming release"
] |
https://api.github.com/repos/huggingface/transformers/issues/779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/779/comments | https://api.github.com/repos/huggingface/transformers/issues/779/events | https://github.com/huggingface/transformers/issues/779 | 467,084,782 | MDU6SXNzdWU0NjcwODQ3ODI= | 779 | Should close the SummaryWriter after using it | {
"login": "t-yaxli",
"id": 51250153,
"node_id": "MDQ6VXNlcjUxMjUwMTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/51250153?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/t-yaxli",
"html_url": "https://github.com/t-yaxli",
"followers_url": "https://api.github.com/users/t-yaxl... | [] | closed | false | [] | null | 1 | 2019-07-11T20:12:59Z | 2019-07-13T21:01:51Z | 2019-07-13T21:01:51Z | null | NONE | [] | null | null | null | null | Really appreciate the good work to implement this package!
I have tried to run the script: [run_glue.py](https://github.com/huggingface/pytorch-pretrained-BERT/blob/xlnet/examples/run_glue.py). When I test with this script, I found some of the scalars add into the SummaryWriter did not appears in TensorBoard. I thi... | {
"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/779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/779/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 yes you are right, thanks it's fixed in the coming release."
] |
https://api.github.com/repos/huggingface/transformers/issues/774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/774/comments | https://api.github.com/repos/huggingface/transformers/issues/774/events | https://github.com/huggingface/transformers/issues/774 | 466,632,277 | MDU6SXNzdWU0NjY2MzIyNzc= | 774 | XLNet text generation ability | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | [] | null | 1 | 2019-07-11T02:57:50Z | 2019-07-13T21:04:09Z | 2019-07-13T21:04:09Z | null | CONTRIBUTOR | [] | null | null | null | null | Really appreciate the good work to implement XLNet !
I tried running the [XLNet text generation example](https://github.com/huggingface/pytorch-pretrained-BERT/blob/xlnet/examples/generation_xlnet.py)
But the generated text quality is really low.
Tricks used by https://github.com/rusiaaman/XLnet-gen needs to ... | {
"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/774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/774/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, I've now added the text padding trick of Aman (add some padding text to have longer inputs) and the quality is really a lot higher.\r\n\r\nWill merge the xlnet branch in master and release on Monday."
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.