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

LLMXperts
/
GATE-AraBert-v1

Sentence Similarity
sentence-transformers
Safetensors
Transformers
Arabic
bert
feature-extraction
mteb
Generated from Trainer
dataset_size:947818
loss:SoftmaxLoss
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use LLMXperts/GATE-AraBert-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LLMXperts/GATE-AraBert-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LLMXperts/GATE-AraBert-v1")
    
    sentences = [
        "امرأة تكتب شيئاً",
        "مراهق يتحدث إلى فتاة عبر كاميرا الإنترنت",
        "امرأة تقطع البصل الأخضر.",
        "مجموعة من كبار السن يتظاهرون حول طاولة الطعام."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use LLMXperts/GATE-AraBert-v1 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("LLMXperts/GATE-AraBert-v1")
    model = AutoModel.from_pretrained("LLMXperts/GATE-AraBert-v1")
  • Notebooks
  • Google Colab
  • Kaggle
GATE-AraBert-v1
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
LLMXperts's picture
LLMXperts
Update README.md
b24be63 verified about 1 year ago
  • 1_Pooling
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    4.35 kB
    Update README.md about 1 year ago
  • config.json
    666 Bytes
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • model.safetensors
    541 MB
    xet
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • modules.json
    229 Bytes
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • tokenizer.json
    1.78 MB
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • tokenizer_config.json
    2.02 kB
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago
  • vocab.txt
    761 kB
    Transferred from Omartificial-Intelligence-Space/GATE-AraBert-v1 about 1 year ago