You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# model2vec-rs
2
2
3
-
This crate provides a lightweight Rust implementation for loading and running inference on Model2Vec static embedding models (including quantized formats: float32, float16, int8) from either local folders or the Hugging Face Hub.
3
+
This crate provides a lightweight Rust implementation for loading and running inference on [Model2Vec](https://github.com/MinishLab/model2vec) static embedding models from either local folders or the Hugging Face Hub.
4
4
5
5
## Quick Start
6
6
@@ -18,10 +18,11 @@ Make embeddings:
18
18
19
19
```rust
20
20
useanyhow::Result;
21
-
usemodel2vec_rust::inference::StaticModel;
21
+
usemodel2vec_rs::model::StaticModel;
22
22
23
23
fnmain() ->Result<()> {
24
24
// Load a model from the Hugging Face Hub or a local path
0 commit comments