Instructions to use nz/BPE_GPT2_goodwiki_65536 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nz/BPE_GPT2_goodwiki_65536 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nz/BPE_GPT2_goodwiki_65536", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from nz/BPE_GPT2_goodwiki_65536: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/nz/BPE_GPT2_goodwiki_65536/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://nz/BPE_GPT2_goodwiki_65536/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/nz/BPE_GPT2_goodwiki_65536/resolve/main/tokenizer_config.json
449 Bytes
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "unk_token": "<|endoftext|>" | |
| } | |