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