-
Notifications
You must be signed in to change notification settings - Fork 151
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
simbert在自己的语料上 fineturn以后维度是768,怎样变成300维度? #11
Comments
可以用PCA降维,参考:https://kexue.fm/archives/8069 |
好的,我后续试一下这个PCA降维度。 |
是所有的句子对,测试的结果都是cos值比之前变高了 |
cos需要输入句子1和句子2的向量吧?才能计算余弦相似度。不明白的地方在于,句子1的向量是直接通过simbert获取的吗?句子2的向量也是通过simbert获取的吗?请问句子1和句子2的向量是如何获取的? |
TestNLP 是不是因为finetune数据集的cosines普遍比较高?可能是分布不均衡导致的 |
默认是768维度,直接在后面加一层Dense(300)是否可行?这样之前基于2000W问答对训练的结果会受影响吗?
The text was updated successfully, but these errors were encountered: