{"action":"created","comment":{"url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/comments/129911518","pull_request_review_id":52733968,"id":129911518,"diff_hunk":"@@ -165,7 +173,13 @@ def load(cls, file_name):\n             Vocabulary: loaded Vocabulary\n         \"\"\"\n         with open(file_name, \"rb\") as f:","path":"seq2seq/dataset/vocabulary.py","position":24,"original_position":24,"commit_id":"d27e650620bfac8e707824d267fe8981ac40cc28","original_commit_id":"d27e650620bfac8e707824d267fe8981ac40cc28","user":{"login":"kylegao91","id":29381998,"avatar_url":"https://avatars1.githubusercontent.com/u/29381998?v=4","gravatar_id":"","url":"https://api.github.com/users/kylegao91","html_url":"https://github.com/kylegao91","followers_url":"https://api.github.com/users/kylegao91/followers","following_url":"https://api.github.com/users/kylegao91/following{/other_user}","gists_url":"https://api.github.com/users/kylegao91/gists{/gist_id}","starred_url":"https://api.github.com/users/kylegao91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylegao91/subscriptions","organizations_url":"https://api.github.com/users/kylegao91/orgs","repos_url":"https://api.github.com/users/kylegao91/repos","events_url":"https://api.github.com/users/kylegao91/events{/privacy}","received_events_url":"https://api.github.com/users/kylegao91/received_events","type":"User","site_admin":false},"body":"The file is not binary.","created_at":"2017-07-27T17:50:39Z","updated_at":"2017-07-27T17:53:33Z","html_url":"https://github.com/IBM/pytorch-seq2seq/pull/42#discussion_r129911518","pull_request_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/comments/129911518"},"html":{"href":"https://github.com/IBM/pytorch-seq2seq/pull/42#discussion_r129911518"},"pull_request":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42","id":132792424,"html_url":"https://github.com/IBM/pytorch-seq2seq/pull/42","diff_url":"https://github.com/IBM/pytorch-seq2seq/pull/42.diff","patch_url":"https://github.com/IBM/pytorch-seq2seq/pull/42.patch","issue_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/42","number":42,"state":"open","locked":false,"title":"Save and load vocabulary from text file","user":{"login":"tejaswini","id":217152,"avatar_url":"https://avatars3.githubusercontent.com/u/217152?v=4","gravatar_id":"","url":"https://api.github.com/users/tejaswini","html_url":"https://github.com/tejaswini","followers_url":"https://api.github.com/users/tejaswini/followers","following_url":"https://api.github.com/users/tejaswini/following{/other_user}","gists_url":"https://api.github.com/users/tejaswini/gists{/gist_id}","starred_url":"https://api.github.com/users/tejaswini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejaswini/subscriptions","organizations_url":"https://api.github.com/users/tejaswini/orgs","repos_url":"https://api.github.com/users/tejaswini/repos","events_url":"https://api.github.com/users/tejaswini/events{/privacy}","received_events_url":"https://api.github.com/users/tejaswini/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-27T16:31:28Z","updated_at":"2017-07-27T17:53:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a02a5e479843902c9b7ce445c63bd9b55aa82aa","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42/commits","review_comments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42/comments","review_comment_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/42/comments","statuses_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/statuses/d27e650620bfac8e707824d267fe8981ac40cc28","head":{"label":"IBM:dataset_to_text","ref":"dataset_to_text","sha":"d27e650620bfac8e707824d267fe8981ac40cc28","user":{"login":"IBM","id":1459110,"avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"repo":{"id":95684188,"name":"pytorch-seq2seq","full_name":"IBM/pytorch-seq2seq","owner":{"login":"IBM","id":1459110,"avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBM/pytorch-seq2seq","description":"pytorch-seq2seq is a framework for sequence-to-sequence (seq2seq) models in PyTorch.","fork":false,"url":"https://api.github.com/repos/IBM/pytorch-seq2seq","forks_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/forks","keys_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/teams","hooks_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/hooks","issue_events_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/events{/number}","events_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/events","assignees_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/assignees{/user}","branches_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/branches{/branch}","tags_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/tags","blobs_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/languages","stargazers_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/stargazers","contributors_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/contributors","subscribers_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/subscribers","subscription_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/subscription","commits_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/contents/{+path}","compare_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/merges","archive_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/downloads","issues_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues{/number}","pulls_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/labels{/name}","releases_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/releases{/id}","deployments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/deployments","created_at":"2017-06-28T15:27:04Z","updated_at":"2017-07-26T17:26:13Z","pushed_at":"2017-07-27T16:31:30Z","git_url":"git://github.com/IBM/pytorch-seq2seq.git","ssh_url":"git@github.com:IBM/pytorch-seq2seq.git","clone_url":"https://github.com/IBM/pytorch-seq2seq.git","svn_url":"https://github.com/IBM/pytorch-seq2seq","homepage":"","size":1602,"stargazers_count":82,"watchers_count":82,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":14,"forks":10,"open_issues":14,"watchers":82,"default_branch":"master"}},"base":{"label":"IBM:master","ref":"master","sha":"7c3fdb27bca762bc243f4712b18e15bcecc9ab00","user":{"login":"IBM","id":1459110,"avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"repo":{"id":95684188,"name":"pytorch-seq2seq","full_name":"IBM/pytorch-seq2seq","owner":{"login":"IBM","id":1459110,"avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBM/pytorch-seq2seq","description":"pytorch-seq2seq is a framework for sequence-to-sequence (seq2seq) models in PyTorch.","fork":false,"url":"https://api.github.com/repos/IBM/pytorch-seq2seq","forks_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/forks","keys_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/teams","hooks_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/hooks","issue_events_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/events{/number}","events_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/events","assignees_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/assignees{/user}","branches_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/branches{/branch}","tags_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/tags","blobs_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/languages","stargazers_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/stargazers","contributors_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/contributors","subscribers_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/subscribers","subscription_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/subscription","commits_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/contents/{+path}","compare_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/merges","archive_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/downloads","issues_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues{/number}","pulls_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/labels{/name}","releases_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/releases{/id}","deployments_url":"https://api.github.com/repos/IBM/pytorch-seq2seq/deployments","created_at":"2017-06-28T15:27:04Z","updated_at":"2017-07-26T17:26:13Z","pushed_at":"2017-07-27T16:31:30Z","git_url":"git://github.com/IBM/pytorch-seq2seq.git","ssh_url":"git@github.com:IBM/pytorch-seq2seq.git","clone_url":"https://github.com/IBM/pytorch-seq2seq.git","svn_url":"https://github.com/IBM/pytorch-seq2seq","homepage":"","size":1602,"stargazers_count":82,"watchers_count":82,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":14,"forks":10,"open_issues":14,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42"},"html":{"href":"https://github.com/IBM/pytorch-seq2seq/pull/42"},"issue":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/42"},"comments":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/IBM/pytorch-seq2seq/statuses/d27e650620bfac8e707824d267fe8981ac40cc28"}}}}
{"actor":{"display_login":"kylegao91"}}