Skip to content

Commit

Permalink
update reamde
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathkethineedi authored Mar 8, 2019
1 parent 3c9e569 commit ab7fab0
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,20 @@ Process flow to generate labels on Text data using Snorkel and maintain DB to re
Follow steps at https://github.com/HazyResearch/snorkel#installation to install Snorkel in environment

## Snorkel Process
**usage**: snorkel_process.py [-h] -p PATH -lf LF [-r]
**usage**: snorkel_process.py [-h] -n NAME -p PATH -lf LF [-r]

```python snorkel_process.py -p 'cnbc_doc.tsv' -lf 'labeling_func' -r```
```python snorkel_process.py -n 'cnbc_test' -p 'cnbc_doc.tsv' -lf 'labeling_func' -r```

Run Snorkel process

optional arguments:
Arguments:

-h, --help show this help message and exit

-n, --name NAME Name of the process

-p PATH, --path PATH Path to TSV file

-lf LF, --label_func LF LF python file

-r, --restart flag to restart process from beginning

## DB process

**usage**: db_process.py [-h] -n NAME

```python db_process.py -n 'test_db_2'```

Run DB process

optional arguments:

-h, --help show this help message and exit

-n NAME, --name NAME DB name

0 comments on commit ab7fab0

Please sign in to comment.