fix dale bot to work with llama3, also move stop tokens to a list i can configure

This commit is contained in:
Luke Robles 2024-04-23 10:42:39 -07:00
parent e6f6edc393
commit 4c5fade0a7
2 changed files with 21 additions and 15 deletions

View File

@ -28,14 +28,7 @@ async def on_ready():
# for server in bot.guilds:
# if server.name in [
# # "no officer it's hi how r u",
# "Aeturnum",
# "Naked Knights",
# "MadsenHouse",
# "Safety Zone",
# "R3 Server",
# "Thieve's Den MC",
# "Thieve's Den",
# "no officer it's hi how r u",
# ]:
# await server.leave()
# print("Left %s" % server.name)
@ -184,7 +177,7 @@ async def on_message(ctx):
"model": llm_rules["model"],
"stream": False,
"max_tokens": 4096,
"stop": ["hello"],
"stop": llm_rules["stop_tokens"],
"frequency_penalty": 0,
"presence_penalty": 0,
"temperature": 0.7,

View File

@ -110,13 +110,26 @@ convenience_store_items = [
"Twizzlers, Red Licorice",
]
wild_cards = [
"whatever coins you have in your pocket",
"some of these Paper Clips",
"A whole jar of mustard",
"Susan B. Anthony's pubic hair",
"Seventeen tortillas",
"Your ring",
"5 Grapes",
"a half eatn Apple",
"a leftover Chicken Breast",
"A spoonful of Mayonaise",
"A whole jar of mustard",
"a whole tube of gogurt",
"Butter",
"dump a carton of Orange Juice on it",
"Eggs",
"freezer burned Ice Cream",
"half a bottle of Ketchup",
"half a Leftover Pizza",
"Milk",
"Seventeen tortillas",
"some gross ass mini Pickles",
"some of these Paper Clips",
"some stale Bread",
"Susan B. Anthony's pubic hair",
"whatever coins you have in your pocket",
"Your wedding ring",
]