pinggg-legal-full
A specialized legal analysis model trained on Indian Law and the Indian Penal Code (IPC).
Model Details
- Base Model: Llama 3
- Specialization: Indian Legal Analysis
- Context Length: 8192
How to Use with Inference API
import requests
API_URL = "https://api-inference.huggingface.co/models/hel1929/pinggg-legal-full"
headers = {"Authorization": "Bearer YOUR_HUGGING_FACE_API_TOKEN"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
output = query({
"inputs": "Person A tried to kill Person B and Person B killed Person A in self defense. Is Person B guilty?",
"parameters": {"max_new_tokens": 500}
})
Model Limitations
This model should be used for educational purposes only and not for actual legal advice.
- Downloads last month
- 14
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support