MinishLab / model2vec

Distill a Small Static Model from any Sentence Transformer
https://minishlab.github.io/
MIT License
413 stars 18 forks source link

feat: local loading #88

Closed stephantul closed 1 month ago

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 97.61905% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
model2vec/model.py 90.90% 1 Missing :warning:
model2vec/utils.py 95.65% 1 Missing :warning:
Files with missing lines Coverage Δ
model2vec/hf_utils.py 61.79% <100.00%> (+0.25%) :arrow_up:
tests/test_model.py 100.00% <100.00%> (ø)
tests/test_utils.py 100.00% <100.00%> (ø)
model2vec/model.py 96.63% <90.90%> (+0.27%) :arrow_up:
model2vec/utils.py 95.65% <95.65%> (+2.79%) :arrow_up: