Skip to main content
Version: Next

Type Alias: ColbertEmbedderModel

ColbertEmbedderModel = object

Defined in: extensions/nlp/tasks/colbertEmbedding.ts:68

Model configuration required to instantiate a ColBERT embedder.

Properties​

modelOpts​

readonly modelOpts: ColbertEmbedderOptions

Defined in: extensions/nlp/tasks/colbertEmbedding.ts:74

Tokenization settings of the model. See ColbertEmbedderOptions.


modelPath​

readonly modelPath: ModelSource

Defined in: extensions/nlp/tasks/colbertEmbedding.ts:70

Model source: a local or remote path, program and data paths, or callback loaders.


tokenizerPath​

readonly tokenizerPath: string

Defined in: extensions/nlp/tasks/colbertEmbedding.ts:72

Local path or remote URL of the tokenizer file.