Skip to content

Commit 3014cf5

Browse files
committed
lint error correction
1 parent c21d55b commit 3014cf5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cli/src/evaluate_finetuned_gpt2.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,13 @@ async function benchmarkQA(
144144
D: { A: 0, B: 0, C: 0, D: 0 }
145145
};
146146

147-
const logs: any[] = [];
147+
type PredictionLog = {
148+
predicted: string;
149+
answer: string;
150+
correct: boolean;
151+
};
152+
153+
const logs: PredictionLog[] = [];
148154

149155
const start = Date.now();
150156

0 commit comments

Comments
 (0)