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

是不是只有给定作为query和检索库的文本,才能用该方法? #15

Open
Ywandung-Lyou opened this issue Dec 12, 2022 · 0 comments

Comments

@Ywandung-Lyou
Copy link

Ywandung-Lyou commented Dec 12, 2022

大佬,在all_utils.py的函数compute_kernel_bias,是要将语料们先通过BERT池化成句向量后拼接成vecs来输入。
假设一个场景是给定查询的语句q,也给定待匹配的语句库,是不是每次都要将q和语句库中所有语句一起做上述操作才行?如果是,这似乎计算量好大。

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

1 participant