{"action":"created","comment":{"url":"https://api.github.com/repos/karpathy/char-rnn/pulls/comments/31237932","id":31237932,"diff_hunk":"@@ -5,13 +5,15 @@\n local CharSplitLMMinibatchLoader = {}\n CharSplitLMMinibatchLoader.__index = CharSplitLMMinibatchLoader\n \n-function CharSplitLMMinibatchLoader.create(data_dir, batch_size, seq_length, split_fractions)\n-    -- split_fractions is e.g. {0.9, 0.05, 0.05}\n \n+function CharSplitLMMinibatchLoader.create(data_dir, batch_size, seq_length, split_fractions, max_count)\n+    -- split_fractions is e.g. {0.9, 0.05, 0.05}\n+    count =1","path":"util/CharSplitLMMinibatchLoader.lua","position":9,"original_position":9,"commit_id":"6e45cfd1b811d12b21ff2ee748c941336f56a115","original_commit_id":"6e45cfd1b811d12b21ff2ee748c941336f56a115","user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"body":"local count = 1","created_at":"2015-05-28T14:23:27Z","updated_at":"2015-05-28T14:23:27Z","html_url":"https://github.com/karpathy/char-rnn/pull/18#discussion_r31237932","pull_request_url":"https://api.github.com/repos/karpathy/char-rnn/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/comments/31237932"},"html":{"href":"https://github.com/karpathy/char-rnn/pull/18#discussion_r31237932"},"pull_request":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/karpathy/char-rnn/pulls/18","id":36390765,"html_url":"https://github.com/karpathy/char-rnn/pull/18","diff_url":"https://github.com/karpathy/char-rnn/pull/18.diff","patch_url":"https://github.com/karpathy/char-rnn/pull/18.patch","issue_url":"https://api.github.com/repos/karpathy/char-rnn/issues/18","number":18,"state":"open","locked":false,"title":"Added some multi-file options","user":{"login":"BenjaminProgram","id":10462644,"avatar_url":"https://avatars.githubusercontent.com/u/10462644?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminProgram","html_url":"https://github.com/BenjaminProgram","followers_url":"https://api.github.com/users/BenjaminProgram/followers","following_url":"https://api.github.com/users/BenjaminProgram/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminProgram/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminProgram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminProgram/subscriptions","organizations_url":"https://api.github.com/users/BenjaminProgram/orgs","repos_url":"https://api.github.com/users/BenjaminProgram/repos","events_url":"https://api.github.com/users/BenjaminProgram/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminProgram/received_events","type":"User","site_admin":false},"body":"I have very little Lua knowledge so this could be very messy.","created_at":"2015-05-28T10:09:45Z","updated_at":"2015-05-28T14:23:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03e48b699db6ab964fe2fd5b07c65c55a408caff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/karpathy/char-rnn/pulls/18/commits","review_comments_url":"https://api.github.com/repos/karpathy/char-rnn/pulls/18/comments","review_comment_url":"https://api.github.com/repos/karpathy/char-rnn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karpathy/char-rnn/issues/18/comments","statuses_url":"https://api.github.com/repos/karpathy/char-rnn/statuses/6e45cfd1b811d12b21ff2ee748c941336f56a115","head":{"label":"BenjaminProgram:master","ref":"master","sha":"6e45cfd1b811d12b21ff2ee748c941336f56a115","user":{"login":"BenjaminProgram","id":10462644,"avatar_url":"https://avatars.githubusercontent.com/u/10462644?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminProgram","html_url":"https://github.com/BenjaminProgram","followers_url":"https://api.github.com/users/BenjaminProgram/followers","following_url":"https://api.github.com/users/BenjaminProgram/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminProgram/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminProgram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminProgram/subscriptions","organizations_url":"https://api.github.com/users/BenjaminProgram/orgs","repos_url":"https://api.github.com/users/BenjaminProgram/repos","events_url":"https://api.github.com/users/BenjaminProgram/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminProgram/received_events","type":"User","site_admin":false},"repo":{"id":36389014,"name":"char-rnn","full_name":"BenjaminProgram/char-rnn","owner":{"login":"BenjaminProgram","id":10462644,"avatar_url":"https://avatars.githubusercontent.com/u/10462644?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminProgram","html_url":"https://github.com/BenjaminProgram","followers_url":"https://api.github.com/users/BenjaminProgram/followers","following_url":"https://api.github.com/users/BenjaminProgram/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminProgram/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminProgram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminProgram/subscriptions","organizations_url":"https://api.github.com/users/BenjaminProgram/orgs","repos_url":"https://api.github.com/users/BenjaminProgram/repos","events_url":"https://api.github.com/users/BenjaminProgram/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminProgram/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenjaminProgram/char-rnn","description":"Multi-layer Recurrent Neural Networks (LSTM, GRU, RNN) for character-level language models in Torch","fork":true,"url":"https://api.github.com/repos/BenjaminProgram/char-rnn","forks_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/forks","keys_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/teams","hooks_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/hooks","issue_events_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/issues/events{/number}","events_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/events","assignees_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/assignees{/user}","branches_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/branches{/branch}","tags_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/tags","blobs_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/statuses/{sha}","languages_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/languages","stargazers_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/stargazers","contributors_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/contributors","subscribers_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/subscribers","subscription_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/subscription","commits_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/contents/{+path}","compare_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/merges","archive_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/downloads","issues_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/issues{/number}","pulls_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/pulls{/number}","milestones_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/milestones{/number}","notifications_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/labels{/name}","releases_url":"https://api.github.com/repos/BenjaminProgram/char-rnn/releases{/id}","created_at":"2015-05-27T18:59:45Z","updated_at":"2015-05-27T18:59:45Z","pushed_at":"2015-05-27T22:27:55Z","git_url":"git://github.com/BenjaminProgram/char-rnn.git","ssh_url":"git@github.com:BenjaminProgram/char-rnn.git","clone_url":"https://github.com/BenjaminProgram/char-rnn.git","svn_url":"https://github.com/BenjaminProgram/char-rnn","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"karpathy:master","ref":"master","sha":"4d03191dc2dfc493ac22e9b071a227edf1026e05","user":{"login":"karpathy","id":241138,"avatar_url":"https://avatars.githubusercontent.com/u/241138?v=3","gravatar_id":"","url":"https://api.github.com/users/karpathy","html_url":"https://github.com/karpathy","followers_url":"https://api.github.com/users/karpathy/followers","following_url":"https://api.github.com/users/karpathy/following{/other_user}","gists_url":"https://api.github.com/users/karpathy/gists{/gist_id}","starred_url":"https://api.github.com/users/karpathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karpathy/subscriptions","organizations_url":"https://api.github.com/users/karpathy/orgs","repos_url":"https://api.github.com/users/karpathy/repos","events_url":"https://api.github.com/users/karpathy/events{/privacy}","received_events_url":"https://api.github.com/users/karpathy/received_events","type":"User","site_admin":false},"repo":{"id":36027077,"name":"char-rnn","full_name":"karpathy/char-rnn","owner":{"login":"karpathy","id":241138,"avatar_url":"https://avatars.githubusercontent.com/u/241138?v=3","gravatar_id":"","url":"https://api.github.com/users/karpathy","html_url":"https://github.com/karpathy","followers_url":"https://api.github.com/users/karpathy/followers","following_url":"https://api.github.com/users/karpathy/following{/other_user}","gists_url":"https://api.github.com/users/karpathy/gists{/gist_id}","starred_url":"https://api.github.com/users/karpathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karpathy/subscriptions","organizations_url":"https://api.github.com/users/karpathy/orgs","repos_url":"https://api.github.com/users/karpathy/repos","events_url":"https://api.github.com/users/karpathy/events{/privacy}","received_events_url":"https://api.github.com/users/karpathy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karpathy/char-rnn","description":"Multi-layer Recurrent Neural Networks (LSTM, GRU, RNN) for character-level language models in Torch","fork":false,"url":"https://api.github.com/repos/karpathy/char-rnn","forks_url":"https://api.github.com/repos/karpathy/char-rnn/forks","keys_url":"https://api.github.com/repos/karpathy/char-rnn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karpathy/char-rnn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karpathy/char-rnn/teams","hooks_url":"https://api.github.com/repos/karpathy/char-rnn/hooks","issue_events_url":"https://api.github.com/repos/karpathy/char-rnn/issues/events{/number}","events_url":"https://api.github.com/repos/karpathy/char-rnn/events","assignees_url":"https://api.github.com/repos/karpathy/char-rnn/assignees{/user}","branches_url":"https://api.github.com/repos/karpathy/char-rnn/branches{/branch}","tags_url":"https://api.github.com/repos/karpathy/char-rnn/tags","blobs_url":"https://api.github.com/repos/karpathy/char-rnn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karpathy/char-rnn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karpathy/char-rnn/git/refs{/sha}","trees_url":"https://api.github.com/repos/karpathy/char-rnn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karpathy/char-rnn/statuses/{sha}","languages_url":"https://api.github.com/repos/karpathy/char-rnn/languages","stargazers_url":"https://api.github.com/repos/karpathy/char-rnn/stargazers","contributors_url":"https://api.github.com/repos/karpathy/char-rnn/contributors","subscribers_url":"https://api.github.com/repos/karpathy/char-rnn/subscribers","subscription_url":"https://api.github.com/repos/karpathy/char-rnn/subscription","commits_url":"https://api.github.com/repos/karpathy/char-rnn/commits{/sha}","git_commits_url":"https://api.github.com/repos/karpathy/char-rnn/git/commits{/sha}","comments_url":"https://api.github.com/repos/karpathy/char-rnn/comments{/number}","issue_comment_url":"https://api.github.com/repos/karpathy/char-rnn/issues/comments{/number}","contents_url":"https://api.github.com/repos/karpathy/char-rnn/contents/{+path}","compare_url":"https://api.github.com/repos/karpathy/char-rnn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karpathy/char-rnn/merges","archive_url":"https://api.github.com/repos/karpathy/char-rnn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karpathy/char-rnn/downloads","issues_url":"https://api.github.com/repos/karpathy/char-rnn/issues{/number}","pulls_url":"https://api.github.com/repos/karpathy/char-rnn/pulls{/number}","milestones_url":"https://api.github.com/repos/karpathy/char-rnn/milestones{/number}","notifications_url":"https://api.github.com/repos/karpathy/char-rnn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karpathy/char-rnn/labels{/name}","releases_url":"https://api.github.com/repos/karpathy/char-rnn/releases{/id}","created_at":"2015-05-21T17:25:24Z","updated_at":"2015-05-28T12:50:42Z","pushed_at":"2015-05-28T10:09:45Z","git_url":"git://github.com/karpathy/char-rnn.git","ssh_url":"git@github.com:karpathy/char-rnn.git","clone_url":"https://github.com/karpathy/char-rnn.git","svn_url":"https://github.com/karpathy/char-rnn","homepage":null,"size":0,"stargazers_count":717,"watchers_count":717,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":8,"forks":85,"open_issues":8,"watchers":717,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/18"},"html":{"href":"https://github.com/karpathy/char-rnn/pull/18"},"issue":{"href":"https://api.github.com/repos/karpathy/char-rnn/issues/18"},"comments":{"href":"https://api.github.com/repos/karpathy/char-rnn/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karpathy/char-rnn/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/karpathy/char-rnn/statuses/6e45cfd1b811d12b21ff2ee748c941336f56a115"}}}}