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