Spaces:
Running on Zero
Running on Zero
mindmap-studio / backend /llama.cpp /examples /model-conversion /scripts /utils /create-collection-add-model.sh
Download backend/llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh from kazutab/mindmap-studio: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh
- Command line
-
hf download hf://spaces/kazutab/mindmap-studio/backend/llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh
-
curl -L -o create-collection-add-model.sh https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh
232 Bytes
| #!/usr/bin/env bash | |
| COLLECTION_SLUG=$(python ./create_collection.py --return-slug) | |
| echo "Created collection: $COLLECTION_SLUG" | |
| # Use it in the next command | |
| python add_model_to_collection.py "$COLLECTION_SLUG" "username/my-model" | |