finetune_engine = SentenceTransformersFinetuneEngine( train_dataset, model_id="BAAI/bge-small-en", model_output_path="test_model", # This should be the place where your model should be stored val_dataset=val_dataset, )
service_context = ServiceContext.from_defaults(embed_model="local:YOUR_MODEL_NAME,llm=llm)