I don’t understand Jev or this. I used this since it’s open source (good job btw!) with the following. State: “a 6 sided die rolled a 3”, question (noul): “Is the number odd?”
Answer: 9% chance, with 91% confidence.
Heh???
Ok, even worse. 75% chance a coin landed heads up?
State: I flipped a coin.
Question:
{
"noul_result": {
"type": "noul",
"instructions": "Did the coin land heads up?"
},
"choice_result": {
"type": "choice",
"instructions": "Determine if the coin landed heads or tails up.",
"criteria": {
"heads": "the coin landed heads up",
"tails": "the coin landed tails up"
}
}
}
Ran on: https://huggingface.co/spaces/convaiinnovations/laya-demo
Result:
{
"model": "laya",
"answers": {
"noul_result": {
"type": "noul",
"noul": 0.6839,
"rl_agent": {
"act_probability": 1.0
}
},
"choice_result": {
"type": "choice",
"choice": "heads",
"probabilities": {
"heads": 0.7407,
"tails": 0.2593
},
"confidence": 0.1743,
"rl_agent": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 76,
"output_tokens": 0
},
"latency_ms": 93.8
}
Trying to be even more good-faith:
State: "A fair coin was flipped once. The result was not observed.
No other information about the outcome is available."
Questions:
{
"noul_result": {
"type": "noul",
"instructions": "Given only the supplied state, what is the probability that the coin landed heads up?"
},
"choice_result": {
"type": "choice",
"instructions": "Given only the supplied state, determine which outcome occurred.",
"criteria": {
"heads": "the coin landed heads up",
"tails": "the coin landed tails up"
}
}
}
Result:
{
"model": "laya",
"answers": {
"noul_result": {
"type": "noul",
"noul": 0.1265,
"rl_agent": {
"act_probability": 1.0
}
},
"choice_result": {
"type": "choice",
"choice": "tails",
"probabilities": {
"heads": 0.2522,
"tails": 0.7478
},
"confidence": 0.1853,
"rl_agent": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 123,
"output_tokens": 0
},
"latency_ms": 154.5
}
Answer: 9% chance, with 91% confidence.
Heh???
Ok, even worse. 75% chance a coin landed heads up?
State: I flipped a coin. Question:
{ "noul_result": { "type": "noul", "instructions": "Did the coin land heads up?" }, "choice_result": { "type": "choice", "instructions": "Determine if the coin landed heads or tails up.", "criteria": { "heads": "the coin landed heads up", "tails": "the coin landed tails up" } } }
Ran on: https://huggingface.co/spaces/convaiinnovations/laya-demo
Result: { "model": "laya", "answers": { "noul_result": { "type": "noul", "noul": 0.6839, "rl_agent": { "act_probability": 1.0 } }, "choice_result": { "type": "choice", "choice": "heads", "probabilities": { "heads": 0.7407, "tails": 0.2593 }, "confidence": 0.1743, "rl_agent": { "act_probability": 1.0 } } }, "usage": { "input_tokens": 76, "output_tokens": 0 }, "latency_ms": 93.8 }
Trying to be even more good-faith:
State: "A fair coin was flipped once. The result was not observed. No other information about the outcome is available."
Questions: { "noul_result": { "type": "noul", "instructions": "Given only the supplied state, what is the probability that the coin landed heads up?" }, "choice_result": { "type": "choice", "instructions": "Given only the supplied state, determine which outcome occurred.", "criteria": { "heads": "the coin landed heads up", "tails": "the coin landed tails up" } } }
Result:
{ "model": "laya", "answers": { "noul_result": { "type": "noul", "noul": 0.1265, "rl_agent": { "act_probability": 1.0 } }, "choice_result": { "type": "choice", "choice": "tails", "probabilities": { "heads": 0.2522, "tails": 0.7478 }, "confidence": 0.1853, "rl_agent": { "act_probability": 1.0 } } }, "usage": { "input_tokens": 123, "output_tokens": 0 }, "latency_ms": 154.5 }