Instructions to use ejaz111/bart-vampyre-ocr-correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ejaz111/bart-vampyre-ocr-correction with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-base") model = PeftModel.from_pretrained(base_model, "ejaz111/bart-vampyre-ocr-correction") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ejaz111/bart-vampyre-ocr-correction: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/ejaz111/bart-vampyre-ocr-correction/resolve/main/tokenizer.json
- Command line
-
hf download hf://ejaz111/bart-vampyre-ocr-correction/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ejaz111/bart-vampyre-ocr-correction/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.