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