Class: Informers::EmbeddingPipeline

Inherits:
FeatureExtractionPipeline show all
Defined in:
lib/informers/pipelines.rb

Instance Method Summary collapse

Methods inherited from Pipeline

#initialize

Constructor Details

This class inherits a constructor from Informers::Pipeline

Instance Method Details

#call(texts, pooling: "mean", normalize: true, model_output: nil) ⇒ Object



1043
1044
1045
1046
1047
1048
1049
1050
# File 'lib/informers/pipelines.rb', line 1043

def call(
  texts,
  pooling: "mean",
  normalize: true,
  model_output: nil
)
  super(texts, pooling:, normalize:, model_output:)
end