fix dale bot to work with llama3, also move stop tokens to a list i can configure
This commit is contained in:
parent
e6f6edc393
commit
4c5fade0a7
11
app/bot.py
11
app/bot.py
@ -28,14 +28,7 @@ async def on_ready():
|
|||||||
|
|
||||||
# for server in bot.guilds:
|
# for server in bot.guilds:
|
||||||
# if server.name in [
|
# if server.name in [
|
||||||
# # "no officer it's hi how r u",
|
# "no officer it's hi how r u",
|
||||||
# "Aeturnum",
|
|
||||||
# "Naked Knights",
|
|
||||||
# "MadsenHouse",
|
|
||||||
# "Safety Zone",
|
|
||||||
# "R3 Server",
|
|
||||||
# "Thieve's Den MC",
|
|
||||||
# "Thieve's Den",
|
|
||||||
# ]:
|
# ]:
|
||||||
# await server.leave()
|
# await server.leave()
|
||||||
# print("Left %s" % server.name)
|
# print("Left %s" % server.name)
|
||||||
@ -184,7 +177,7 @@ async def on_message(ctx):
|
|||||||
"model": llm_rules["model"],
|
"model": llm_rules["model"],
|
||||||
"stream": False,
|
"stream": False,
|
||||||
"max_tokens": 4096,
|
"max_tokens": 4096,
|
||||||
"stop": ["hello"],
|
"stop": llm_rules["stop_tokens"],
|
||||||
"frequency_penalty": 0,
|
"frequency_penalty": 0,
|
||||||
"presence_penalty": 0,
|
"presence_penalty": 0,
|
||||||
"temperature": 0.7,
|
"temperature": 0.7,
|
||||||
|
@ -110,13 +110,26 @@ convenience_store_items = [
|
|||||||
"Twizzlers, Red Licorice",
|
"Twizzlers, Red Licorice",
|
||||||
]
|
]
|
||||||
wild_cards = [
|
wild_cards = [
|
||||||
"whatever coins you have in your pocket",
|
"5 Grapes",
|
||||||
"some of these Paper Clips",
|
"a half eatn Apple",
|
||||||
"A whole jar of mustard",
|
"a leftover Chicken Breast",
|
||||||
"Susan B. Anthony's pubic hair",
|
|
||||||
"Seventeen tortillas",
|
|
||||||
"Your ring",
|
|
||||||
"A spoonful of Mayonaise",
|
"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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user