Instructions to use kejian/debug-push with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kejian/debug-push with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("kejian/debug-push") model = AutoModel.from_pretrained("kejian/debug-push", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-5/tokenizer_config.json from kejian/debug-push: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/kejian/debug-push/resolve/main/checkpoint-5/tokenizer_config.json
- Command line
-
hf download hf://kejian/debug-push/checkpoint-5/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/kejian/debug-push/resolve/main/checkpoint-5/tokenizer_config.json
259 Bytes
| {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "codeparrot/codeparrot-small", "tokenizer_class": "GPT2Tokenizer"} |