Can Llama-3 + Groq beat humans at the Wikitrivia game?

Опубликовано: 02 Ноябрь 2024
на канале: Sam
385
14

https://wikitrivia.tomjwatson.com/

Thanks to Thomas James Watson for creating and open sourcing WikiTrivia! The original code is here:

https://github.com/tom-james-watson/w...

My AI fork is here:

https://github.com/SamPatt/wikitrivia...

The prompt I use:

`You are playing a historical trivia game. Your task is to determine the year when this ocurred:
"${nextEvent}: ${nextCardLabel}", described as "${nextCardDescription}". Please predict two possible years for when this event could have occurred, providing a brief explanation for each guess. Your explanation should begin with whether this event ocurred BCE or CE, then fill in the yearGuess field with a corresponding integer value. If the year is after 0 (AD or CE) respond with a single positive integer (examples: 14, 570, 1969). If the year is before 0 (BC or BCE) respond with a single negative integer, and do not include commas in the years (examples: -15000, -1350, -460). Conclude by selecting the year you believe is most accurate from your guesses. Do not include any additional text or comments in your response, respond solely with valid JSON - including a closing bracket - in the following JSON format, filling in the final "year" field with your best guess:
{
"guesses": [
{"explanation": , "yearOneGuess":},
{"explanation": , "yearTwoGuess":}
],
"year":"
}`