MinishLab / model2vec

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

fix: normalize would lead to NaN for empty docs #114

Closed stephantul closed 3 weeks ago

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
model2vec/model.py 96.03% <100.00%> (+0.03%) :arrow_up:
tests/test_model.py 97.50% <100.00%> (+0.13%) :arrow_up: