Instructions to use QuanxinLi/TinyGuard-Command with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use QuanxinLi/TinyGuard-Command with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download QuanxinLi/TinyGuard-Command --local-dir TinyGuard-Command
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download inference.py from QuanxinLi/TinyGuard-Command: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/QuanxinLi/TinyGuard-Command/resolve/main/inference.py
- Command line
-
hf download hf://QuanxinLi/TinyGuard-Command/inference.py
-
curl -L -o inference.py https://huggingface.co/QuanxinLi/TinyGuard-Command/resolve/main/inference.py
236 Bytes
| """TinyGuard inference quickstart (requires pip install mlx)""" | |
| import mlx.core as mx, mlx.nn as nn | |
| from huggingface_hub import hf_hub_download | |
| import json, sys | |
| # See the repo quickstart for the full walkthrough; placeholder stub here. | |