Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from transformers import (
|
|
7 |
AutoModelForCausalLM
|
8 |
)
|
9 |
|
10 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
11 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("
|
12 |
|
13 |
preset_examples = [
|
14 |
('Instruction: given a dialog context, you need to response empathically.',
|
|
|
7 |
AutoModelForCausalLM
|
8 |
)
|
9 |
|
10 |
+
tokenizer = AutoTokenizer.from_pretrained("microsoft/GODEL-v1_1-base-seq2seq")
|
11 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("microsoft/GODEL-v1_1-base-seq2seq")
|
12 |
|
13 |
preset_examples = [
|
14 |
('Instruction: given a dialog context, you need to response empathically.',
|