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

如果希望将句子和词语之间做匹配应该如何操作合适呢? #38

Open
Ask-sola opened this issue Mar 5, 2023 · 1 comment

Comments

@Ask-sola
Copy link

Ask-sola commented Mar 5, 2023

我希望将一个句子直接进行分类,但是我手上没有一个标注好的分类数据集,所以只能求助于开放的模型,通过暴力匹配计算相似度来实现句子分类。那么如果直接将句子和词语编码后计算相似度,是否会有相似性的性能体现出来呢?

@shibing624
Copy link
Owner

用向量匹配批量计算,会快些。我另一个用python写的相似度计算项目:https://github.com/shibing624/similarities 可以实现语义匹配。

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