Anush008 / fastembed-rs

Library for generating vector embeddings, reranking in Rust
https://docs.rs/fastembed
Apache License 2.0
264 stars 36 forks source link

Singular test takes too long #13

Closed angelofallars closed 8 months ago

angelofallars commented 9 months ago

The singular test of the library takes around 5 minutes to run, which is too long for a unit test.

Suggestion: Split the unit test into 7 unit tests for each test in the models_and_expected_values vector.

I can code in this change.

Anush008 commented 9 months ago

When waiting for https://github.com/Anush008/fastembed-rs/actions/runs/7451787665, realized how awfully long it is. Yes, splitting them will definitely help.

Anush008 commented 8 months ago

Removed the larger models from the tests.