Instructions to use shibatch/tinyllama4gpt2m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shibatch/tinyllama4gpt2m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shibatch/tinyllama4gpt2m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download hf/tokenizer.model from shibatch/tinyllama4gpt2m: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/shibatch/tinyllama4gpt2m/resolve/main/hf/tokenizer.model
- Command line
-
hf download hf://shibatch/tinyllama4gpt2m/hf/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/shibatch/tinyllama4gpt2m/resolve/main/hf/tokenizer.model
0 Bytes