Downloads · 30 days
8
1% of all-time downloads
meghaGenAI/northwind-hr-policy-dpo-merged
northwind-hr-policy-dpo-merged is a text generation model from meghaGenAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A domain-specific assistant for HR Policy, fine-tuned from unsloth/Qwen2.5-1.5B using Unsloth with LoRA/QLoRA. Format of this repo: merged.
Downloads · 30 days
8
1% of all-time downloads
All-time downloads
668
Public
Parameters
1.5B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
A domain-specific assistant for HR Policy, fine-tuned from
unsloth/Qwen2.5-1.5B using
Unsloth with LoRA/QLoRA. Format of this repo: merged.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "meghaGenAI/northwind-hr-policy-dpo-merged"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
msgs = [{"role": "system", "content": "You are the Northwind HR Policy Assistant. Answer user questions about hr policy clearly, accurately, and professionally. If something is outside your scope, say so and point the user to the right team."},
{"role": "user", "content": "Your question here"}]
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
print(tok.decode(model.generate(inputs, max_new_tokens=200)[0]))
You are the Northwind HR Policy Assistant. Answer user questions about hr policy clearly, accurately, and professionally. If something is outside your scope, say so and point the user to the right team.
Built with Unsloth. This model is a domain-specific assistant; verify critical answers against authoritative sources.