supernovamutinda
commited on
Commit
•
e90edfe
1
Parent(s):
8ace9b7
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ if choice == "Meal Suggester":
|
|
27 |
"role": "system",
|
28 |
"content": "You are a friendly chatbot who always responds in the style of a pirate",
|
29 |
},
|
30 |
-
{"role": "user", "content": "How many
|
31 |
]
|
32 |
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
33 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
|
|
27 |
"role": "system",
|
28 |
"content": "You are a friendly chatbot who always responds in the style of a pirate",
|
29 |
},
|
30 |
+
{"role": "user", "content": "How many Ships can a human eat in one sitting?"},
|
31 |
]
|
32 |
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
33 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|