Downloads · 30 days
5
7% of all-time downloads
Vishykm/adaption_indian_finance_dataset
adaption_indian_finance_dataset is a text generation model from Vishykm. 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.
Downloads · 30 days
5
7% of all-time downloads
All-time downloads
68
Public
Repo size
420 MB
Likes
0
Public
Click a slice to open those files.
.safetensors218 MB · 51%
From the Hugging Face model README


A LoRA adapter fine-tuned on top of mistralai/Mixtral-8x7B-Instruct-v0.1 for the Indian personal-finance / financial-inclusion domain.
It spans a wide range of topics: banking services, digital payments and UPI, savings and investment planning, mutual funds, stocks, fixed-income products, insurance, retirement planning, taxation and government benefit schemes, credit cards, personal and business loans, credit scores, fraud and scam awareness, cybersecurity in financial transactions, regulations, RBI and SEBI guidelines, consumer rights, and India's evolving digital infrastructure.
| Metric | base | adapted |
|---|---|---|
| Win rate (your dataset) | 36 | 64 |
| Win rate (Personal Finance category) | 21 | 80 |
| Parameter | Value |
|---|---|
| lora_r | 64 |
| lora_alpha | 128 |
| lora_dropout | 0 |
| target modules | q_proj, k_proj, v_proj, o_proj |
| trainable modules | all-linear |
| task type | CAUSAL_LM |
| Parameter | Value |
|---|---|
| n_epochs | 5 |
| batch_size | max |
| learning_rate | 0.0002 |
| lr_scheduler_type | cosine |
| scheduler_num_cycles | 0.5 |
| min_lr_ratio | 0.1 |
| warmup_ratio | 0.03 |
| weight_decay | 0.01 |
| max_grad_norm | 1 |
| train_on_inputs | false |
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "mistralai/Mixtral-8x7B-Instruct-v0.1"
adapter = "Vishykm/adaption_indian_finance_dataset"
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto")
model = PeftModel.from_pretrained(model, adapter)