Hello everybody, a question, how can I do the following: given a sentence A, how can I know what is the probability of generating another sentence B, with language models? For example, given the sentence A: the cat is hungry, what is the probability that it generates the sentence B: The cat has already eaten.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can we use GPT to assign a probability for a sentence given the previous sentences? | 0 | 302 | November 25, 2020 | |
How to get probability of a sentence using GPT-2 model? | 1 | 3141 | January 8, 2023 | |
How to get probability of the first generated token? | 2 | 1680 | July 18, 2020 | |
Calculate the probability of a given sequence for a seq2seq model | 0 | 982 | April 22, 2022 | |
Print All Tokens Over a Certain Probability Threshold | 3 | 1118 | July 21, 2020 |