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

davidmsmiley
/
MiqraBERT

Sentence Similarity
sentence-transformers
Safetensors
Hebrew
bert
biblical-hebrew
digital-humanities
inner-biblical-parallels
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use davidmsmiley/MiqraBERT with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("davidmsmiley/MiqraBERT")
    
    sentences = [
        "וַיַּעַשׂ הַיָּשָׁר בְּעֵינֵי יְהוָה כְּכֹל אֲשֶׁר־עָשָׂה עֻזִּיָּהוּ אָבִיו רַק לֹא־בָא אֶל־הֵיכַל יְהוָה וְעוֺד הָעָם מַשְׁחִיתִים",
        "וַיַּעַשׂ הַיָּשָׁר בְּעֵינֵי יְהוָה כְּכֹל אֲשֶׁר־עָשָׂה עֻזִיָּהוּ אָבִיו עָשָׂה",
        "וְהִנֵּה שֶׁבַע שִׁבֳּלִים צְנֻמוֺת דַּקּוֺת שְׁדֻפוֺת קָדִים צֹמְחוֺת אַחֲרֵיהֶם",
        "יִשָּׁעֵן עַל־בֵּיתוֺ וְלֹא יַעֲמֹד יַחֲזִיק בּוֺ וְלֹא יָקוּם"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MiqraBERT
506 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
davidmsmiley's picture
davidmsmiley
Update README.md
8311812 verified 11 days ago
  • 1_Pooling
    Create 1_Pooling/config.json 11 days ago
  • .gitattributes
    1.52 kB
    initial commit 11 days ago
  • README.md
    9.5 kB
    Update README.md 11 days ago
  • config.json
    612 Bytes
    Upload 10 files 11 days ago
  • config_sentence_transformers.json
    283 Bytes
    Upload 10 files 11 days ago
  • model.safetensors
    504 MB
    xet
    Upload 10 files 11 days ago
  • modules.json
    229 Bytes
    Upload 10 files 11 days ago
  • sentence_bert_config.json
    57 Bytes
    Upload 10 files 11 days ago
  • special_tokens_map.json
    695 Bytes
    Upload 10 files 11 days ago
  • tokenizer.json
    1.37 MB
    Upload 10 files 11 days ago
  • tokenizer_config.json
    1.47 kB
    Upload 10 files 11 days ago
  • vocab.txt
    545 kB
    Upload 10 files 11 days ago