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

ilivieris
/
Raptarchis

Sentence Similarity
sentence-transformers
PyTorch
Greek
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • sentence-transformers

    How to use ilivieris/Raptarchis with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ilivieris/Raptarchis")
    
    sentences = [
        "Κύρωση της Συνθήκης επί των συμβατικών δυνάμεων στην Ευρώπη.",
        "Κύρωση του τελικού κειμένου της Έκτακτης Διάσκεψηςτων Χωρών που μετέχουν στη Συνθήκη για τις Συμβατικές Ένοπλες Δυνάμεις στην Ευρώπη.",
        "Κύρωση της Συνθήκης επί των συμβατικών δυνάμεων στην Ευρώπη μετά των συνημμένων σ` αυτήν ( 8 ) Πρωτοκόλλων και προσαρτημάτων αυτής.",
        "Η διαδικασία ολοκληρώνεται με την υπογραφή και την κύρωση της συνθήκης ένταξης, μόνο εφόσον όλα τα μέρη είναι ικανοποιημένα."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Raptarchis
454 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
livieris's picture
livieris
Update README.md
4a3114d almost 3 years ago
  • 1_Pooling
    Upload with huggingface_hub almost 3 years ago
  • 2_Dense
    Upload with huggingface_hub almost 3 years ago
  • eval
    Upload with huggingface_hub almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    3.69 kB
    Update README.md almost 3 years ago
  • config.json
    648 Bytes
    Update config.json almost 3 years ago
  • config_sentence_transformers.json
    117 Bytes
    Upload with huggingface_hub almost 3 years ago
  • modules.json
    341 Bytes
    Upload with huggingface_hub almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    452 MB
    xet
    Upload with huggingface_hub almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload with huggingface_hub almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload with huggingface_hub almost 3 years ago
  • tokenizer.json
    1.08 MB
    Upload with huggingface_hub almost 3 years ago
  • tokenizer_config.json
    540 Bytes
    Update tokenizer_config.json almost 3 years ago
  • vocab.txt
    530 kB
    Upload with huggingface_hub almost 3 years ago