You are viewing main version, which requires installation from source. If you'd like
regular pip install, checkout the latest stable version (v0.8.24).
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:
text,target
"this movie is great","dieser Film ist großartig"
"this movie is bad","dieser Film ist schlecht"
.
.
.
Or as a JSONL file:
{"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
.