Use better cmdline argument names. Drop unneeded no-compress argument

Can infer to compress or not via the output_file suffix
This commit is contained in:
Debanjum Singh Solanky
2021-08-16 13:44:42 -07:00
parent d9f60c00bf
commit 85bf15628d
4 changed files with 27 additions and 27 deletions

View File

@@ -22,8 +22,8 @@ Setup
Generate compressed JSONL from specified org-mode files
```sh
python3 processor/org-mode/org-to-jsonl.py \
--org-files "~/Notes/Schedule.org" "~/Notes/Incoming.org" \
--jsonl-file ".notes.jsonl" \
--input-files ~/Notes/Schedule.org ~/Notes/Incoming.org \
--output-file .notes.jsonl.gz \
--verbose
```
@@ -32,8 +32,8 @@ Run
Load ML model, generate embeddings and expose API interface to run user queries on above org-mode files
```sh
python3 main.py \
--jsonl-file .notes.jsonl.gz \
--embeddings-file .notes_embeddings.pt \
--compressed-jsonl .notes.jsonl.gz \
--embeddings .notes_embeddings.pt \
--verbose
```
@@ -49,8 +49,8 @@ Use
- *Call Semantic Search via Python Script Directly*
```sh
python3 search_types/asymmetric.py \
--jsonl-file .notes.jsonl.gz \
--embeddings-file .notes_embeddings.pt \
--compressed-jsonl .notes.jsonl.gz \
--embeddings .notes_embeddings.pt \
--results-count 5 \
--verbose \
--interactive