Downloads · 30 days
0
KartikMehra/qwen-personality-lora
qwen-personality-lora is a machine learning model from KartikMehra. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a parameter-efficient adaptation of Qwen2.5-1.5B-Instruct, fine-tuned to demonstrate controllable personality-aware instructional behavior.
Downloads · 30 days
0
Access
Public
Updated Feb 24, 2026
Repo size
17.4 MB
Likes
0
Public
Click a slice to open those files.
.json11.4 MB · 66%
From the Hugging Face model README
This repository contains a parameter-efficient adaptation of Qwen2.5-1.5B-Instruct, fine-tuned to demonstrate controllable personality-aware instructional behavior.
The model has been adapted using LoRA (Low-Rank Adaptation) to condition response tone based on explicitly specified personality traits while preserving factual consistency and technical clarity.
The objective of this project is to explore lightweight behavioral steering in large language models using synthetic supervision.
Only a small fraction of parameters (~0.0965%) were updated, making the training process computationally efficient and suitable for limited hardware environments.
The primary goals of this fine-tuning process were to:
Rather than modifying core model knowledge, the training focused on adjusting stylistic and structural response tendencies.
The dataset includes synthetic instruction-response pairs categorized across four behavioral profiles:
Each prompt explicitly includes a personality directive such as:
"You are a teacher with personality trait: [Trait Name]"
This explicit conditioning enables controlled variation in tone, structure, and delivery style.
LoRA adapters were applied to selected attention projection modules:
q_projk_projv_projThese layers were targeted because attention projections strongly influence contextual emphasis and response formulation, making them suitable for stylistic adaptation.
The setup ensured efficient resource utilization while maintaining stable convergence.
instructioninputoutputThe synthetic design ensures controlled exposure to personality-driven tone modulation across consistent technical contexts.
The steady reduction in loss indicates successful adaptation of the LoRA layers without destabilizing the base model.
Evaluation was conducted qualitatively by prompting identical technical queries under different personality instructions.
Compared to the base model’s neutral output, the fine-tuned version shows measurable stylistic divergence aligned with the requested trait.
This model is designed for:
This is a research prototype and not intended for production deployment.
If referencing this work, please acknowledge:
Kartik Mehra
Agentic AI – Assignment 2