cpcdoy / rust-sbert

Rust port of sentence-transformers (https://github.com/UKPLab/sentence-transformers)
Apache License 2.0
106 stars 12 forks source link

Added properly working Github Action #29

Open Hukasx0 opened 1 year ago

cpcdoy commented 1 year ago

Thank you for the contribution, wanted to get back to setting this up but didn't get any time recently!

cpcdoy commented 1 year ago

Ideally, we'd want the CI to download the models in a models directory and run cargo test

Hukasx0 commented 1 year ago

Ideally, we'd want the CI to download the models in a models directory and run cargo test

I didn't really know how to do it (where to get these models). I did as much as I could. If you want, you can modify the code so that the tests are performed correctly, or you can provide more information and I can try to fix it somehow.

cpcdoy commented 1 year ago

I won't have much time on my end to work on this for at least a few days or a week, but if you want to get this done before, there are instructions in the README on how to download the models and on running the conversion script. There is also a Docker image that shows how to convert the models. Thanks again for your contribution!