Instructions to use sky-2002/novasearch-stella-400M-distilled-256-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use sky-2002/novasearch-stella-400M-distilled-256-v0 with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("sky-2002/novasearch-stella-400M-distilled-256-v0") - sentence-transformers
How to use sky-2002/novasearch-stella-400M-distilled-256-v0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sky-2002/novasearch-stella-400M-distilled-256-v0") 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
File size: 259 Bytes
43c2280 | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"model_type": "model2vec",
"architectures": [
"StaticModel"
],
"tokenizer_name": "NovaSearch/stella_en_400M_v5",
"apply_pca": 256,
"apply_zipf": true,
"hidden_dim": 256,
"seq_length": 1000000,
"normalize": false
} |