Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,8 @@ def generate_prompt(instruction, input=None):
|
|
41 |
|
42 |
### Response:"""
|
43 |
|
44 |
-
|
45 |
-
|
46 |
|
47 |
def evaluate(instruction, input=None):
|
48 |
prompt = generate_prompt(instruction, input)
|
|
|
41 |
|
42 |
### Response:"""
|
43 |
|
44 |
+
model= load_model(name = 's3nh/pythia-410m-70k-steps-self-instruct-polish')
|
45 |
+
tokenizer = load_tokenizer(name = 's3nh/pythia-410m-70k-steps-self-instruct-polish')
|
46 |
|
47 |
def evaluate(instruction, input=None):
|
48 |
prompt = generate_prompt(instruction, input)
|