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