Open imrankh46 opened 3 months ago
Hello!
Apologies for the delay, I've been recovering from a surgery this last month.
I'm not very familiar with Deepspeed, I've only used it a couple of times myself. Could you share some information about what goes wrong? Also, your last snippet shows that you're using Trainer
rather than SentenceTransformerTrainer
, perhaps that's an issue?
@tomaarsen hello tom. I hope you will good.
I am trying to add deepspeed in sentence transformer training argument via deepspeed= "deepspeed_config.json" and also try with accelerate config but it's not working.
Here is the example of my config.
Here is training arg ie
You can check the source https://huggingface.co/docs/transformers/v4.26.1/en/main_classes/deepspeed