Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ancc
/
Velvet-2B-Embedding-1004

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
Model card Files Files and versions
xet
Community

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
Velvet-2B-Embedding-1004
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ancc's picture
ancc
Add new SentenceTransformer model
36d86fc verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    43.1 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    608 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    3.93 GB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    55 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    552 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    9.36 MB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    96.5 kB
    Add new SentenceTransformer model about 1 year ago