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
      • Hardware
      • 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: 10 commits
davidmsmiley's picture
davidmsmiley
Update README.md
1ab168a verified 19 days ago
  • 1_Pooling
    Create 1_Pooling/config.json about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    9.12 kB
    Update README.md 19 days ago
  • config.json
    612 Bytes
    Upload 10 files about 2 months ago
  • config_sentence_transformers.json
    283 Bytes
    Upload 10 files about 2 months ago
  • model.safetensors
    504 MB
    xet
    Upload 10 files about 2 months ago
  • modules.json
    229 Bytes
    Upload 10 files about 2 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload 10 files about 2 months ago
  • special_tokens_map.json
    695 Bytes
    Upload 10 files about 2 months ago
  • tokenizer.json
    1.37 MB
    Upload 10 files about 2 months ago
  • tokenizer_config.json
    1.47 kB
    Upload 10 files about 2 months ago
  • vocab.txt
    545 kB
    Upload 10 files about 2 months ago