Skip to content

Commit

Permalink
Merge b126921 into ed313bc
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychhsu committed Apr 15, 2019
2 parents ed313bc + b126921 commit 20075ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ You can obtain the datasets Almond uses at <https://almond.stanford.edu/thingped
<https://almond.stanford.edu/thingpedia/entities>. Download
is available after registration and accepting the terms and conditions.

The sample parameter-datasets.tsv can found in [here](https://github.com/Stanford-Mobisocial-IoT-Lab/genie-toolkit/blob/master/test/data/parameter-datasets.tsv).

Given the created everything.tsv file, you can split in train/eval/test with:
```
genie split-train-eval -i everything.tsv --train train.tsv --eval eval.tsv [--test test.tsv] --eval-prob 0.1
genie split-train-eval everything.tsv --train train.tsv --eval eval.tsv [--test test.tsv] --eval-prob 0.1
--split-strategy sentence
```

Expand All @@ -212,6 +214,11 @@ in both.

#### Step 5. Training

First, set the `GENIE_PARSER_PATH` to where you put [genie-parser](https://github.com/Stanford-Mobisocial-IoT-Lab/genie-parser):
```
export GENIE_PARSER_PATH='your_path_to/genie-parser'
```

To train, use:
```
genie train --datadir <DATADIR> --outputdir <OUTPUTDIR> --workdir <WORKDIR>
Expand Down

0 comments on commit 20075ca

Please sign in to comment.