Files
wehub-resource-sync 925e56bb5f
Unit tests / build (t4_gpu) (push) Has been cancelled
Unit tests / build (ubuntu-latest) (push) Has been cancelled
Unit tests / build (windows-latest) (push) Has been cancelled
Test CLI scripts / build (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:24:56 +08:00

12 lines
321 B
Python

from typing import List
from pydantic import BaseModel
class OCRErrorDetectionResult(BaseModel):
texts: List[str]
labels: List[str]
# P(bad) per text (softmax of the "bad" class). Lets callers gate expensive
# follow-up work on confidence instead of just the argmax label.
scores: List[float] = []