Skip to content

Commit c5d8cc4

Browse files
authored
Merge pull request #10 from js1010/dev
fix typos
2 parents 823000f + 67cadb8 commit c5d8cc4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ This project is to speed up various ML models (e.g. topic modeling, word embeddi
44

55
### How to install
66

7+
- install from pypi
8+
9+
```shell
10+
pip install cusim
11+
```
12+
13+
714
- install from source
815

916
```shell
@@ -20,8 +27,6 @@ python -m grpc_tools.protoc --python_out cusim/ --proto_path cusim/proto/ config
2027
python setup.py install
2128
```
2229

23-
- pip installation will be available soon
24-
2530
### How to use
2631

2732
- `examples/example_w2v.py`, `examples/example_lda.py` and `examples/README.md` will be very helpful to understand the usage.

examples/example_w2v.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
DOWNLOAD_PATH = "./res"
2929
DATASET = "quora-duplicate-questions"
3030
DATA_PATH = f"./res/{DATASET}.stream.txt"
31-
PROCESSED_DATA_DIR = "./res/{DATASET}-processed"
31+
PROCESSED_DATA_DIR = f"./res/{DATASET}-processed"
3232
CUSIM_MODEL = "./res/cusim.w2v.model"
3333
GENSIM_MODEL = "./res/gensim.w2v.model"
3434

0 commit comments

Comments
 (0)