Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,8 @@ def generate_prompt(instruction, input=None):
|
|
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)
|
|
|
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 |
+
generation_config = create_generator()
|
47 |
+
|
48 |
|
49 |
def evaluate(instruction, input=None):
|
50 |
prompt = generate_prompt(instruction, input)
|