Download examples/model-conversion/scripts/utils/create-collection-add-model.sh from OpenTransformer/llama.cpp-prismml: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/examples/model-conversion/scripts/utils/create-collection-add-model.sh
- Command line
-
hf download hf://OpenTransformer/llama.cpp-prismml/examples/model-conversion/scripts/utils/create-collection-add-model.sh
-
curl -L -o create-collection-add-model.sh https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/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" | |