Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/example_w2v.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down