Downloads · 30 days
7
13% of all-time downloads
moksh0987654/Vedaz-Qwen-Finetuned
Vedaz-Qwen-Finetuned is a text generation model from moksh0987654. 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.
A LoRA fine-tuned version of Qwen2.5-3B-Instruct for the Vedaz AI internship assessment.
Downloads · 30 days
7
13% of all-time downloads
All-time downloads
53
Public
Repo size
251 MB
Likes
0
Public
Click a slice to open those files.
.safetensors240 MB · 95%
From the Hugging Face model README
A LoRA fine-tuned version of Qwen2.5-3B-Instruct for the Vedaz AI internship assessment.
The model is trained to simulate a compassionate Vedic astrology assistant that:
| Item | Value |
|---|---|
| Developer | Moksh Bhardwaj |
| Base Model | unsloth/qwen2.5-3b-instruct-unsloth-bnb-4bit |
| Fine-tuning Method | LoRA (PEFT) |
| Framework | Unsloth + Transformers + TRL |
| Task | Conversational Fine-tuning |
| Language | Hindi, Hinglish, English |
| Domain | Vedic Astrology Assistant |
The model was fine-tuned on the conversation dataset provided as part of the Vedaz AI internship assessment.
Dataset characteristics:
The dataset includes conversations related to:
| Parameter | Value |
|---|---|
| Epochs | 10 |
| Batch Size | 2 |
| Gradient Accumulation | 4 |
| Effective Batch Size | 8 |
| Learning Method | Supervised Fine-tuning |
| Precision | bfloat16 / FP16 (hardware dependent) |
Approximately 1.9% of the model parameters were trained using LoRA adapters.
Suitable for:
Because the training dataset contains only 55 conversations, the model has several limitations:
The model is designed to:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "moksh0987654/Vedaz-Qwen-Finetuned"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
messages = [
{"role":"system","content":"You are Vedaz AI astrologer."},
{"role":"user","content":"Meri job kab lagegi?"}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=200,
temperature=0.7
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
GitHub:
https://github.com/0001Moksh/Vedaz-Qwen-Finetuning
Moksh Bhardwaj
AI & Machine Learning Engineer
GitHub: https://github.com/0001Moksh
LinkedIn: https://linkedin.com/in/moksh-bhardwaj-0001moksh
Portfolio: https://mokshbhardwaj.netlify.app