Margy Final

A LoRA adapter fine-tuned on Qwen2.5-3B-Instruct using the Unsloth framework. This model is designed for conversational text generation and instruction following while remaining lightweight and efficient for local inference.

Model Details

Model Description

Margy Final is a parameter-efficient fine-tuned (PEFT) adapter built on top of Qwen2.5-3B-Instruct. The model was trained using LoRA to improve instruction following and conversational capabilities while keeping the adapter small and easy to deploy.

  • Developed by: Melton Hlungwani
  • Model type: LoRA Adapter (PEFT)
  • Base model: unsloth/Qwen2.5-3B-Instruct-bnb-4bit
  • Language(s): English
  • License: Apache-2.0

Model Sources


Intended Uses

Direct Use

This model is intended for:

  • Conversational AI
  • Instruction following
  • Question answering
  • General-purpose text generation
  • AI assistants
  • Educational and productivity applications

Downstream Use

The adapter can be merged with the base model or loaded using PEFT for deployment in:

  • Chatbots
  • Virtual assistants
  • Customer support systems
  • Research projects
  • Local LLM applications

Out-of-Scope Use

This model is not intended for:

  • Medical diagnosis
  • Legal advice
  • Financial decision making
  • High-risk autonomous systems
  • Generating harmful or malicious content

Bias, Risks, and Limitations

Like all large language models, this adapter may:

  • Produce incorrect or fabricated information.
  • Reflect biases present in the training data.
  • Generate inappropriate responses under certain prompts.

Human review is recommended for critical applications.


Getting Started

Install the required packages:

pip install transformers peft torch

Example usage:

from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel

base_model = "unsloth/Qwen2.5-3B-Instruct-bnb-4bit"
adapter = "melton12/margy-final"

tokenizer = AutoTokenizer.from_pretrained(base_model)

model = AutoModelForCausalLM.from_pretrained(
    base_model,
    device_map="auto"
)

model = PeftModel.from_pretrained(model, adapter)

prompt = "Explain what machine learning is."

inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    max_new_tokens=200
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Training Details

Training Data

The adapter was fine-tuned on instruction-following conversational data using supervised fine-tuning (SFT).

Training Procedure

Training was performed using:

  • Unsloth
  • PEFT
  • LoRA
  • Transformers

Training Regime

  • Mixed precision (BF16)
  • 4-bit quantized base model
  • LoRA fine-tuning

Evaluation

This model has been qualitatively evaluated for conversational text generation and instruction following.

Users are encouraged to benchmark the model on their own downstream tasks.


Technical Specifications

Model Architecture

  • Architecture: Qwen2.5
  • Parameters: 3 Billion (base model)
  • Fine-tuning: LoRA
  • Library: PEFT
  • Quantization: 4-bit (bnb)

Software

  • Transformers
  • PEFT 0.19.1
  • Unsloth
  • PyTorch

Environmental Impact

Training was performed on consumer GPU hardware using parameter-efficient fine-tuning (LoRA), significantly reducing computational requirements compared to full model fine-tuning.


Citation

If you use this model in your research or project, please cite:

@misc{margy-final,
  author = {Melton Hlungwani},
  title = {Margy Final},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/melton12/margy-final}
}

Model Card Author

Melton Hlungwani


Contact

For questions, suggestions, or issues, please use the Hugging Face repository discussion page.

Downloads last month
8
Safetensors
Model size
3B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for melton12/margy-final

Base model

Qwen/Qwen2.5-3B
Adapter
(59)
this model