Spaces:
Runtime error
Runtime error
Download cache-working-models.sh from featherless-ai/try-this-model: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/spaces/featherless-ai/try-this-model/resolve/7719c51e575cb01a402a0a80e677afc744f04c29/cache-working-models.sh
- Command line
-
hf download hf://spaces/featherless-ai/try-this-model@7719c51e575cb01a402a0a80e677afc744f04c29/cache-working-models.sh
-
curl -L -o cache-working-models.sh https://huggingface.co/spaces/featherless-ai/try-this-model/resolve/7719c51e575cb01a402a0a80e677afc744f04c29/cache-working-models.sh
231 Bytes
| my_jq_query=$(cat << JQ | |
| [.data[] | select(.model_class)] | |
| | [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries | |
| JQ | |
| ) | |
| capi /v1/models | jq "$my_jq_query" > model-cache.json | |