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