Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求概率还是用AR model #18

Closed
mlpod opened this issue May 19, 2021 · 1 comment
Closed

求概率还是用AR model #18

mlpod opened this issue May 19, 2021 · 1 comment

Comments

@mlpod
Copy link

mlpod commented May 19, 2021

依照bert-as-language-model的思路,p(a,b) = p(a|b)*p(b|a),显然错误,这得到的根本不是概率。
求概率还是用AR model:p(a,b) = p(a)*p(b|a)

@mlpod mlpod changed the title P(你好)==P(好你)?? 求概率还是用AR model May 19, 2021
@mlpod mlpod closed this as completed May 19, 2021
@xu-song
Copy link
Owner

xu-song commented May 20, 2021

对,这里的近似是不严谨的,但表征句子通顺度、困惑度应该是没问题的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants