Transformers
Safetensors
English
t5
text2text-generation
ocr
ocr-post-correction
text-correction
seq2seq
flan-t5
scientific-text
text-generation-inference
Instructions to use Cronosteak/ocr-corrector-flan-t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cronosteak/ocr-corrector-flan-t5-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Cronosteak/ocr-corrector-flan-t5-base") model = AutoModelForSeq2SeqLM.from_pretrained("Cronosteak/ocr-corrector-flan-t5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "decoder_start_token_id": 0, | |
| "eos_token_id": [ | |
| 1 | |
| ], | |
| "pad_token_id": 0, | |
| "transformers_version": "5.7.0" | |
| } | |