Skip to content

Commit

Permalink
Update README for topic translation
Browse files Browse the repository at this point in the history
  • Loading branch information
plkumjorn committed Mar 22, 2019
1 parent 2bcc64c commit 5cddb9f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@ In order to run the code, please check the following issues.
[config.py]: src_reject/config.py
[playground.py]: src_reject/playground.py

### How to perform data augmentation

An example:
```bash
python3 topic_translation.py \
--data dbpedia \
--nott 100 \
```

The arguments of the command represent
* `data`: Dataset, either `dbpedia` or `20news`.
* `nott`: No. of original texts to be translated into all classes except the original class. If `nott` is not given, all the texts in the training dataset will be translated.

The location of the result file is specified by config.\{zhang15_dbpedia, news20\}_train_augmented_aggregated_path.

### How to train / test Phase 1

Pending
Expand Down

0 comments on commit 5cddb9f

Please sign in to comment.