From b86e5c3b76f368edab563f116ae07337566850ac Mon Sep 17 00:00:00 2001 From: Larry Bowden Date: Wed, 23 Feb 2022 21:34:12 -0600 Subject: [PATCH 1/2] Update readme script Update readme script to save file when building FAISS (exact search) index --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7254b2c9..070b1d9c 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ We additionally provide a [FAISS](https://github.com/facebookresearch/faiss) ind To build and save FAISS (exact search) index yourself, run -`python blink/build_faiss_index.py --output_path models/faiss_flat_index.pkl` +`python blink/build_faiss_index.py --output_path models/faiss_flat_index.pkl --save_index` ### 3. Use BLINK interactively From 0f5ff3a252ee63296f72d159f8b932595b53b373 Mon Sep 17 00:00:00 2001 From: Larry Bowden Date: Thu, 24 Feb 2022 08:48:51 -0600 Subject: [PATCH 2/2] Update requirements Gensim < 4.0 required --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 9e23a0cc..7a021322 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,3 +13,4 @@ transformers==3.1.0 colorama==0.4.3 termcolor==1.1.0 faiss-cpu>=1.6.1 +gensim<4.0