Note: run ./helper/prepare.sh first
In [1]:
!pwd
/workspaces/llm-playground/notebooks
In [2]:
!python ../helper/download-model.py tloen/alpaca-lora-7b
Working directory changed to: /workspaces/llm-playground/helper/.. Skipping: .gitattributes Downloading the model to loras/tloen_alpaca-lora-7b Downloaded: README.md Downloaded: adapter_config.json Downloaded: adapter_model.bin 100%|██████████████████████████████████████████| 3/3 [00:00<00:00, 28728.11it/s]
In [3]:
!huggingface-cli login --token $HUGGINGFACE_TOKEN # --add-to-git-credential
Token is valid. Your token has been saved in your configured git credential helpers (/.codespaces/bin/gitcredential_github.sh). Your token has been saved to /home/codespace/.cache/huggingface/token Login successful
In [4]:
!python ../helper/download-dataset.py ehartford/oa_leet10k
Working directory changed to: /workspaces/llm-playground/helper/.. Ignoring error: Tree Entry not found: data Downloading the dataset to datasets/ehartford_oa_leet10k 0%| | 0/5 [00:00<?, ?it/s] 100%|███████████████████████| 29.0 /29.0 21.5kiB/s , File: oa_leet10k.parquet 20%|█████████ | 1/5 [00:00<00:00, 4.06it/s] 100%|███████| 29.0 /29.0 19.0kiB/s , File: oa_leet10k_contests_merged.parquet 40%|██████████████████ | 2/5 [00:00<00:00, 4.10it/s] 100%|█████████████████████████████████████| 29.0 /29.0 18.5kiB/s , File: data 60%|███████████████████████████ | 3/5 [00:00<00:00, 4.12it/s] 100%|███████████████████████████| 29.0 /29.0 17.5kiB/s , File: .gitattributes 100%|████████████████████████████████| 29.0 /29.0 21.3kiB/s , File: README.md 100%|█████████████████████████████████████████████| 5/5 [00:01<00:00, 3.84it/s]
In [ ]: