fine-tune RuntimeError: expected dtype Float but got dtype Long · Issue #322 · huggingface/sentence-transformers

When fine-tune on my own data, error happen when run model.fit Traceback (most recent call last): File "fine_tune_sbert.py", line 109, in <module> output_path=model_save_path) File "/opt/conda/lib/...</module>