SentenceTransformerModel.load_training_data

opensearch_py_ml.ml_models.SentenceTransformerModel.load_training_data(self, query_df) List[List[str]]

Create input data for training the model

Parameters:

query_df (pd.DataFrame) – required for loading training data

Returns:

the list of train examples.

Return type:

list