Instructions to use muhammadummerrr/donut-receipt-lora-testing-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use muhammadummerrr/donut-receipt-lora-testing-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Bennet1996/donut-small") model = PeftModel.from_pretrained(base_model, "muhammadummerrr/donut-receipt-lora-testing-adapter") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from muhammadummerrr/donut-receipt-lora-testing-adapter: direct link, hf CLI and curl.
- Browser
- Download file 7.8 kB
-
https://huggingface.co/muhammadummerrr/donut-receipt-lora-testing-adapter/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://muhammadummerrr/donut-receipt-lora-testing-adapter/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/muhammadummerrr/donut-receipt-lora-testing-adapter/resolve/main/tokenizer_config.json
7.8 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "3": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57521": { | |
| "content": "<mask>", | |
| "lstrip": true, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57522": { | |
| "content": "<sep/>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57523": { | |
| "content": "<s_iitcdip>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57524": { | |
| "content": "<s_synthdog>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57525": { | |
| "content": "<s_Geburtsdatum>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57526": { | |
| "content": "</s_Geburtsdatum>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57527": { | |
| "content": "<s_Straße>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57528": { | |
| "content": "</s_Straße>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57529": { | |
| "content": "<s_Stadt>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57530": { | |
| "content": "</s_Stadt>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57531": { | |
| "content": "<s_Netto>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57532": { | |
| "content": "</s_Netto>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57533": { | |
| "content": "<s_Name>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57534": { | |
| "content": "</s_Name>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57535": { | |
| "content": "<s_Brutto>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57536": { | |
| "content": "</s_Brutto>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "57537": { | |
| "content": "<s_Stpfl. Brutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57538": { | |
| "content": "</s_Stpfl. Brutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57539": { | |
| "content": "<s_Summe Nettobez\\u00fcge>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57540": { | |
| "content": "</s_Summe Nettobez\\u00fcge>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57541": { | |
| "content": "<s_Netto-Verdienst>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57542": { | |
| "content": "</s_Netto-Verdienst>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57543": { | |
| "content": "<s_Gesamt-Brutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57544": { | |
| "content": "</s_Gesamt-Brutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57545": { | |
| "content": "<s_Gesamtbrutto (EBeschV)>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57546": { | |
| "content": "</s_Gesamtbrutto (EBeschV)>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57547": { | |
| "content": "<s_Gesetzl. Netto (EBeschV)>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57548": { | |
| "content": "</s_Gesetzl. Netto (EBeschV)>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57549": { | |
| "content": "<s_Gesamtbrutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57550": { | |
| "content": "</s_Gesamtbrutto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57551": { | |
| "content": "<s_Gesetzl. Netto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57552": { | |
| "content": "</s_Gesetzl. Netto>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "57553": { | |
| "content": "<s_receipt>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<s_Geburtsdatum>", | |
| "</s_Geburtsdatum>", | |
| "<s_Straße>", | |
| "</s_Straße>", | |
| "<s_Stadt>", | |
| "</s_Stadt>", | |
| "<s_Name>", | |
| "</s_Name>", | |
| "<s_Stpfl. Brutto>", | |
| "</s_Stpfl. Brutto>", | |
| "<s_Summe Nettobez\\u00fcge>", | |
| "</s_Summe Nettobez\\u00fcge>", | |
| "<s_Netto-Verdienst>", | |
| "</s_Netto-Verdienst>", | |
| "<s_Gesamt-Brutto>", | |
| "</s_Gesamt-Brutto>", | |
| "<s_Gesamtbrutto>", | |
| "</s_Gesamtbrutto>", | |
| "<s_Gesetzl. Netto>", | |
| "</s_Gesetzl. Netto>", | |
| "<s>", | |
| "</s>" | |
| ], | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "mask_token": "<mask>", | |
| "max_length": 512, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "processor_class": "DonutProcessor", | |
| "sep_token": "</s>", | |
| "sp_model_kwargs": {}, | |
| "stride": 0, | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<unk>" | |
| } | |