MinishLab / model2vec

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

fix: don't rely on reported vocab size, log warning if inconsistent #109

Closed stephantul closed 3 weeks ago

stephantul commented 3 weeks ago

fixes #108

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
model2vec/distill/inference.py 75.00% 1 Missing :warning:
Files with missing lines Coverage Δ
model2vec/distill/inference.py 93.84% <75.00%> (-1.32%) :arrow_down:
stephantul commented 3 weeks ago

I think we can disregard the codecov warning. It's just a logging message, hard to simulate.