awd-lstm-lm icon indicating copy to clipboard operation
awd-lstm-lm copied to clipboard

How to use the trained model as a discriminative model?

Open PromptExpert opened this issue 6 years ago • 2 comments

When the training finished, how does the model give a new sentence a probability?

PromptExpert avatar Jul 06 '18 11:07 PromptExpert

can someone reply to it?

abubakar-ucr avatar Nov 29 '18 19:11 abubakar-ucr

You can calcuate log probability of given sentence using trained model.

gyuwankim avatar Nov 29 '18 20:11 gyuwankim