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