Skip to content

Commit

Permalink
added finetune_embeddings_tests to main for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
henri123lemoine committed Aug 16, 2023
1 parent 7bd986a commit 877bcfe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ def pinecone_update_all(self, *skip) -> None:
names = [name for name in ALL_DATASETS if name not in skip]
PineconeUpdater().update(names)

def finetune_embeddings_tests(self) -> None:
"""
This function tests the finetune_embeddings function
"""
from align_data.finetuning.finetune_model import finetune_embeddings

finetune_embeddings()


if __name__ == "__main__":
fire.Fire(AlignmentDataset)

0 comments on commit 877bcfe

Please sign in to comment.