Spaces:
Sleeping
Sleeping
File size: 698 Bytes
33d4721 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# Seq2Seq
Seq2Seq is a task that involves converting a sequence of words into another sequence of words.
It is used in machine translation, text summarization, and question answering.
## Data Format
You can have the dataset as a CSV file:
```csv
text,target
"this movie is great","dieser Film ist großartig"
"this movie is bad","dieser Film ist schlecht"
.
.
.
```
Or as a JSONL file:
```json
{"text": "this movie is great", "target": "dieser Film ist großartig"}
{"text": "this movie is bad", "target": "dieser Film ist schlecht"}
.
.
.
```
## Columns
Your CSV/JSONL dataset must have two columns: `text` and `target`.
## Parameters
[[autodoc]] trainers.seq2seq.params.Seq2SeqParams
|