Run this model with HF Jobs

Run ISLAM-PO/MasryGPT-Flash-Adapter on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/ISLAM-PO/MasryGPT-Flash-Adapter. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ISLAM-PO/MasryGPT-Flash-Adapter on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ISLAM-PO/MasryGPT-Flash-Adapter. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ISLAM-PO/MasryGPT-Flash-Adapter. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

MasryGPT Flash β€” LoRA Adapter

Try the adapter: Follow TESTING.md and load it on top of the exact base model.

Evaluation status: See EVALUATION.md for the adapter smoke-test plan and reproducibility limits.

Overview

This repository contains a LoRA/PEFT adapter for Arabic text generation. It is not a standalone checkpoint: the adapter is applied on top of the verified base model:

aubmindlab/aragpt2-base

Repository contents

  • adapter_config.json β€” PEFT configuration; base model is now correctly set.
  • adapter_model.safetensors β€” LoRA adapter weights.
  • config.json β€” architecture metadata copied from the base model for reference.
  • Tokenizer and chat-template files.
  • LICENSE β€” the AraGPT2 license notice.

Load the adapter

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base_id = "aubmindlab/aragpt2-base"
adapter_id = "ISLAM-PO/MasryGPT-Flash-Adapter"

base = AutoModelForCausalLM.from_pretrained(base_id)
model = PeftModel.from_pretrained(base, adapter_id)
tokenizer = AutoTokenizer.from_pretrained(adapter_id)

Important

Do not load this repository as a standalone AutoModelForCausalLM; the base-model weights are intentionally stored in the base-model repository. The adapter must be compatible with the exact tokenizer and architecture of aubmindlab/aragpt2-base.

License

The adapter is distributed under the AraGPT2 license reproduced in LICENSE. Review the base-model and training-data terms before redistribution or commercial use.


Metadata corrected to match the actual repository contents.

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for ISLAM-PO/MasryGPT-Flash-Adapter

Adapter
(3)
this model

Spaces using ISLAM-PO/MasryGPT-Flash-Adapter 2