Instructions to use minishlab/potion-base-8M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use minishlab/potion-base-8M with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("minishlab/potion-base-8M") - sentence-transformers
How to use minishlab/potion-base-8M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("minishlab/potion-base-8M") 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 model.onnx
Browse files- onnx/model.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da4c828fe012ec97f053278f363645b52c3815ec9a1d13d695ac901398c10f2e
|
| 3 |
+
size 30240854
|