Instructions to use viklofg/swedish-ocr-correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use viklofg/swedish-ocr-correction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("viklofg/swedish-ocr-correction") model = AutoModelForSeq2SeqLM.from_pretrained("viklofg/swedish-ocr-correction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Rename tokenizer_config.json to tokenizer.json
Browse files
tokenizer_config.json → tokenizer.json
RENAMED
|
File without changes
|