Closed JackyLiu-SCUT closed 3 years ago
Wow, you got a high exact match score! Good job! In this project, perp = - np.exp(ce_words / float(n_words))
Wow, you got a high exact match score! Good job! In this project, perp = - np.exp(ce_words / float(n_words))
Thank you for replying! I am a rookie in programming and your reply helps me understand a lot!
Another question I want to ask before closing this issue:
In data.json there is an attribute named max_iter, and the default value is 5000. Does it mean even if I have 10k samples in training set, but it just uses 5k in training?
YES.
Thank you for replying! Closing the issue now.
Why perplexity is negative? By definition it is 2 to the power H(x), which is always positive. And I think there is no problem in the training result nor the codes.
Looking forward to be educated and discusssing with everyone interested in this project! ^_^ I am a college student who just enter this cv field and select this domain as my graduation project.