Model Database's logo
Join the Model Database community

and get access to the augmented documentation experience

to get started

Interface: TokenClassificationOutputValue

Properties

end

end: number

The offset stringwise where the answer is located. Useful to disambiguate if word occurs multiple times.

Defined in

inference/src/tasks/nlp/tokenClassification.ts:33


entity\_group

entity_group: string

The type for the entity being recognized (model specific).

Defined in

inference/src/tasks/nlp/tokenClassification.ts:37


score

score: number

How likely the entity was recognized.

Defined in

inference/src/tasks/nlp/tokenClassification.ts:41


start

start: number

The offset stringwise where the answer is located. Useful to disambiguate if word occurs multiple times.

Defined in

inference/src/tasks/nlp/tokenClassification.ts:45


word

word: string

The string that was captured

Defined in

inference/src/tasks/nlp/tokenClassification.ts:49