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

csanz91
/
lampistero_rag_embeddings

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

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

  • Libraries
  • sentence-transformers

    How to use csanz91/lampistero_rag_embeddings with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("csanz91/lampistero_rag_embeddings", trust_remote_code=True)
    
    sentences = [
        "Describe la tradición del 'rosario de candiles' en el contexto de la minería.",
        "Un mechazo es la combustión de la mecha sin que se llegue a inflamar el barreno.",
        "La siega tradicional en Escucha comenzaba antes de San Juan con las cebadas.",
        "El 'rosario de candiles' es una tradición religiosa celebrada en la festividad de San Juan, en la que los mineros escuchan y acompañan con sus candiles de carburo, rezando a dos coros y cantando en parte."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
lampistero_rag_embeddings
1.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
csanz91's picture
csanz91
Add new SentenceTransformer model
f9489e0 verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model about 1 year ago
  • README.md
    36.3 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.86 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    429 Bytes
    Add new SentenceTransformer model about 1 year ago
  • custom_st.py
    8.78 kB
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    1.14 GB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    390 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.18 kB
    Add new SentenceTransformer model about 1 year ago