Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ parameters:
|
|
172 |
int8_mask: true
|
173 |
dtype: bfloat16
|
174 |
random_seed: 0
|
175 |
-
|
176 |
yaml_config = random.choices([slerp_config, dare_config], weights=[0.4, 0.6], k=1)[0]
|
177 |
|
178 |
with open('config.yaml', 'w', encoding="utf-8") as f:
|
@@ -234,7 +234,7 @@ pipeline = transformers.pipeline(
|
|
234 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
235 |
print(outputs[0]["generated_text"])
|
236 |
```
|
237 |
-
|
238 |
|
239 |
# Create a Jinja template object
|
240 |
jinja_template = Template(template_text.strip())
|
|
|
172 |
int8_mask: true
|
173 |
dtype: bfloat16
|
174 |
random_seed: 0
|
175 |
+
"""
|
176 |
yaml_config = random.choices([slerp_config, dare_config], weights=[0.4, 0.6], k=1)[0]
|
177 |
|
178 |
with open('config.yaml', 'w', encoding="utf-8") as f:
|
|
|
234 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
235 |
print(outputs[0]["generated_text"])
|
236 |
```
|
237 |
+
"""
|
238 |
|
239 |
# Create a Jinja template object
|
240 |
jinja_template = Template(template_text.strip())
|