Downloads · 30 days
13
39% of all-time downloads
Ephraimmm/Qween_lora_weights
Qween_lora_weights is a text generation model from Ephraimmm. 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.
This repository contains a LoRA (Low-Rank Adaptation) adapter for the Qwen3-14B causal language model, fine-tuned by Ephraimmm on a dataset of 10,000+ examples of Nigerian/West African Pidgin English. The adapter was…
Downloads · 30 days
13
39% of all-time downloads
All-time downloads
33
Public
Repo size
525 MB
Likes
0
Public
Click a slice to open those files.
.safetensors514 MB · 97%
From the Hugging Face model README
This repository contains a LoRA (Low-Rank Adaptation) adapter for the Qwen3-14B causal language model, fine-tuned by Ephraimmm on a dataset of 10,000+ examples of Nigerian/West African Pidgin English. The adapter was trained using Unsloth for accelerated, memory-efficient fine-tuning together with Hugging Face's TRL library. It adapts the base Qwen3 model's conversational ability toward understanding and generating text in Pidgin English.
| Detail | Value |
|---|---|
| Base model | unsloth/qwen3-14b-unsloth-bnb-4bit (Qwen3-14B, 4-bit quantized) |
| Adapter type | LoRA (PEFT) |
LoRA rank (r) | 32 |
| LoRA alpha | 32 |
| LoRA dropout | 0 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Bias | none |
| Task type | Causal LM |
| Training framework | Unsloth + Hugging Face TRL/PEFT |
| Training data | 10,000+ Pidgin English examples |
Note: exact training step/epoch counts and loss curves are not included in this repository (no trainer_state.json was published), so they are omitted here rather than estimated.
This adapter is intended for:
It is not intended for high-stakes decision-making, medical, legal, or safety-critical applications.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_id = "unsloth/qwen3-14b-unsloth-bnb-4bit"
adapter_id = "Ephraimmm/Qween_lora_weights"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
device_map="auto",
)
model = PeftModel.from_pretrained(base_model, adapter_id)
messages = [{"role": "user", "content": "How you dey today?"}]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
outputs = model.generate(inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Alternatively, load with Unsloth for faster inference:
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="Ephraimmm/Qween_lora_weights",
max_seq_length=4096,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
unsloth/qwen3-14b-unsloth-bnb-4bit weights to run.Developed by Ephraimmm.