Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- legal
|
| 8 |
+
- bert
|
| 9 |
+
- sequence-classification
|
| 10 |
+
- indian-law
|
| 11 |
+
model_type: bert
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# LegalBertNew — Indian Legal Judgment Classification Model
|
| 15 |
+
|
| 16 |
+
This is a fine-tuned BERT model for binary legal judgment prediction (Guilty / Not Guilty) based on Indian case facts.
|
| 17 |
+
The model takes raw case text as input and outputs a classification label along with confidence scores.
|
| 18 |
+
|
| 19 |
+
## ## How to Use
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from transformers import pipeline
|
| 23 |
+
|
| 24 |
+
classifier = pipeline("text-classification", model="negi2725/LegalBertNew")
|
| 25 |
+
|
| 26 |
+
result = classifier("The accused was found with stolen property.")
|
| 27 |
+
print(result)
|