Downloads · 30 days
22
16% of all-time downloads
MURUGAYESU/tamil-govt-scheme-Llama-3.2-1B
tamil-govt-scheme-Llama-3.2-1B is a machine learning model from MURUGAYESU. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.
Fine-tuned on Tamil-language QA pairs covering 10 major Indian and Tamil Nadu government welfare schemes (PM-KISAN, Amma Unavagam, MGNREGS, Ayushman Bharat, etc.)
Downloads · 30 days
22
16% of all-time downloads
All-time downloads
138
Public
Parameters
1.2B
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
Fine-tuned on Tamil-language QA pairs covering 10 major Indian and Tamil Nadu government welfare schemes (PM-KISAN, Amma Unavagam, MGNREGS, Ayushman Bharat, etc.)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("MURUGAYESU/tamil-govt-scheme-llama3-8b", torch_dtype=torch.float16, device_map='auto')
tokenizer = AutoTokenizer.from_pretrained("MURUGAYESU/tamil-govt-scheme-llama3-8b")
prompt = '''### Instruction:
கீழே கொடுக்கப்பட்ட அரசு திட்டம் பற்றிய கேள்விக்கு தமிழில் விரிவான பதிலளிக்கவும்.
### Input:
PM-KISAN திட்டத்திற்கு யார் தகுதியானவர்கள்?
### Response:
'''
inputs = tokenizer(prompt, return_tensors='pt').to('cuda')
output = model.generate(**inputs, max_new_tokens=150, temperature=0.1, do_sample=True)
print(tokenizer.decode(output[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True))
PM-KISAN, Amma Unavagam, MGNREGS, Pradhan Mantri Awas Yojana, Ayushman Bharat, Kisan Credit Card, Sukanya Samridhi, CM Solar Scheme TN, Mukhyamantri Kalaignar Scheme, National Scholarship Portal
This model provides general educational information only. Always verify with official government portals (india.gov.in, tn.gov.in) before making any decisions.