Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ccbf74a6
Unverified
Commit
ccbf74a6
authored
Jul 21, 2020
by
Aditya Soni
Committed by
GitHub
Jul 21, 2020
Browse files
typos in seq2seq/readme (#5937)
parent
d3227943
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
examples/seq2seq/README.md
examples/seq2seq/README.md
+3
-2
No files found.
examples/seq2seq/README.md
View file @
ccbf74a6
...
...
@@ -14,7 +14,7 @@ wget https://s3.amazonaws.com/datasets.huggingface.co/summarization/xsum.tar.gz
tar
-xzvf
xsum.tar.gz
export
XSUM_DIR
=
${
PWD
}
/xsum
```
this should make a directory called
cnn_d
m/ with files like
`test.source`
.
this should make a directory called
`xsu
m/
`
with files like
`test.source`
.
To use your own data, copy that files format. Each article to be summarized is on its own line.
CNN/DailyMail data
...
...
@@ -22,8 +22,8 @@ CNN/DailyMail data
cd
examples/seq2seq
wget https://s3.amazonaws.com/datasets.huggingface.co/summarization/cnn_dm.tgz
tar
-xzvf
cnn_dm.tgz
export
CNN_DIR
=
${
PWD
}
/cnn_dm
this should make a directory called
`
cnn_dm/
`
with files like
`
test.source
`
.
```
WMT16 English-Romanian Translation Data:
...
...
@@ -32,6 +32,7 @@ cd examples/seq2seq
wget https://s3.amazonaws.com/datasets.huggingface.co/translation/wmt_en_ro.tar.gz
tar
-xzvf
wmt_en_ro.tar.gz
export
ENRO_DIR
=
${
PWD
}
/wmt_en_ro
this should make a directory called
`
wmt_en_ro/
`
with files like
`
test.source
`
.
```
If you are using your own data, it must be formatted as one directory with 6 files: train.source, train.target, val.source, val.target, test.source, test.target.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment