Instructions to use Hhsjsnns/python-code-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hhsjsnns/python-code-tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Hhsjsnns/python-code-tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Hhsjsnns/python-code-tokenizer: direct link, hf CLI and curl.
- Browser
- Download file 832 kB
-
https://huggingface.co/Hhsjsnns/python-code-tokenizer/resolve/main/vocab.json
- Command line
-
hf download hf://Hhsjsnns/python-code-tokenizer/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Hhsjsnns/python-code-tokenizer/resolve/main/vocab.json
832 kB
File too large to display, you can check the raw version instead.