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

Omartificial-Intelligence-Space
/
AraEuroBert-210M

Feature Extraction
sentence-transformers
Safetensors
Arabic
eurobert
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
EuroBert
Arabic
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community
2

Instructions to use Omartificial-Intelligence-Space/AraEuroBert-210M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Omartificial-Intelligence-Space/AraEuroBert-210M with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Omartificial-Intelligence-Space/AraEuroBert-210M", trust_remote_code=True)
    
    sentences = [
        "امرأة شقراء تطل على مشهد (سياتل سبيس نيدل)",
        "رجل يستمتع بمناظر جسر البوابة الذهبية",
        "فتاة بالخارج تلعب في الثلج",
        "شخص ما يأخذ في نظرة إبرة الفضاء."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
AraEuroBert-210M / 1_Pooling
296 Bytes
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Omartificial-Intelligence-Space's picture
Omartificial-Intelligence-Space
upload files
65aa523 verified about 1 year ago
  • config.json
    296 Bytes
    upload files about 1 year ago