Downloads · 30 days
0
drjk16/InLegalTrans-Finetuned-JUSTNLP2025
InLegalTrans-Finetuned-JUSTNLP2025 is a machine learning model from drjk16. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a domain-adapted legal translation system finetuned on top of law-ai/InLegalTrans-En2Indic-1B for English ↔ Hindi legal text translation. It was trained for the JUSTNLP 2025 Legal Machine Translation Tas…
Downloads · 30 days
0
Access
Public
Updated Dec 11, 2025
Repo size
67.8 MB
Likes
1
Public
Click a slice to open those files.
.safetensors63.8 MB · 86%
From the Hugging Face model README
This model is a domain-adapted legal translation system finetuned on top of law-ai/InLegalTrans-En2Indic-1B for English ↔ Hindi legal text translation. It was trained for the JUSTNLP 2025 Legal Machine Translation Task using high-quality legal and supervised MT datasets.
Base Model: law-ai/InLegalTrans-En2Indic-1B
Languages: English ↔ Hindi
Task: Translation (Legal Domain)
Datasets:
helloboyn/IJCNLP-JustNLP-LMThelloboyn/WMT25-TSMetrics: BLEU, ROUGE, BERTScore
Pipeline Tag: translation
Tags: legal
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model = "drjk16/InLegalTrans-Finetuned-JUSTNLP2025"
tok = AutoTokenizer.from_pretrained(model)
m = AutoModelForSeq2SeqLM.from_pretrained(model)
text = "The accused is ordered to appear before the court."
inputs = tok(text, return_tensors="pt")
out = m.generate(**inputs, max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))
text = "अभियुक्त को न्यायालय के समक्ष उपस्थित होने का आदेश दिया जाता है।"
inputs = tok(text, return_tensors="pt")
out = m.generate(**inputs, max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))