Downloads · 30 days
0
MrHungLe01/HungLe
HungLe is a machine learning model from MrHungLe01. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
HungLe is a fine-tuned Large Language Model optimized for Question Answering. It has been trained using QLoRA (Quantized Low-Rank Adaptation) on top of the causal language model Qwen/Qwen2.5-0.5B to achieve high effic…
Downloads · 30 days
0
Access
Public
Updated May 28, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md2.2 KB · 59%
From the Hugging Face model README
HungLe is a fine-tuned Large Language Model optimized for Question Answering. It has been trained using QLoRA (Quantized Low-Rank Adaptation) on top of the causal language model Qwen/Qwen2.5-0.5B to achieve high efficiency and low memory footprint.
The model was fine-tuned on a custom dataset managed under the @MrHungLe01 organization:
Performance comparison observed during the project milestones (Full vs LoRA vs QLoRA):
| Training Method | Training Time | VRAM Usage | Evaluation Loss |
|---|---|---|---|
| Full Fine-Tuning | [196.24s] | 10.18GB | [2.041463] |
| LoRA (16-bit) | [228.91s] | 2.88GB | [2.084870] |
| QLoRA (HungLe) | [127.93s] | 1.7GB | [2.208373] |
You can easily load and run this model using the Hugging Face transformers library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "MrHungLe01/HungLe"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "<|im_start|>user\nXin chào, bạn là ai?<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=128, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))