From 522602a39b73fca3ead32e8bc51e91b56f69fff5 Mon Sep 17 00:00:00 2001 From: Jisang Yoon Date: Tue, 16 Feb 2021 03:04:51 +0900 Subject: [PATCH 1/2] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ba27fc..2da24b3 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ This project is to speed up various ML models (e.g. topic modeling, word embeddi ### How to install +- install from pypi + +```shell +pip install cusim +``` + + - install from source ```shell @@ -20,8 +27,6 @@ python -m grpc_tools.protoc --python_out cusim/ --proto_path cusim/proto/ config python setup.py install ``` -- pip installation will be available soon - ### How to use - `examples/example_w2v.py`, `examples/example_lda.py` and `examples/README.md` will be very helpful to understand the usage. From 67cadb8b665e2c7391d0f9c37dbb8458d4721e03 Mon Sep 17 00:00:00 2001 From: js1010 Date: Tue, 16 Feb 2021 03:07:20 +0900 Subject: [PATCH 2/2] fix typo in exaample --- examples/example_w2v.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_w2v.py b/examples/example_w2v.py index 77de2c4..305ba7e 100644 --- a/examples/example_w2v.py +++ b/examples/example_w2v.py @@ -28,7 +28,7 @@ DOWNLOAD_PATH = "./res" DATASET = "quora-duplicate-questions" DATA_PATH = f"./res/{DATASET}.stream.txt" -PROCESSED_DATA_DIR = "./res/{DATASET}-processed" +PROCESSED_DATA_DIR = f"./res/{DATASET}-processed" CUSIM_MODEL = "./res/cusim.w2v.model" GENSIM_MODEL = "./res/gensim.w2v.model"