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/package.json from Toc/toc: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/Toc/toc/resolve/main/ex/dynamic-prompts/package.json
- Command line
-
hf download hf://Toc/toc/ex/dynamic-prompts/package.json
-
curl -L -o package.json https://huggingface.co/Toc/toc/resolve/main/ex/dynamic-prompts/package.json
344 Bytes
| { | |
| "devDependencies": { | |
| "eslint": "^8.2.0", | |
| "eslint-config-airbnb-base": "^15.0.0", | |
| "eslint-config-prettier": "^8.8.0", | |
| "eslint-plugin-import": "^2.25.2", | |
| "eslint-plugin-prettier": "^4.2.1", | |
| "prettier": "^2.8.7" | |
| }, | |
| "scripts": { | |
| "lint": "eslint . --ext .js" | |
| }, | |
| "prettier": { | |
| "trailingComma": "all" | |
| } | |
| } | |