We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58e75b commit 12e6351Copy full SHA for 12e6351
opensearch_py_ml/ml_models/sentencetransformermodel.py
@@ -421,7 +421,7 @@ def train_model(
421
if model_id is None:
422
model_id = self.model_id
423
if output_model_name is None:
424
- output_model_name = str(self.model_id.split("/")[-1] + ".pt")
+ output_model_name = str(model_id.split("/")[-1] + ".pt")
425
426
# declare variables before assignment for training
427
corp_len = []
0 commit comments