Text Classification
Transformers
Safetensors
Hindi
distilbert
movie-certification
content-rating
movie-script
nlp
multilingual
knowledge-distillation
long-document
explainable-ai
text-embeddings-inference
Instructions to use pratikkalamkar/moviecert-teacher-hi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pratikkalamkar/moviecert-teacher-hi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pratikkalamkar/moviecert-teacher-hi")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pratikkalamkar/moviecert-teacher-hi") model = AutoModelForSequenceClassification.from_pretrained("pratikkalamkar/moviecert-teacher-hi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 5,288 Bytes
de7fd88 254d88d de7fd88 254d88d b51d8a6 254d88d d39f7ff 254d88d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | ---
license: apache-2.0
datasets:
- pratikkalamkar/Movie_Scripts_with_Age_Ratings_by_Pratik_Kalamkar-Hi
language:
- hi
metrics:
- accuracy
- f1
- precision
- recall
base_model:
- distilbert/distilbert-base-multilingual-cased
pipeline_tag: text-classification
library_name: transformers
tags:
- movie-certification
- content-rating
- movie-script
- nlp
- text-classification
- multilingual
- distilbert
- knowledge-distillation
- long-document
- explainable-ai
---
# MovieCert Hindi Teacher Model
## Model Details
### Model Description
This repository contains the Hindi Teacher model developed for the research paper **"Lightweight and Explainable Neural Models for Multilingual Movie Script Certification."**
The model is fine-tuned from the multilingual DistilBERT architecture to classify Hindi movie scripts into age-rating categories. It serves as the teacher model in a knowledge distillation framework used to develop lightweight student models for efficient deployment.
- **Developed by:** Pratik N. Kalamkar
- **Funded by:** Self-funded academic research
- **Shared by:** Pratik N. Kalamkar
- **Model type:** Transformer-based sequence classification model (DistilBERT)
- **Language(s):** Hindi
- **License:** Apache 2.0
- **Finetuned from model:** distilbert-base-multilingual-cased
---
## Model Sources
- **Repository:** https://github.com/pratik1986/Lightweight-and-Explainable-Neural-Models-for-Multilingual-Movie-Script-Certification
- **Paper:** https://doi.org/10.5815/ijitcs.2026.02.09
- **Dataset:** https://huggingface.co/datasets/pratikkalamkar/Movie_Scripts_with_Age_Ratings_by_Pratik_Kalamkar-Hi
---
# Uses
## Direct Use
This model is intended for automated classification of Hindi movie scripts into age-rating categories.
Potential applications include:
- Automated movie certification research
- Movie script analysis
- Content moderation
- Academic NLP research
- Benchmarking multilingual transformer models
---
## Downstream Use
The model may be used as:
- Teacher model for knowledge distillation
- Base model for further fine-tuning
- Feature extractor
- Long-document text classification research
---
## Out-of-Scope Use
This model is **not** intended for:
- Legal or official movie certification decisions
- Safety-critical systems
- Hate speech detection
- Sentiment analysis
- Medical or legal decision making
Predictions should not replace human review.
---
# Bias, Risks and Limitations
The model was trained using a curated dataset of Hindi movie scripts and inherits limitations of the dataset, including:
- Limited dataset size
- Possible class imbalance
- Genre imbalance
- Cultural bias
- Language-specific ambiguity
Performance may decrease on scripts that differ substantially from the training distribution.
---
## Recommendations
The model should be used as an assistive tool rather than a replacement for human reviewers.
---
# Training Details
## Training Data
The model was trained using the **Hindi Movie Scripts with Verified Age Ratings** https://huggingface.co/datasets/pratikkalamkar/Movie_Scripts_with_Age_Ratings_by_Pratik_Kalamkar-Hi dataset curated by the author.
Training data consists of Hindi movie scripts labelled with their corresponding age ratings.
---
## Training Procedure
The model was fine-tuned using the Hugging Face Transformers library.
### Preprocessing
- UTF-8 normalization
- Tokenization using DistilBERT tokenizer
- Sliding-window chunking for long movie scripts
- Chunk-level prediction aggregation
---
### Training Hyperparameters
- Base model: distilbert-base-multilingual-cased
- Epochs: 6
- Batch size (train): 8
- Batch size (evaluation): 16
- Learning rate: 2e-5
- Weight decay: 0.01
- Warmup steps: 50
- Optimizer: AdamW
- Maximum gradient norm: 1.0
- Early stopping patience: 2
- Mixed precision: Disabled (FP32)
---
# Evaluation
## Testing Data
Held-out Hindi movie script test split.
---
## Metrics
The following metrics were used:
- Accuracy
- Precision
- Recall
- Macro F1-score
- Confusion Matrix
---
## Results
The complete experimental results are reported in the associated journal paper.
---
# Technical Specifications
## Model Architecture
- DistilBERT multilingual encoder
- Sequence Classification Head
- Fine-tuned on Hindi movie scripts
---
## Software
- Python
- PyTorch
- Hugging Face Transformers
- Scikit-learn
---
# Citation
If you use this model in your research, please cite:
**BibTeX**
```bibtex
@article{kalamkar2026moviecertification,
author = {Pratik N. Kalamkar and Prasadu Peddi and Yogesh K. Sharma},
title = {Lightweight and Explainable Neural Models for Multilingual Movie Script Certification},
journal = {International Journal of Information Technology and Computer Science},
volume = {18},
number = {2},
pages = {146--160},
year = {2026},
doi = {10.5815/ijitcs.2026.02.09}
}
```
---
# More Information
This model is one component of the MovieCert multilingual movie certification framework comprising:
- English Teacher Model
- Hindi Teacher Model
- Marathi Teacher Model
---
# Model Card Author
Pratik N. Kalamkar
---
# Contact
For questions regarding the model or the associated research, please contact:
Pratik N. Kalamkar
GitHub: https://github.com/pratik1986
|