Downloads · 30 days
69
53% of all-time downloads
mgbam/gaialab-naija-adapter-v0.1
gaialab-naija-adapter-v0.1 is a text generation model from mgbam. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
GaiaLab Naija Adapter v0.1 is an experimental LoRA adapter trained on Qwen/Qwen2.5-0.5B-Instruct.
Downloads · 30 days
69
53% of all-time downloads
All-time downloads
131
Public
Repo size
20.1 MB
Likes
0
Public
Click a slice to open those files.
.json11.4 MB · 57%
From the Hugging Face model README
GaiaLab Naija Adapter v0.1 is an experimental LoRA adapter trained on
Qwen/Qwen2.5-0.5B-Instruct.
It explores Nigerian small-business communication, business writing, Nigerian English, and Nigerian Pidgin.
The adapter is designed for research and experimentation involving:
The dataset includes:
Qwen/Qwen2.5-0.5B-Instruct2.3422.106These results confirm that the adapter-training pipeline completed successfully. They do not prove that the adapter is more accurate than the base model across all tasks.
Initial testing showed mixed results:
This release should therefore be treated as a research prototype.
The model may:
Human review is required before real-world use.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_id = "Qwen/Qwen2.5-0.5B-Instruct"
adapter_id = "mgbam/gaialab-naija-adapter-v0.1"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
dtype=torch.float16,
device_map="auto"
)
model = PeftModel.from_pretrained(
base_model,
adapter_id
)
model.eval()
Load the tokenizer from the base model because it contains the correct
Qwen chat template.
Model repository
Hugging Face:
mgbam/gaialab-naija-adapter-v0.1
Source code
GitHub:
oluwafemidiakhoa/gaialab-naija-assistant
Disclaimer
This is an experimental research release. Generated responses should be
reviewed before use in business, legal, financial, tax, medical, or
regulatory contexts.