File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -199,15 +199,7 @@ jobs:
199199 TOKENIZER_FILE=tokenizer.model
200200 TOKENIZER_BIN_FILE=tokenizer.bin
201201 # Fetch the file using a Python one-liner
202- DOWNLOADED_TOKENIZER_FILE_PATH=$(python -c "
203- from huggingface_hub import hf_hub_download
204- # Download the file from the Hugging Face Hub
205- downloaded_path = hf_hub_download(
206- repo_id='${{ matrix.model }}',
207- filename='${TOKENIZER_FILE}'
208- )
209- print(downloaded_path)
210- ")
202+ DOWNLOADED_TOKENIZER_FILE_PATH=$(python -c "from huggingface_hub import hf_hub_download; downloaded_path = hf_hub_download(repo_id='${{ matrix.model }}', filename='${TOKENIZER_FILE}'); print(downloaded_path)")
211203
212204 if [ -f "$DOWNLOADED_TOKENIZER_FILE_PATH" ]; then
213205 echo "${TOKENIZER_FILE} downloaded successfully at: $DOWNLOADED_TOKENIZER_FILE_PATH"
You can’t perform that action at this time.
0 commit comments