Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from datasets import load_dataset
|
|
5 |
from huggingface_hub import HfApi, login
|
6 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
7 |
|
|
|
|
|
|
|
8 |
hf_profile = "bstraehle"
|
9 |
|
10 |
action_1 = "Fine-tune pre-trained model"
|
|
|
5 |
from huggingface_hub import HfApi, login
|
6 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
7 |
|
8 |
+
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
9 |
+
from transformers import Seq2SeqTrainer, Seq2SeqTrainingArguments
|
10 |
+
|
11 |
hf_profile = "bstraehle"
|
12 |
|
13 |
action_1 = "Fine-tune pre-trained model"
|