Sentence Similarity
sentence-transformers
Safetensors
Italian
mistral
feature-extraction
Generated from Trainer
dataset_size:319227
loss:MatryoshkaLoss
loss:CachedMultipleNegativesRankingLoss
dataset_size:733474
text-embeddings-inference
Run this model with HF Jobs
Run ancc/Velvet-2B-Embedding-1004 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ancc/Velvet-2B-Embedding-1004. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ancc/Velvet-2B-Embedding-1004 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ancc/Velvet-2B-Embedding-1004 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ancc/Velvet-2B-Embedding-1004 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ancc/Velvet-2B-Embedding-1004") sentences = [ "Jovanotti torna con Fuorionda : ma come fa a inventarsene sempre una?", "Migros Ticino: «Non vediamo segni di ripresa, ma puntiamo su investimenti e nuove aperture", "Jovanotti canta i “Fuorionda” della vita: “Andiamo avanti, siamo sempre all’inizio di qualcosa”", "WTA Indian Wells, Swiatek: \"Ci sono vari modi di sfruttare il vento\"" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!