setfit
setfit copied to clipboard
Use amp / FP16
Hi, since the sentence transformers support FP16 training (by setting use_amp=True)
can this also be build in here?
Not sure if this is a FR or a question. :-)
Should be easy to add it here:
https://github.com/huggingface/setfit/blob/7735e8e3b208edb8dfb549beb16e585453c5f44e/src/setfit/trainer.py#L276
see PR #134
closing this because PR is merged