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

Omartificial-Intelligence-Space
/
GATE-AraBert-v1

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

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

  • Libraries
  • sentence-transformers

    How to use Omartificial-Intelligence-Space/GATE-AraBert-v1 with sentence-transformers:

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

    How to use Omartificial-Intelligence-Space/GATE-AraBert-v1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Omartificial-Intelligence-Space/GATE-AraBert-v1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Omartificial-Intelligence-Space/GATE-AraBert-v1")
    model = AutoModel.from_pretrained("Omartificial-Intelligence-Space/GATE-AraBert-v1", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
GATE-AraBert-v1
543 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 23 commits
Omartificial-Intelligence-Space's picture
Omartificial-Intelligence-Space
Update README.md
c412cd4 verified 11 months ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    8.66 kB
    Update README.md 11 months ago
  • config.json
    666 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    541 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    1.78 MB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    2.02 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    761 kB
    Add new SentenceTransformer model. almost 2 years ago