Make the model less overfitting. Make it harder for an event to be classed as "perfect"
This commit is contained in:
@@ -9,8 +9,8 @@ export const robertaMetrics: GraphNode<typeof MessagesState> = async (state) =>
|
||||
const result = await evaluateWithRoberta({answer})
|
||||
|
||||
let score = 0;
|
||||
if (result.validProb > result.invalidProb) {
|
||||
score = 0.7 + ((result.validProb - result.invalidProb)*0.3);
|
||||
if (result.validProb > (result.invalidProb+0.4)) {
|
||||
score = 0.7 + ((result.validProb - (result.invalidProb+0.4))*0.3);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user