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

kevinkrahn
/
shlm-grc-en

Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
Ancient Greek (to 1453)
hlm
feature-extraction
semantic-search
character-transformer
hierarchical-transformer
custom_code
Model card Files Files and versions
xet
Community

Instructions to use kevinkrahn/shlm-grc-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use kevinkrahn/shlm-grc-en with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("kevinkrahn/shlm-grc-en", trust_remote_code=True)
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use kevinkrahn/shlm-grc-en with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("kevinkrahn/shlm-grc-en", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
shlm-grc-en
379 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
kevinkrahn's picture
kevinkrahn
Add license
bfc43f7 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    4.62 kB
    Add license over 1 year ago
  • config.json
    735 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • config_sentence_transformers.json
    176 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • configuration_hlm.py
    1.87 kB
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    379 MB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • modeling_hlm.py
    27.8 kB
    Add new SentenceTransformer model. over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    970 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenization_hlm.py
    30.1 kB
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer_config.json
    1.2 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.json
    9.94 kB
    Add new SentenceTransformer model. about 2 years ago