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