{"action":"created","comment":{"url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/comments/69470533","id":69470533,"diff_hunk":"@@ -1,35 +1,42 @@\n import os\n import time\n \n+\n+USE_GRU = True  # use GRU cells instead of LSTM cells\n+CONSTANTLY_FEED_HIDDEN_STATE = True\n+\n DATA_PATH = '/var/lib/lasagne_seq2seq'\n CORPORA_DIR = 'corpora_raw'\n PROCESSED_CORPORA_DIR = 'corpora_processed'\n W2V_MODELS_DIR = 'w2v_models'\n \n # set paths of training and testing sets\n-CORPUS_NAME = 'repeated_phrases'\n+CORPUS_NAME = 'movie_lines_cleaned_10k'\n CORPUS_PATH = os.path.join('data/train', CORPUS_NAME + '.txt')\n # CORPUS_NAME = 'dialogs_50mb'\n # CORPUS_PATH = os.path.join(DATA_PATH, CORPORA_DIR, CORPUS_NAME + '.txt')\n-TEST_DATASET_PATH = os.path.join('data', 'test', 'repeated_phrases.txt')\n-SMALL_TEST_DATASET_PATH = os.path.join('data', 'test', 'repeated_phrases.txt')\n+TEST_DATASET_PATH = os.path.join('data', 'test', CORPUS_NAME + '.txt')\n+SMALL_TEST_DATASET_PATH = os.path.join('data', 'test', CORPUS_NAME + '.txt')\n \n # set word2vec params\n TOKEN_REPRESENTATION_SIZE = 200","path":"configs/config.py","position":25,"original_position":25,"commit_id":"541c92d53ebd866f0c1d423061eeb1d52cf93633","original_commit_id":"541c92d53ebd866f0c1d423061eeb1d52cf93633","user":{"login":"nicolas-ivanov","id":2272790,"avatar_url":"https://avatars.githubusercontent.com/u/2272790?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-ivanov","html_url":"https://github.com/nicolas-ivanov","followers_url":"https://api.github.com/users/nicolas-ivanov/followers","following_url":"https://api.github.com/users/nicolas-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-ivanov/subscriptions","organizations_url":"https://api.github.com/users/nicolas-ivanov/orgs","repos_url":"https://api.github.com/users/nicolas-ivanov/repos","events_url":"https://api.github.com/users/nicolas-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-ivanov/received_events","type":"User","site_admin":false},"body":"Давай будем юзать эмбеддинги размером 128. В наших предыдуших экспериментах они работали так же, как и 256, и на торчевской модели я по умолчанию беру как раз 128.\r\n","created_at":"2016-07-04T15:13:01Z","updated_at":"2016-07-04T15:13:01Z","html_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3#discussion_r69470533","pull_request_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/comments/69470533"},"html":{"href":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3#discussion_r69470533"},"pull_request":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3","id":76067271,"html_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3","diff_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3.diff","patch_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3.patch","issue_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/3","number":3,"state":"open","locked":false,"title":"Add embedding layer","user":{"login":"mihaha","id":4047271,"avatar_url":"https://avatars.githubusercontent.com/u/4047271?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaha","html_url":"https://github.com/mihaha","followers_url":"https://api.github.com/users/mihaha/followers","following_url":"https://api.github.com/users/mihaha/following{/other_user}","gists_url":"https://api.github.com/users/mihaha/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaha/subscriptions","organizations_url":"https://api.github.com/users/mihaha/orgs","repos_url":"https://api.github.com/users/mihaha/repos","events_url":"https://api.github.com/users/mihaha/events{/privacy}","received_events_url":"https://api.github.com/users/mihaha/received_events","type":"User","site_admin":false},"body":"+ more customization in configs.\r\nYou can specify whether to train embedding layer or not, whether to initialize it with glove vectors or w2v trained on the same dataset.","created_at":"2016-07-02T15:14:26Z","updated_at":"2016-07-04T15:13:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2063d62a3ef1ffe90afb4f6ae679728e246a7246","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/3/comments","statuses_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/statuses/541c92d53ebd866f0c1d423061eeb1d52cf93633","head":{"label":"mihaha:add_embedding_layer","ref":"add_embedding_layer","sha":"541c92d53ebd866f0c1d423061eeb1d52cf93633","user":{"login":"mihaha","id":4047271,"avatar_url":"https://avatars.githubusercontent.com/u/4047271?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaha","html_url":"https://github.com/mihaha","followers_url":"https://api.github.com/users/mihaha/followers","following_url":"https://api.github.com/users/mihaha/following{/other_user}","gists_url":"https://api.github.com/users/mihaha/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaha/subscriptions","organizations_url":"https://api.github.com/users/mihaha/orgs","repos_url":"https://api.github.com/users/mihaha/repos","events_url":"https://api.github.com/users/mihaha/events{/privacy}","received_events_url":"https://api.github.com/users/mihaha/received_events","type":"User","site_admin":false},"repo":{"id":61637585,"name":"lasagne_seq2seq","full_name":"mihaha/lasagne_seq2seq","owner":{"login":"mihaha","id":4047271,"avatar_url":"https://avatars.githubusercontent.com/u/4047271?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaha","html_url":"https://github.com/mihaha","followers_url":"https://api.github.com/users/mihaha/followers","following_url":"https://api.github.com/users/mihaha/following{/other_user}","gists_url":"https://api.github.com/users/mihaha/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaha/subscriptions","organizations_url":"https://api.github.com/users/mihaha/orgs","repos_url":"https://api.github.com/users/mihaha/repos","events_url":"https://api.github.com/users/mihaha/events{/privacy}","received_events_url":"https://api.github.com/users/mihaha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mihaha/lasagne_seq2seq","description":"","fork":true,"url":"https://api.github.com/repos/mihaha/lasagne_seq2seq","forks_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/forks","keys_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/teams","hooks_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/hooks","issue_events_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/issues/events{/number}","events_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/events","assignees_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/assignees{/user}","branches_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/branches{/branch}","tags_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/tags","blobs_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/git/refs{/sha}","trees_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/statuses/{sha}","languages_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/languages","stargazers_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/stargazers","contributors_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/contributors","subscribers_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/subscribers","subscription_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/subscription","commits_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/commits{/sha}","git_commits_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/git/commits{/sha}","comments_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/comments{/number}","issue_comment_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/issues/comments{/number}","contents_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/contents/{+path}","compare_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/merges","archive_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/downloads","issues_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/issues{/number}","pulls_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/pulls{/number}","milestones_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/milestones{/number}","notifications_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/labels{/name}","releases_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/releases{/id}","deployments_url":"https://api.github.com/repos/mihaha/lasagne_seq2seq/deployments","created_at":"2016-06-21T13:50:45Z","updated_at":"2016-06-21T13:50:47Z","pushed_at":"2016-07-02T15:14:07Z","git_url":"git://github.com/mihaha/lasagne_seq2seq.git","ssh_url":"git@github.com:mihaha/lasagne_seq2seq.git","clone_url":"https://github.com/mihaha/lasagne_seq2seq.git","svn_url":"https://github.com/mihaha/lasagne_seq2seq","homepage":null,"size":7053,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nicolas-ivanov:master","ref":"master","sha":"fc7ea368fde6213b622b567cd50fadea35560eec","user":{"login":"nicolas-ivanov","id":2272790,"avatar_url":"https://avatars.githubusercontent.com/u/2272790?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-ivanov","html_url":"https://github.com/nicolas-ivanov","followers_url":"https://api.github.com/users/nicolas-ivanov/followers","following_url":"https://api.github.com/users/nicolas-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-ivanov/subscriptions","organizations_url":"https://api.github.com/users/nicolas-ivanov/orgs","repos_url":"https://api.github.com/users/nicolas-ivanov/repos","events_url":"https://api.github.com/users/nicolas-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-ivanov/received_events","type":"User","site_admin":false},"repo":{"id":59288712,"name":"lasagne_seq2seq","full_name":"nicolas-ivanov/lasagne_seq2seq","owner":{"login":"nicolas-ivanov","id":2272790,"avatar_url":"https://avatars.githubusercontent.com/u/2272790?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-ivanov","html_url":"https://github.com/nicolas-ivanov","followers_url":"https://api.github.com/users/nicolas-ivanov/followers","following_url":"https://api.github.com/users/nicolas-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-ivanov/subscriptions","organizations_url":"https://api.github.com/users/nicolas-ivanov/orgs","repos_url":"https://api.github.com/users/nicolas-ivanov/repos","events_url":"https://api.github.com/users/nicolas-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-ivanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq","description":"","fork":false,"url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq","forks_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/forks","keys_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/teams","hooks_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/hooks","issue_events_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/events{/number}","events_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/events","assignees_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/assignees{/user}","branches_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/branches{/branch}","tags_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/tags","blobs_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/languages","stargazers_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/stargazers","contributors_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/contributors","subscribers_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/subscribers","subscription_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/subscription","commits_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/contents/{+path}","compare_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/merges","archive_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/downloads","issues_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues{/number}","pulls_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/labels{/name}","releases_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/releases{/id}","deployments_url":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/deployments","created_at":"2016-05-20T11:20:33Z","updated_at":"2016-07-02T03:12:43Z","pushed_at":"2016-07-02T15:14:26Z","git_url":"git://github.com/nicolas-ivanov/lasagne_seq2seq.git","ssh_url":"git@github.com:nicolas-ivanov/lasagne_seq2seq.git","clone_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq.git","svn_url":"https://github.com/nicolas-ivanov/lasagne_seq2seq","homepage":null,"size":7004,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3"},"html":{"href":"https://github.com/nicolas-ivanov/lasagne_seq2seq/pull/3"},"issue":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/3"},"comments":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nicolas-ivanov/lasagne_seq2seq/statuses/541c92d53ebd866f0c1d423061eeb1d52cf93633"}}}}
{"actor":{"display_login":"nicolas-ivanov"}}