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. 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"