Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

adriansanz
/
SITGES-aina4_v2

Sentence Similarity
sentence-transformers
Safetensors
Catalan
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:4173
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use adriansanz/SITGES-aina4_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use adriansanz/SITGES-aina4_v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("adriansanz/SITGES-aina4_v2")
    
    sentences = [
        "Queixa: Deixar constància de la vostra disconformitat per un mal servei (un tracte inapropiat, un temps d'espera excessiu, etc.), sense demanar cap indemnització.",
        "Quin és el format de sortida del tràmit de baixa de la llicència de gual?",
        "Quin és el tipus de venda que es realitza en els mercats setmanals?",
        "Quin és el paper de la queixa en la resolució de conflictes?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
SITGES-aina4_v2
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
adriansanz's picture
adriansanz
Add new SentenceTransformer model.
fe6dba7 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. almost 2 years ago
  • README.md
    29 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    778 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    1.11 GB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.34 kB
    Add new SentenceTransformer model. almost 2 years ago