Instructions to use dvsth/LEGIT-TrOCR-MT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dvsth/LEGIT-TrOCR-MT with Transformers:
# 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)# pip install -U transformers accelerate # 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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
eb8f84a -
Upload model
13e6ee3 -
Upload model
6109714 -
Upload model
20d44a7 -
Upload model
f62c2ad -
Upload model
2a5de8e -
Upload model
99407d3 -
Create README.md
838ec33 -
Upload model
38c803c -
Upload model
5d363cf -
initial commit
83cce2c