Instructions to use szymonj/polish-simple-error-correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use szymonj/polish-simple-error-correction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("szymonj/polish-simple-error-correction") model = AutoModelForSeq2SeqLM.from_pretrained("szymonj/polish-simple-error-correction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from szymonj/polish-simple-error-correction: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/szymonj/polish-simple-error-correction/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://szymonj/polish-simple-error-correction/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/szymonj/polish-simple-error-correction/resolve/main/tokenizer_config.json
334 Bytes
| {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "trim_offsets": true, "special_tokens_map_file": null, "name_or_path": "original/polish-bart-base", "tokenizer_class": "BartTokenizer"} |