Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Diaa-Essam
/
AraT5v2_on_QA_dataset_using_LoRA

Question Answering
PEFT
Safetensors
Transformers
Arabic
lora
arabic
qa
seq2seq
text-generation
Model card Files Files and versions
xet
Community

Instructions to use Diaa-Essam/AraT5v2_on_QA_dataset_using_LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Diaa-Essam/AraT5v2_on_QA_dataset_using_LoRA with PEFT:

    Task type is invalid.
  • Transformers

    How to use Diaa-Essam/AraT5v2_on_QA_dataset_using_LoRA 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="Diaa-Essam/AraT5v2_on_QA_dataset_using_LoRA")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Diaa-Essam/AraT5v2_on_QA_dataset_using_LoRA", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
AraT5v2_on_QA_dataset_using_LoRA
172 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
Diaa-Essam's picture
Diaa-Essam
Update README.md
8da68af verified 10 months ago
  • model
    Upload 9 files 10 months ago
  • .gitattributes
    1.58 kB
    Upload 10 files 10 months ago
  • README.md
    12.1 kB
    Update README.md 10 months ago
  • test_predictions.json
    86.2 MB
    xet
    Upload test_predictions.json 10 months ago