EN-BN Translation Error Detection Model

This model detects translation errors in English-Bangla translations.

Model Architecture

  • Base: BERT multilingual
  • Fine-tuned for multi-label classification of translation errors
  • Labels: Semantic Error, Cultural Error, Literal Translation Error, Syntactical Error, No Error

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

tokenizer = AutoTokenizer.from_pretrained("SamiaHaque/ENBNErrorDetector")
model = AutoModelForSequenceClassification.from_pretrained("SamiaHaque/ENBNErrorDetector")

# Prepare input
text = "Your source and translation text here..."
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)

# Get predictions
with torch.no_grad():
    outputs = model(**inputs)
    predictions = torch.sigmoid(outputs.logits)
Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for SamiaHaque/ENBNErrorDetector

Finetuned
(899)
this model