Downloads · 30 days
0
Charishma047/qwen2.5-3b-interview-feedback-lora
qwen2.5-3b-interview-feedback-lora is a machine learning model from Charishma047. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a LoRA (Low-Rank Adaptation) fine-tuned version of Qwen/Qwen2.5-3B-Instruct specifically optimized for generating constructive, actionable interview feedback. The model analyzes interview responses and provide…
Downloads · 30 days
0
Access
Public
Updated Nov 13, 2025
Repo size
131 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 88%
From the Hugging Face model README
This is a LoRA (Low-Rank Adaptation) fine-tuned version of Qwen/Qwen2.5-3B-Instruct specifically optimized for generating constructive, actionable interview feedback. The model analyzes interview responses and provides detailed feedback on communication skills, technical accuracy, and areas for improvement.
This model is designed for:
Constructive Feedback: Provides actionable suggestions for improvement
Structured Analysis: Evaluates communication, technical accuracy, and completeness
Encouraging Tone: Balances critique with positive reinforcement
Domain-Specific: Optimized for various interview types (technical, behavioral, HR)
pip install transformers peft torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-3B-Instruct",
torch_dtype=torch.float16,
device_map="auto"
)
# Load LoRA adapter
model = PeftModel.from_pretrained(
base_model,
"Charishma047/qwen2.5-3b-interview-feedback-lora"
)
# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained(
"Charishma047/qwen2.5-3b-interview-feedback-lora"
)
def generate_feedback(question, answer):
"""
Generate interview feedback for a given question-answer pair.
Args:
question (str): The interview question asked
answer (str): The candidate's response
Returns:
str: Generated feedback
"""
prompt = f"""Given the following interview question and candidate's answer, provide constructive feedback:
Question: {question}
Answer: {answer}
Feedback:"""
messages = [
{"role": "system", "content": "You are an experienced interview coach providing constructive feedback."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
# Extract only the feedback portion
feedback = response.split("Feedback:")[-1].strip()
return feedback
# Example usage
question = "Tell me about a time you handled a difficult team member."
answer = "I once worked with someone who didn't meet deadlines. I talked to them and helped them organize their work better."
feedback = generate_feedback(question, answer)
print(feedback)
Question: "What are your strengths and weaknesses?"
Candidate Answer: "My strength is that I work hard. My weakness is that I'm a perfectionist."
Generated Feedback:
Your response demonstrates self-awareness, which is positive. However, consider enhancing
your answer with specific examples. Instead of saying "I work hard," describe a situation
where your work ethic led to a successful outcome. For the weakness section, the
"perfectionist" answer is quite common - try to share a genuine area for improvement and,
importantly, explain the steps you're taking to address it. This shows growth mindset and
professional maturity. Also, quantify your achievements when possible to make your
strengths more tangible.
The model was fine-tuned using LoRA with the following approach:
The model was evaluated using multiple methodologies:
Results demonstrated significant improvement in feedback quality compared to the base model, with particular strength in providing actionable suggestions and maintaining an encouraging tone.
This is a LoRA adapter that modifies the Qwen2.5-3B-Instruct base model. LoRA adds trainable rank decomposition matrices to specific layers while keeping the base model frozen, enabling efficient fine-tuning with minimal additional parameters.
Advantages of this approach:
If you use this model in your research or application, please cite:
@misc{qwen2.5-3b-interview-feedback-lora,
author = {Charishma Tamarana},
title = {Qwen2.5-3B Fine-tuned for Interview Feedback Generation},
year = {2025},
publisher = {HuggingFace},
url = {https://huggingface.co/Charishma047/qwen2.5-3b-interview-feedback-lora}
}
Also cite the base model:
@article{qwen2.5,
title={Qwen2.5: A Party of Foundation Models},
author={Qwen Team},
journal={arXiv preprint},
year={2024}
}
Developer: Charishma Tamarana
HuggingFace: @Charishma047
For questions, issues, or collaboration opportunities, please open an issue in the model repository.
This model inherits the Apache 2.0 license from Qwen2.5-3B-Instruct base model. See LICENSE for details.
Model Version: 1.0
Last Updated: November 2025
Status: Production Ready