notebooks
notebooks copied to clipboard
training, deploying sentence transformer model ( setfit method) in sagemaker pipeline
error i face while training sentence transformer model using "SetFitTrainer" and importing model with "SetfitModel" throws following error:
Traceback (most recent call last): File "train-setfit.py",
line 81, in
line 5, in
Is it possible to run training job in sagemaker pipeline to train using Setfit method?
Tagging you both here @philschmid @nickprock, as i think both of might have quick feedback for me. Many thanks in advance :)
Hi @miteshkotak , it's hard to tell from this error for me. I used sagemaker library only for deploying from S3 never for train but I think it can be done. Check this notebook in cell 10. I think you need the requirements.txt file to import setfit to do the training of custom models. @philschmid will surely be able to tell you more.