Income Tax Llama - Fine-tuned Model

This model is a fine-tuned version of Llama-2-7b-hf specialized for Indian income tax questions and explanations.

Model Details

  • Base Model: meta-llama/Llama-2-7b-hf
  • Fine-tuning Method: LoRA (Low-Rank Adaptation)
  • Domain: Indian Income Tax
  • Language: English

Usage

from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
import torch

model = AutoPeftModelForCausalLM.from_pretrained(
    "path/to/model",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-hf")

prompt = "What is Section 80C in income tax?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)

Training Data

The model was fine-tuned on income tax related questions and answers.

Limitations

  • Specialized for Indian income tax domain
  • May not perform well on general queries
  • Tax laws change frequently - verify information independently
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Nareshedagotti/income-tax-llama-lora

Finetuned
(899)
this model