mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 07:09:57 +00:00
update
This commit is contained in:
@@ -214,7 +214,7 @@ class SentenceTransformersTuner(BaseEmbeddingTuner):
|
||||
def helper(self) -> None:
|
||||
"""A helper method."""
|
||||
logging.info("Finetuning complete.")
|
||||
logging.info(f"Model saved to {self.path}.") # noqa
|
||||
logging.info(f"Model saved to {self.path}.") # noqa
|
||||
logging.info("You can now use the model as follows:")
|
||||
logging.info(
|
||||
f"model = get_registry().get('sentence-transformers').create(name='./{self.path}')" # noqa
|
||||
|
||||
@@ -354,9 +354,9 @@ class RemoteTable(Table):
|
||||
params["on"] = merge._on[0]
|
||||
params["when_matched_update_all"] = str(merge._when_matched_update_all).lower()
|
||||
if merge._when_matched_update_all_condition is not None:
|
||||
params[
|
||||
"when_matched_update_all_filt"
|
||||
] = merge._when_matched_update_all_condition
|
||||
params["when_matched_update_all_filt"] = (
|
||||
merge._when_matched_update_all_condition
|
||||
)
|
||||
params["when_not_matched_insert_all"] = str(
|
||||
merge._when_not_matched_insert_all
|
||||
).lower()
|
||||
@@ -364,9 +364,9 @@ class RemoteTable(Table):
|
||||
merge._when_not_matched_by_source_delete
|
||||
).lower()
|
||||
if merge._when_not_matched_by_source_condition is not None:
|
||||
params[
|
||||
"when_not_matched_by_source_delete_filt"
|
||||
] = merge._when_not_matched_by_source_condition
|
||||
params["when_not_matched_by_source_delete_filt"] = (
|
||||
merge._when_not_matched_by_source_condition
|
||||
)
|
||||
|
||||
self._conn._client.post(
|
||||
f"/v1/table/{self._name}/merge_insert/",
|
||||
|
||||
Reference in New Issue
Block a user