Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yyy-Apple committed Mar 1, 2022
1 parent a263b6a commit c0dcc5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion train/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ python bart.py --train_file train.json --validation_file val.json --output_dir m
Then you can use your custom BARTScore for evaluation.

## Reproduce
To reproduce our results, please see the folder [`reproduce`](reproduce). Due to limited computing resources, we sharded the BART into multiple GPUs and trained the model. See [`reproduce/finetune.py`](reproduce/finetune.py) for details.
To reproduce our results, please see the folder [`reproduce`](reproduce). Due to limited computing resources, we sharded the BART into multiple GPUs and trained the model, please see [`reproduce/finetune.py`](reproduce/finetune.py) for details.



7 changes: 7 additions & 0 deletions train/reproduce/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Data

The Parabank2 dataset can be found here: [https://nlp.jhu.edu/parabank/](https://nlp.jhu.edu/parabank/). Please reformat the data into a `parabank2.json` file like this if you want to use our provided script:
```
{"text": "1994 German Grand Prix", "summary": "1994 Grand Prix of Germany"}
{"text": "2004 OFC Nations Cup", "summary": "2004 Ocean Cup of Nations"}
```

0 comments on commit c0dcc5f

Please sign in to comment.