sinhala-nlp/NSINA
Viewer • Updated • 487k • 87 • 3
How to use vector2003/sinhala-ocr-postcorrection-byt5 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="vector2003/sinhala-ocr-postcorrection-byt5") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("vector2003/sinhala-ocr-postcorrection-byt5", dtype="auto")Base model
google/byt5-small