Image-to-Text
Transformers
Safetensors
Turkish
English
ocr
turkish
document-intelligence
vision-language-model
svtrv2
qwen2.5-vl
kvkk
pii-redaction
legal-nlp
ictihat
financial-verification
visual-redaction
Eval Results (legacy)
Instructions to use ersanbil/TurkceOCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ersanbil/TurkceOCR with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="ersanbil/TurkceOCR")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ersanbil/TurkceOCR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vlm_lora/tokenizer.json from ersanbil/TurkceOCR: direct link, hf CLI and curl.
- Browser
- Download file 2.07 kB
-
https://huggingface.co/ersanbil/TurkceOCR/resolve/main/vlm_lora/tokenizer.json
- Command line
-
hf download hf://ersanbil/TurkceOCR/vlm_lora/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ersanbil/TurkceOCR/resolve/main/vlm_lora/tokenizer.json
2.07 kB
| { | |
| "version": "1.0", | |
| "model": { | |
| "vocab": { | |
| "<pad>": 0, | |
| "<bos>": 1, | |
| "<eos>": 2, | |
| "<unk>": 3, | |
| "0": 4, | |
| "1": 5, | |
| "2": 6, | |
| "3": 7, | |
| "4": 8, | |
| "5": 9, | |
| "6": 10, | |
| "7": 11, | |
| "8": 12, | |
| "9": 13, | |
| "a": 14, | |
| "b": 15, | |
| "c": 16, | |
| "d": 17, | |
| "e": 18, | |
| "f": 19, | |
| "g": 20, | |
| "h": 21, | |
| "i": 22, | |
| "j": 23, | |
| "k": 24, | |
| "l": 25, | |
| "m": 26, | |
| "n": 27, | |
| "o": 28, | |
| "p": 29, | |
| "q": 30, | |
| "r": 31, | |
| "s": 32, | |
| "t": 33, | |
| "u": 34, | |
| "v": 35, | |
| "w": 36, | |
| "x": 37, | |
| "y": 38, | |
| "z": 39, | |
| "A": 40, | |
| "B": 41, | |
| "C": 42, | |
| "D": 43, | |
| "E": 44, | |
| "F": 45, | |
| "G": 46, | |
| "H": 47, | |
| "I": 48, | |
| "J": 49, | |
| "K": 50, | |
| "L": 51, | |
| "M": 52, | |
| "N": 53, | |
| "O": 54, | |
| "P": 55, | |
| "Q": 56, | |
| "R": 57, | |
| "S": 58, | |
| "T": 59, | |
| "U": 60, | |
| "V": 61, | |
| "W": 62, | |
| "X": 63, | |
| "Y": 64, | |
| "Z": 65, | |
| "ç": 66, | |
| "ğ": 67, | |
| "ı": 68, | |
| "ö": 69, | |
| "ş": 70, | |
| "ü": 71, | |
| "Ç": 72, | |
| "Ğ": 73, | |
| "İ": 74, | |
| "Ö": 75, | |
| "Ş": 76, | |
| "Ü": 77, | |
| "â": 78, | |
| "î": 79, | |
| "û": 80, | |
| "Â": 81, | |
| "Î": 82, | |
| "Û": 83, | |
| ".": 84, | |
| ",": 85, | |
| ":": 86, | |
| ";": 87, | |
| "!": 88, | |
| "?": 89, | |
| "-": 90, | |
| "+": 91, | |
| "/": 92, | |
| "=": 93, | |
| "(": 94, | |
| ")": 95, | |
| "[": 96, | |
| "]": 97, | |
| "{": 98, | |
| "}": 99, | |
| "*": 100, | |
| "#": 101, | |
| "%": 102, | |
| "$": 103, | |
| "|": 104, | |
| "\"": 105, | |
| "'": 106, | |
| "\\": 107, | |
| " ": 108, | |
| "\n": 109, | |
| "\t": 110, | |
| "<stamp>": 111, | |
| "</stamp>": 112, | |
| "<signature/>": 113, | |
| "<handwritten>": 114, | |
| "</handwritten>": 115, | |
| "<tckn>": 116, | |
| "</tckn>": 117, | |
| "<vkn>": 118, | |
| "</vkn>": 119, | |
| "<iban>": 120, | |
| "</iban>": 121, | |
| "<table_tr>": 122, | |
| "</table_tr>": 123 | |
| } | |
| } | |
| } | |