Downloads · 30 days
0
Itsvibinraj/ILDC-Appeal-Prediction-Model
ILDC-Appeal-Prediction-Model is a text classification model from Itsvibinraj. Use it when you need a label for a piece of text. The card lists the license as openrail.
This is a fine-tuned Machine Learning model trained to predict the outcome of appeal cases in the Indian Supreme Court. It takes the text of a court judgment as input and predicts whether the appeal will be Accepted o…
Downloads · 30 days
0
Access
Public
Updated Dec 13, 2025
Repo size
438 MB
Likes
0
Public
Click a slice to open those files.
.pt438 MB · 100%
From the Hugging Face model README
This is a fine-tuned Machine Learning model trained to predict the outcome of appeal cases in the Indian Supreme Court. It takes the text of a court judgment as input and predicts whether the appeal will be Accepted or Rejected.
Use the following code to load the entire_model.pt file into your Python environment.
import torch
# If using a specific architecture class, import it first
# from model_architecture import MyCustomModel
# Path to the downloaded model file
model_path = "entire_model.pt"
# Load the model
# Option A: If you saved the entire model
model = torch.load(model_path)
# Option B: If you saved only state_dict (Recommended)
# model = MyCustomModel()
# model.load_state_dict(torch.load(model_path))
model.eval()
print("Model loaded successfully!")