Instructions to use ebadhussain20/urdu_ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ebadhussain20/urdu_ocr with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ebadhussain20/urdu_ocr", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "\u003C|im_end|\u003E", | |
| "errors": "replace", | |
| "is_local": false, | |
| "model_max_length": 32768, | |
| "pad_token": "\u003C|vision_pad|\u003E", | |
| "padding_side": "right", | |
| "processor_class": "Qwen2VLProcessor", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null, | |
| "added_tokens_decoder": { | |
| "151643": { | |
| "content": "\u003C|endoftext|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151644": { | |
| "content": "\u003C|im_start|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151645": { | |
| "content": "\u003C|im_end|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151646": { | |
| "content": "\u003C|object_ref_start|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151647": { | |
| "content": "\u003C|object_ref_end|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151648": { | |
| "content": "\u003C|box_start|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151649": { | |
| "content": "\u003C|box_end|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151650": { | |
| "content": "\u003C|quad_start|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151651": { | |
| "content": "\u003C|quad_end|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151652": { | |
| "content": "\u003C|vision_start|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151653": { | |
| "content": "\u003C|vision_end|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151654": { | |
| "content": "\u003C|vision_pad|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151655": { | |
| "content": "\u003C|image_pad|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "151656": { | |
| "content": "\u003C|video_pad|\u003E", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| } | |
| } |