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_robertav1

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:512
loss:TripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use adriansanz/SITGES_robertav1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("adriansanz/SITGES_robertav1")
    
    sentences = [
        "Quin és el requisit per a la potència instal·lada de les instal·lacions de plaques solars en sòl urbà?",
        "Permet comunicar les intervencions necessàries per executar una instal·lació/remodelació d’autoconsum amb energia solar fotovoltaica amb una potència instal·lada inferior a 100 kWp en sòl urbà consolidat.",
        "Inferior a 100 kWp.",
        "Aquesta bonificació tindrà caràcter pregat i s’aplicarà a la quota total si la resolució de la sol•licitud es realitza abans de la liquidació, en cas contrari es gestionarà la devolució de l’import pagat i bonificat."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
SITGES_robertav1
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
adriansanz's picture
adriansanz
Add new SentenceTransformer model.
7ea0d53 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    15.6 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    764 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • merges.txt
    509 kB
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    499 MB
    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
  • special_tokens_map.json
    957 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    2.21 MB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.23 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.json
    851 kB
    Add new SentenceTransformer model. almost 2 years ago