Model2Vec
ONNX
Safetensors
sentence-transformers
embeddings
static-embeddings
mteb
Eval Results (legacy)
Instructions to use willalexm/potion-base-8M-stf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use willalexm/potion-base-8M-stf with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("willalexm/potion-base-8M-stf") - sentence-transformers
How to use willalexm/potion-base-8M-stf with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("willalexm/potion-base-8M-stf") 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
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"tokenizer_name": "baai/bge-base-en-v1.5", "apply_pca": 256, "apply_zipf": true, "hidden_dim": 256, "seq_length": 1000000, "normalize": true}
|
|
|
|
| 1 |
+
{"model_type": "model2vec", "architectures": ["StaticModel"],"tokenizer_name": "baai/bge-base-en-v1.5", "apply_pca": 256, "apply_zipf": true, "hidden_dim": 256, "seq_length": 1000000, "normalize": true}
|