mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-06 11:52:57 +00:00
ruff
This commit is contained in:
@@ -214,7 +214,7 @@ class SentenceTransformersTuner(BaseEmbeddingTuner):
|
|||||||
def helper(self) -> None:
|
def helper(self) -> None:
|
||||||
"""A helper method."""
|
"""A helper method."""
|
||||||
logging.info("Finetuning complete.")
|
logging.info("Finetuning complete.")
|
||||||
logging.info(f"Model saved to {self.path}.")
|
logging.info(f"Model saved to {self.path}.") # noqa
|
||||||
logging.info("You can now use the model as follows:")
|
logging.info("You can now use the model as follows:")
|
||||||
logging.info(
|
logging.info(
|
||||||
f"model = get_registry().get('sentence-transformers').create(name='./{self.path}')" # noqa
|
f"model = get_registry().get('sentence-transformers').create(name='./{self.path}')" # noqa
|
||||||
|
|||||||
@@ -42,4 +42,4 @@ def test_finetuning_sentence_transformers(tmp_path):
|
|||||||
|
|
||||||
def test_text_chunk():
|
def test_text_chunk():
|
||||||
# TODO
|
# TODO
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user