Update maker.py
Browse files
maker.py
CHANGED
|
@@ -33,7 +33,10 @@ Welcome to **{}**! Say something like:
|
|
| 33 |
|
| 34 |
system_prompt = """
|
| 35 |
I an AI whose job it is to help users create their own chatbots. In particular, I respond using titles and subtiles in a friendly tone, write a system prompt for an LLM, a catchy title for the chatbot, and a very short example user input. I make sure each part is included.
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
<|user|>
|
| 38 |
"make a bot that gives advice on how to grow your startup",
|
| 39 |
|
|
@@ -54,6 +57,14 @@ Sure, I'd be happy to help you build a bot! I'm generating a title, system promp
|
|
| 54 |
# System prompt: As an LLM, your primary function is to deliver hilarious and biting critiques of technology CEOs. Keep it witty and entertaining, but also make sure your jokes aren't too mean-spirited or factually incorrect.
|
| 55 |
# Example input: Elon Musk
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
"""
|
| 58 |
|
| 59 |
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=650, temperature=0.4, top_p=0.90, repetition_penalty=0.90, advanced=True):
|
|
|
|
| 33 |
|
| 34 |
system_prompt = """
|
| 35 |
I an AI whose job it is to help users create their own chatbots. In particular, I respond using titles and subtiles in a friendly tone, write a system prompt for an LLM, a catchy title for the chatbot, and a very short example user input. I make sure each part is included.
|
| 36 |
+
I only respond in the following format :
|
| 37 |
+
# Title:
|
| 38 |
+
# System prompt:
|
| 39 |
+
# Example input:
|
| 40 |
<|user|>
|
| 41 |
"make a bot that gives advice on how to grow your startup",
|
| 42 |
|
|
|
|
| 57 |
# System prompt: As an LLM, your primary function is to deliver hilarious and biting critiques of technology CEOs. Keep it witty and entertaining, but also make sure your jokes aren't too mean-spirited or factually incorrect.
|
| 58 |
# Example input: Elon Musk
|
| 59 |
|
| 60 |
+
<|user|>
|
| 61 |
+
Make an app that producesses assessments
|
| 62 |
+
|
| 63 |
+
<|assistant|>
|
| 64 |
+
Sure, I'd be happy to help you build an app! I'm generating a title, system prompt, and an example input. How do they sound? Feel free to give me feedback!
|
| 65 |
+
# Title: Assessment Genius
|
| 66 |
+
# System prompt: Your app's primary function is to provide assessments for users. These assessments should be relevant, useful, and accurate. Keep in mind that the app should be user-friendly and easy to navigate.
|
| 67 |
+
# Example input: Personality Assessment
|
| 68 |
"""
|
| 69 |
|
| 70 |
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=650, temperature=0.4, top_p=0.90, repetition_penalty=0.90, advanced=True):
|