How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="dvsth/LEGIT-TrOCR-MT", trust_remote_code=True)
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("dvsth/LEGIT-TrOCR-MT", trust_remote_code=True)
model = AutoModel.from_pretrained("dvsth/LEGIT-TrOCR-MT", trust_remote_code=True)
Quick Links

Code and quickstart available at: https://github.com/dvsth/learning-legibility-2023

Downloads last month
28
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train dvsth/LEGIT-TrOCR-MT

Space using dvsth/LEGIT-TrOCR-MT 1