Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,7 @@ template = """Question: {question}
|
|
| 21 |
Answer: Let's think step by step."""
|
| 22 |
|
| 23 |
prompt = PromptTemplate.from_template(template)
|
|
|
|
| 24 |
def generate_with_llama_chat(my_config):
|
| 25 |
print('tokenizer')
|
| 26 |
tokenizer = AutoTokenizer.from_pretrained(my_config['model_name'])
|
|
|
|
| 21 |
Answer: Let's think step by step."""
|
| 22 |
|
| 23 |
prompt = PromptTemplate.from_template(template)
|
| 24 |
+
|
| 25 |
def generate_with_llama_chat(my_config):
|
| 26 |
print('tokenizer')
|
| 27 |
tokenizer = AutoTokenizer.from_pretrained(my_config['model_name'])
|