Downloads · 30 days
20
14% of all-time downloads
negi2725/LegalBertNew
LegalBertNew is a text classification model from negi2725. Use it when you need a label for a piece of text. It is set up for transformers.
This is a fine-tuned BERT model for binary legal judgment prediction (Guilty / Not Guilty) based on Indian case facts. The model takes raw case text as input and outputs a classification label along with confidence sc…
Downloads · 30 days
20
14% of all-time downloads
All-time downloads
138
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This is a fine-tuned BERT model for binary legal judgment prediction (Guilty / Not Guilty) based on Indian case facts.
The model takes raw case text as input and outputs a classification label along with confidence scores.
from transformers import pipeline
classifier = pipeline("text-classification", model="negi2725/LegalBertNew")
result = classifier("The accused was found with stolen property.")
print(result)