{"action":"created","issue":{"url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/87","repository_url":"https://api.github.com/repos/karpathy/neuraltalk2","labels_url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/87/comments","events_url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/87/events","html_url":"https://github.com/karpathy/neuraltalk2/issues/87","id":146088005,"number":87,"title":"beam search ranked by ppl instead of probability","user":{"login":"lichengunc","id":12834517,"avatar_url":"https://avatars.githubusercontent.com/u/12834517?v=3","gravatar_id":"","url":"https://api.github.com/users/lichengunc","html_url":"https://github.com/lichengunc","followers_url":"https://api.github.com/users/lichengunc/followers","following_url":"https://api.github.com/users/lichengunc/following{/other_user}","gists_url":"https://api.github.com/users/lichengunc/gists{/gist_id}","starred_url":"https://api.github.com/users/lichengunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lichengunc/subscriptions","organizations_url":"https://api.github.com/users/lichengunc/orgs","repos_url":"https://api.github.com/users/lichengunc/repos","events_url":"https://api.github.com/users/lichengunc/events{/privacy}","received_events_url":"https://api.github.com/users/lichengunc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T19:31:53Z","updated_at":"2016-04-14T00:28:19Z","closed_at":null,"body":"The code is trained on minimizing log_perplexity, but the beam search is ranked by log_probs. \r\nA simple test on my side shows ranking by log_perplexity in beam search could give higher bleu, rouge, and meteor scores, which is more consistent with the optimization function.\r\n"},"comment":{"url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/comments/209700380","html_url":"https://github.com/karpathy/neuraltalk2/issues/87#issuecomment-209700380","issue_url":"https://api.github.com/repos/karpathy/neuraltalk2/issues/87","id":209700380,"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},"created_at":"2016-04-14T00:28:19Z","updated_at":"2016-04-14T00:28:19Z","body":"doh! Sorry, can you elaborate? I was under the impression that `logprobs` was already normalized due to use of a LogSoftMax layer, so this should already be a correctly-normalized log-perplexity? What change did you include, exactly?"}}