πFinetune Embeddings
Step 1 : Importing Modules
from beyondllm.llms import GeminiModel
from beyondllm.embeddings import FineTuneEmbeddings
# Initializing llm
llm = llms.GeminiModel()
# calling the finetuning engine
fine_tuned_model = FineTuneEmbeddings()Step 2 : Data to FineTune
list_of_files = ['your-file-here-1', 'your-file-here-2']Step 3 : Training the Model
(Optional) Step 4 : Loading the model
Step 5 : Voila, Use your embedding model
Last updated