File size: 300 Bytes
bb1e479 |
1 2 3 4 5 6 7 8 9 10 11 12 |
pip install -r requirements_colab.txt
git lfs install
python -c "import torch; print(torch.cuda.is_available())"
git config --global credential.helper store
huggingface-cli login
huggingface-cli repo create $2
git clone https://huggingface.co/$1/$2
cd $2
cp ../**.py .
cp ../**.sh .
cp ../**.ipynb .
|