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

Khaaaleed5
/
arabert-qa

Question Answering
Transformers
Safetensors
Arabic
bert
arabic
extractive-qa
arabert
Model card Files Files and versions
xet
Community

Instructions to use Khaaaleed5/arabert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Khaaaleed5/arabert-qa with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # pip install "transformers<5.0.0"
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="Khaaaleed5/arabert-qa")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("Khaaaleed5/arabert-qa")
    model = AutoModelForQuestionAnswering.from_pretrained("Khaaaleed5/arabert-qa", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
arabert-qa
540 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
Khaaaleed5's picture
Khaaaleed5
Update README.md
64ba38c verified 17 days ago
  • .gitattributes
    1.52 kB
    initial commit 19 days ago
  • README.md
    3.27 kB
    Update README.md 17 days ago
  • config.json
    686 Bytes
    Training in progress, epoch 1 19 days ago
  • model.safetensors
    538 MB
    xet
    Training in progress, epoch 3 18 days ago
  • tokenizer.json
    1.78 MB
    Upload tokenizer 18 days ago
  • tokenizer_config.json
    480 Bytes
    Upload tokenizer 18 days ago
  • training_args.bin
    5.2 kB
    xet
    Training in progress, epoch 1 19 days ago