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_2

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_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use csanz91/lampistero_rag_embeddings_2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("csanz91/lampistero_rag_embeddings_2", trust_remote_code=True)
    
    sentences = [
        "¿Qué característica especial tenía la escultura del 'Torico' creada por Pedro Blesa?",
        "Después de dorar el conejo en la receta de Conejo escabechado, en la misma sartén se rehogan los ajos, con el laurel y la pimienta.\n",
        "Rafael Barcelón se encargaba del servicio de electricidad en Valdeconejos en 1951.",
        "La escultura del 'Torico' creada por Pedro Blesa era un anaglifo, visible en 3D con gafas especiales."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
lampistero_rag_embeddings_2
1.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
csanz91's picture
csanz91
Add new SentenceTransformer model
8d8df3e 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
    35.6 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