Downloads · 30 days
125
93% of all-time downloads
ISLAM-PO/MasryGPT-Flash-Adapter
MasryGPT-Flash-Adapter is a text generation model from ISLAM-PO. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as other.
Try the adapter: Follow TESTING.md and load it on top of the exact base model.
Downloads · 30 days
125
93% of all-time downloads
All-time downloads
135
Public
Repo size
549 MB
Likes
0
Public
Click a slice to open those files.
.safetensors9.4 MB · 60%
From the Hugging Face model README
Try the adapter: Follow
TESTING.mdand load it on top of the exact base model.
Evaluation status: See
EVALUATION.mdfor the adapter smoke-test plan and reproducibility limits.
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
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.LICENSE — the AraGPT2 license notice.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)
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.
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.