UKPLab / sentence-transformers

State-of-the-Art Text Embeddings
https://www.sbert.net
Apache License 2.0
15.44k stars 2.5k forks source link

[`tests`] Remove evaluation_steps from model.fit test without evaluator #3037

Closed tomaarsen closed 3 weeks ago

tomaarsen commented 3 weeks ago

Follow-up from #3035

Hello!

Pull Request overview

Details

Using evaluation_steps sets args.eval_strategy, which now throws an error with transformers >=v4.46.0 and #3035 if you don't have an evaluation dataset nor an evaluator.