From bb9618926257d543417e6e7b6f563775215154be Mon Sep 17 00:00:00 2001 From: Tongjilibo Date: Wed, 10 Jul 2024 10:55:02 -0400 Subject: [PATCH] v0.0.4 --- README.md | 2 ++ bert4vector/pipelines/api.py | 1 - setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34fa81d..bf83c6f 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,14 @@ server.run(port=port) |更新日期| bert4vector | 版本说明 | |------| ---------------- |----------- | +|20240710| 0.0.4 |增加最长公共子序列字面召回,不安装torch也可以使用部分功能| |20240628| 0.0.3 |增加多种字面召回,增加api接口部署| |20240131| 0.0.2.post2 |去除对bert4torch的版本依赖| |20231228| 0.0.2 |初始版本,支持内存和faiss模式| ## 5. 更新历史: +- **20240710**:增加最长公共子序列字面召回,不安装torch也可以使用部分功能 - **20240628**:增加多种字面召回,增加api接口部署 - **20231228**:初始版本,支持内存和faiss模式 diff --git a/bert4vector/pipelines/api.py b/bert4vector/pipelines/api.py index 16d5dcd..09ac9f1 100644 --- a/bert4vector/pipelines/api.py +++ b/bert4vector/pipelines/api.py @@ -5,7 +5,6 @@ from loguru import logger from bert4vector.core import BertSimilarity, FaissSimilarity, SameCharsSimilarity, LongestCommonSubstringSimilarity from bert4vector.core import HownetSimilarity, SimHashSimilarity, TfidfSimilarity, BM25Similarity, CilinSimilarity -from bert4vector.snippets import cos_sim import traceback from torch4keras.snippets import is_package_available if is_package_available('fastapi'): diff --git a/setup.py b/setup.py index 45f1fd9..c838c7a 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='bert4vector', - version='v0.0.3', + version='v0.0.4', description='an elegant bert4vector', long_description=long_description, long_description_content_type="text/markdown",