Downloads · 30 days
0
chhatramani/qwen3_nyayalm_v0.1
qwen3_nyayalm_v0.1 is a machine learning model from chhatramani. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
- Base Model: unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit - Finetuned By: chhatramani - License: Apache-2.0 - Language: English & Nepali (Legal domain) - Frameworks: Unsloth, TRL, Transformers
Downloads · 30 days
0
Access
Public
Updated Feb 5, 2026
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.safetensors132 MB · 89%
From the Hugging Face model README
unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bitq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_projunsloth)The model was trained on a mixed bilingual legal dataset:
Final Dataset Size:
==((====))== Unsloth - 2x faster free finetuning | Num GPUs used = 1 \ /| Num examples = 3,145 | Num Epochs = 1 | Total steps = 197 O^O/ _/ \ Batch size per device = 4 | Gradient accumulation steps = 4 \ / Data Parallel GPUs = 1 | Total batch size (4 x 4 x 1) = 16 "-____-" Trainable parameters = 66,060,288 of 4,088,528,384 (1.62% trained) Unsloth: Will smartly offload gradients to save VRAM! [197/197 54:51, Epoch 1/1]
| Step | Training Loss | Validation Loss |
|---|---|---|
| 40 | 0.749500 | 0.827659 |
| 80 | 0.591000 | 0.742231 |
| 120 | 0.663600 | 0.718418 |
| 160 | 0.632600 | 0.707453 |
The model was evaluated on a held-out test set of ~350 samples.
ROUGE-1: 0.5491 ROUGE-2: 0.2151 ROUGE-L: 0.4245 BERTScore F1: 0.9042
NyayaLM is designed as a legal assistant for Nepali law, capable of answering questions, summarizing statutes, and providing structured legal reasoning.
This qwen3 model was trained 2x faster with Unsloth