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