Bjarne12's picture
inintal commit
60876b8
raw
history blame contribute delete
444 Bytes
#!/usr/bin/env bash
set -e
# Run these commands as root or in an environment without the need for sudo.
# Update and install git-lfs
apt update
apt install -y git-lfs
# Configure git-lfs
git lfs install
# Install huggingface_hub
python3 -m pip install --upgrade pip
python3 -m pip install huggingface_hub
# Log in to Hugging Face
huggingface-cli login
# Enable large file tracking for Hugging Face
huggingface-cli lfs-enable-largefiles .