an elegant bert4vector
Project description
bert4vector
向量计算、存储、检索、相似度计算
Documentation | Bert4torch | Examples | Source code
1. 下载安装
- 安装稳定版
pip install bert4vector
- 安装最新版
pip install git+https://github.com/Tongjilibo/bert4vector
2. 支持的句向量权重
模型分类 | 模型名称 | 权重来源 | 权重链接 | 备注(若有) |
---|---|---|---|---|
simbert | simbert | 追一科技 | tf,torch_base | 转换脚本 |
simbert_v2/roformer-sim | 追一科技 | tf,base,ft_base,small,ft_small | 转换脚本, config | |
embedding | text2vec-base-chinese | shibing624 | torch | config |
m3e | moka-ai | torch | config | |
bge | BAAI | torch | config | |
gte | thenlper | large-zh, base-zh | large-zh, base-zh |
3. 版本历史
更新日期 | bert4vector | 版本说明 |
---|---|---|
20240131 | 0.0.2.post2 | 去除对bert4torch的版本依赖 |
20231228 | 0.0.2 | 初始版本,支持内存和faiss模式 |
4. 更新历史:
- 20231228:初始版本,支持内存和faiss模式
5. Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bert4vector-0.0.2.post2.tar.gz
(14.4 kB
view hashes)