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