{"action":"created","comment":{"url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/comments/211084709","pull_request_review_id":147439933,"id":211084709,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTA4NDcwOQ==","diff_hunk":"@@ -24,13 +33,17 @@\n    \"source\": [\n     \"## Language model definition - one sentence\\n\",\n     \"\\n\",\n-    \"A Language model tries to predict the next word given the previous ones.\\n\",\n+    \"The standard approach to language modeling consists of training a model that given a trailing window of text, predicts  the next word in the sequence. When we train the model we feed in the inputs $x1, x_2, ...$ and try at each time step to predict the corresponding next word $x_2, ..., x_{n+1}$. To generate text from a language model, we can iteratively predict the next word, and then feed this word as the input to the model at the subsequent time step.\\n\",\n+    \"\\n\",\n+    \"<div style=\\\"width: 500px;\\\">![Language Model](https://gluon.mxnet.io/_images/recurrent-lm.png)</div>\\n\",","path":"docs/examples/language_model/language_model.ipynb","position":40,"original_position":40,"commit_id":"2d1903606b641f8f389bef5fdb020eebaf9c3efc","original_commit_id":"2d1903606b641f8f389bef5fdb020eebaf9c3efc","user":{"login":"leezu","id":946903,"node_id":"MDQ6VXNlcjk0NjkwMw==","avatar_url":"https://avatars1.githubusercontent.com/u/946903?v=4","gravatar_id":"","url":"https://api.github.com/users/leezu","html_url":"https://github.com/leezu","followers_url":"https://api.github.com/users/leezu/followers","following_url":"https://api.github.com/users/leezu/following{/other_user}","gists_url":"https://api.github.com/users/leezu/gists{/gist_id}","starred_url":"https://api.github.com/users/leezu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leezu/subscriptions","organizations_url":"https://api.github.com/users/leezu/orgs","repos_url":"https://api.github.com/users/leezu/repos","events_url":"https://api.github.com/users/leezu/events{/privacy}","received_events_url":"https://api.github.com/users/leezu/received_events","type":"User","site_admin":false},"body":"It may be better to directly use proper HTML:\r\n`<img src=\"https://gluon.mxnet.io/_images/recurrent-lm.png\" style=\"width: 500px;\"/>`","created_at":"2018-08-18T19:57:54Z","updated_at":"2018-08-18T19:59:48Z","html_url":"https://github.com/dmlc/gluon-nlp/pull/301#discussion_r211084709","pull_request_url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/comments/211084709"},"html":{"href":"https://github.com/dmlc/gluon-nlp/pull/301#discussion_r211084709"},"pull_request":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301","id":209320372,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzIwMzcy","html_url":"https://github.com/dmlc/gluon-nlp/pull/301","diff_url":"https://github.com/dmlc/gluon-nlp/pull/301.diff","patch_url":"https://github.com/dmlc/gluon-nlp/pull/301.patch","issue_url":"https://api.github.com/repos/dmlc/gluon-nlp/issues/301","number":301,"state":"open","locked":false,"title":"writing fix","user":{"login":"szha","id":2626883,"node_id":"MDQ6VXNlcjI2MjY4ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"body":"## Description ##\r\nwriting fix\r\n\r\n## Checklist ##\r\n### Essentials ###\r\n- [x] Changes are complete (i.e. I finished coding on this PR)\r\n- [x] Code is well-documented\r\n\r\n## Notes ##\r\nMany updates in the notebooks are courtesy of @zackchase.","created_at":"2018-08-18T16:48:26Z","updated_at":"2018-08-18T19:59:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"178becf9374c6a451fa467ef77b0013ab6f8a2e6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301/commits","review_comments_url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301/comments","review_comment_url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/gluon-nlp/issues/301/comments","statuses_url":"https://api.github.com/repos/dmlc/gluon-nlp/statuses/2d1903606b641f8f389bef5fdb020eebaf9c3efc","head":{"label":"szha:fix_write","ref":"fix_write","sha":"2d1903606b641f8f389bef5fdb020eebaf9c3efc","user":{"login":"szha","id":2626883,"node_id":"MDQ6VXNlcjI2MjY4ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"repo":{"id":131329009,"node_id":"MDEwOlJlcG9zaXRvcnkxMzEzMjkwMDk=","name":"gluon-nlp","full_name":"szha/gluon-nlp","owner":{"login":"szha","id":2626883,"node_id":"MDQ6VXNlcjI2MjY4ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/szha/gluon-nlp","description":"NLP made easy","fork":true,"url":"https://api.github.com/repos/szha/gluon-nlp","forks_url":"https://api.github.com/repos/szha/gluon-nlp/forks","keys_url":"https://api.github.com/repos/szha/gluon-nlp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szha/gluon-nlp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szha/gluon-nlp/teams","hooks_url":"https://api.github.com/repos/szha/gluon-nlp/hooks","issue_events_url":"https://api.github.com/repos/szha/gluon-nlp/issues/events{/number}","events_url":"https://api.github.com/repos/szha/gluon-nlp/events","assignees_url":"https://api.github.com/repos/szha/gluon-nlp/assignees{/user}","branches_url":"https://api.github.com/repos/szha/gluon-nlp/branches{/branch}","tags_url":"https://api.github.com/repos/szha/gluon-nlp/tags","blobs_url":"https://api.github.com/repos/szha/gluon-nlp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szha/gluon-nlp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szha/gluon-nlp/git/refs{/sha}","trees_url":"https://api.github.com/repos/szha/gluon-nlp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szha/gluon-nlp/statuses/{sha}","languages_url":"https://api.github.com/repos/szha/gluon-nlp/languages","stargazers_url":"https://api.github.com/repos/szha/gluon-nlp/stargazers","contributors_url":"https://api.github.com/repos/szha/gluon-nlp/contributors","subscribers_url":"https://api.github.com/repos/szha/gluon-nlp/subscribers","subscription_url":"https://api.github.com/repos/szha/gluon-nlp/subscription","commits_url":"https://api.github.com/repos/szha/gluon-nlp/commits{/sha}","git_commits_url":"https://api.github.com/repos/szha/gluon-nlp/git/commits{/sha}","comments_url":"https://api.github.com/repos/szha/gluon-nlp/comments{/number}","issue_comment_url":"https://api.github.com/repos/szha/gluon-nlp/issues/comments{/number}","contents_url":"https://api.github.com/repos/szha/gluon-nlp/contents/{+path}","compare_url":"https://api.github.com/repos/szha/gluon-nlp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szha/gluon-nlp/merges","archive_url":"https://api.github.com/repos/szha/gluon-nlp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szha/gluon-nlp/downloads","issues_url":"https://api.github.com/repos/szha/gluon-nlp/issues{/number}","pulls_url":"https://api.github.com/repos/szha/gluon-nlp/pulls{/number}","milestones_url":"https://api.github.com/repos/szha/gluon-nlp/milestones{/number}","notifications_url":"https://api.github.com/repos/szha/gluon-nlp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szha/gluon-nlp/labels{/name}","releases_url":"https://api.github.com/repos/szha/gluon-nlp/releases{/id}","deployments_url":"https://api.github.com/repos/szha/gluon-nlp/deployments","created_at":"2018-04-27T17:59:10Z","updated_at":"2018-07-11T17:57:46Z","pushed_at":"2018-08-18T19:32:53Z","git_url":"git://github.com/szha/gluon-nlp.git","ssh_url":"git@github.com:szha/gluon-nlp.git","clone_url":"https://github.com/szha/gluon-nlp.git","svn_url":"https://github.com/szha/gluon-nlp","homepage":"http://gluon-nlp.mxnet.io","size":1945,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmlc:master","ref":"master","sha":"8dee598bdf1242f65c4f8bc8937416815aaaf42b","user":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":128121076,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgxMjEwNzY=","name":"gluon-nlp","full_name":"dmlc/gluon-nlp","owner":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmlc/gluon-nlp","description":"NLP made easy","fork":false,"url":"https://api.github.com/repos/dmlc/gluon-nlp","forks_url":"https://api.github.com/repos/dmlc/gluon-nlp/forks","keys_url":"https://api.github.com/repos/dmlc/gluon-nlp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/gluon-nlp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/gluon-nlp/teams","hooks_url":"https://api.github.com/repos/dmlc/gluon-nlp/hooks","issue_events_url":"https://api.github.com/repos/dmlc/gluon-nlp/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/gluon-nlp/events","assignees_url":"https://api.github.com/repos/dmlc/gluon-nlp/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/gluon-nlp/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/gluon-nlp/tags","blobs_url":"https://api.github.com/repos/dmlc/gluon-nlp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/gluon-nlp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/gluon-nlp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/gluon-nlp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/gluon-nlp/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/gluon-nlp/languages","stargazers_url":"https://api.github.com/repos/dmlc/gluon-nlp/stargazers","contributors_url":"https://api.github.com/repos/dmlc/gluon-nlp/contributors","subscribers_url":"https://api.github.com/repos/dmlc/gluon-nlp/subscribers","subscription_url":"https://api.github.com/repos/dmlc/gluon-nlp/subscription","commits_url":"https://api.github.com/repos/dmlc/gluon-nlp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/gluon-nlp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/gluon-nlp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/gluon-nlp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/gluon-nlp/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/gluon-nlp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/gluon-nlp/merges","archive_url":"https://api.github.com/repos/dmlc/gluon-nlp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/gluon-nlp/downloads","issues_url":"https://api.github.com/repos/dmlc/gluon-nlp/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/gluon-nlp/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/gluon-nlp/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/gluon-nlp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/gluon-nlp/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/gluon-nlp/releases{/id}","deployments_url":"https://api.github.com/repos/dmlc/gluon-nlp/deployments","created_at":"2018-04-04T20:57:13Z","updated_at":"2018-08-18T11:47:08Z","pushed_at":"2018-08-18T19:32:54Z","git_url":"git://github.com/dmlc/gluon-nlp.git","ssh_url":"git@github.com:dmlc/gluon-nlp.git","clone_url":"https://github.com/dmlc/gluon-nlp.git","svn_url":"https://github.com/dmlc/gluon-nlp","homepage":"http://gluon-nlp.mxnet.io","size":1918,"stargazers_count":880,"watchers_count":880,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":164,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":164,"open_issues":33,"watchers":880,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301"},"html":{"href":"https://github.com/dmlc/gluon-nlp/pull/301"},"issue":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/issues/301"},"comments":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/gluon-nlp/statuses/2d1903606b641f8f389bef5fdb020eebaf9c3efc"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"leezu"}}