wangyuxinwhy / uniem

unified embedding model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typo in source code

habaneraa opened this issue · comments

raise ImportError('sentence_transformers is not installed. Please install it with "pip install sentence_transformers"')

在 PyPI 中这个包的名字是 sentence-transformers. 所以需要改成 pip install sentence-transformers ~

哈哈,好的,好像 pip install 的时候会自动把 _ 转换成 -,所以真运行这个也没有问题。

你如果愿意提一个 PR ,我可以直接合并。如果你觉得麻烦的话,我会在下一次发布的时候修复这个 typo

哈哈,好的,好像 pip install 的时候会自动把 _ 转换成 -,所以真运行这个也没有问题。

你说得对,所以不用改了,见 这个