Instructions to use minishlab/M2V_base_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use minishlab/M2V_base_output with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("minishlab/M2V_base_output") - sentence-transformers
How to use minishlab/M2V_base_output with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("minishlab/M2V_base_output") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Upload ONNX files
#1
by Xenova HF Staff - opened
- onnx/model.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfcd770a2e17870cf3d3fbc6c5a620f15e3f22112a4639bd50196dc0262d8ddf
|
| 3 |
+
size 30240190
|
onnx/model_fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:234063d254fe074a1f00163c64660a1190e8c73d1c44358696811c40571d7e10
|
| 3 |
+
size 15122227
|
onnx/model_int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8207f3edf9d5affaf9669b3b063d3cbee9d263f1a69ca10d1cfec3068a3bee
|
| 3 |
+
size 7563045
|
onnx/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8207f3edf9d5affaf9669b3b063d3cbee9d263f1a69ca10d1cfec3068a3bee
|
| 3 |
+
size 7563045
|
onnx/model_uint8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e679013c18b71d82da0a7eff502d0fd97f4d82d7233c18a164a59de38414af32
|
| 3 |
+
size 7563045
|