Instructions to use Wellz1000/hermes-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HERMES
How to use Wellz1000/hermes-2 with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download scripts/kill_modal.sh from Wellz1000/hermes-2: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/Wellz1000/hermes-2/resolve/main/scripts/kill_modal.sh
- Command line
-
hf download hf://Wellz1000/hermes-2/scripts/kill_modal.sh
-
curl -L -o kill_modal.sh https://huggingface.co/Wellz1000/hermes-2/resolve/main/scripts/kill_modal.sh
1.07 kB
| # Kill all running Modal apps (sandboxes, deployments, etc.) | |
| # | |
| # Usage: | |
| # bash scripts/kill_modal.sh # Stop hermes-agent sandboxes | |
| # bash scripts/kill_modal.sh --all # Stop ALL Modal apps | |
| set -uo pipefail | |
| echo "Fetching Modal app list..." | |
| APP_LIST=$(modal app list 2>/dev/null) | |
| if [[ "${1:-}" == "--all" ]]; then | |
| echo "Stopping ALL Modal apps..." | |
| echo "$APP_LIST" | grep -oE 'ap-[A-Za-z0-9]+' | sort -u | while read app_id; do | |
| echo " Stopping $app_id" | |
| modal app stop "$app_id" 2>/dev/null || true | |
| done | |
| else | |
| echo "Stopping hermes-agent sandboxes..." | |
| APPS=$(echo "$APP_LIST" | grep 'hermes-agent' | grep -oE 'ap-[A-Za-z0-9]+' || true) | |
| if [[ -z "$APPS" ]]; then | |
| echo " No hermes-agent apps found." | |
| else | |
| echo "$APPS" | while read app_id; do | |
| echo " Stopping $app_id" | |
| modal app stop "$app_id" 2>/dev/null || true | |
| done | |
| fi | |
| fi | |
| echo "" | |
| echo "Current hermes-agent status:" | |
| modal app list 2>/dev/null | grep -E 'State|hermes-agent' || echo " (none)" | |