Class: ClipEmbedding
Extends
Constructors
new ClipEmbedding()
new ClipEmbedding():
ClipEmbedding
Returns
Inherited from
MultiModalEmbedding
. constructor
Properties
embedBatchSize
embedBatchSize:
number
=DEFAULT_EMBED_BATCH_SIZE
Inherited from
MultiModalEmbedding
. embedBatchSize
Source
packages/core/src/embeddings/types.ts:13
modelType
modelType:
ClipEmbeddingModelType
=ClipEmbeddingModelType.XENOVA_CLIP_VIT_BASE_PATCH16
Source
packages/core/src/embeddings/ClipEmbedding.ts:30
processor
private
processor:null
|Processor
=null
Source
packages/core/src/embeddings/ClipEmbedding.ts:34
textModel
private
textModel:null
|CLIPTextModelWithProjection
=null
Source
packages/core/src/embeddings/ClipEmbedding.ts:36
tokenizer
private
tokenizer:null
|PreTrainedTokenizer
=null
Source
packages/core/src/embeddings/ClipEmbedding.ts:33
visionModel
private
visionModel:null
|CLIPVisionModelWithProjection
=null
Source
packages/core/src/embeddings/ClipEmbedding.ts:35