|
@@ -27,13 +27,13 @@ jobs:
|
|
|
python -m pip install --upgrade pip
|
|
|
pip install -r requirements.txt
|
|
|
- name: Delete previous model, if exists
|
|
|
- - run: |
|
|
|
+ run: |
|
|
|
python -c "from huggingface_hub import delete_repo; delete_repo(token='$BLOOM_TESTING_WRITE_TOKEN', \
|
|
|
name='test-bloomd-350m-$GITHUB_HEAD_REF', organization='bloom-testing')" || true
|
|
|
- name: Convert model and push to hub
|
|
|
- run: |
|
|
|
- python -m cli.convert_model --model bigscience/bloom-350m --output_path ./converted_model \
|
|
|
- --output_repo bloom-testing/test-bloomd-350m-$GITHUB_HEAD_REF --use_auth_token $BLOOM_TESTING_WRITE_TOKEN
|
|
|
+ run: |
|
|
|
+ python -m cli.convert_model --model bigscience/bloom-350m --output_path ./converted_model \
|
|
|
+ --output_repo bloom-testing/test-bloomd-350m-$GITHUB_HEAD_REF --use_auth_token $BLOOM_TESTING_WRITE_TOKEN
|
|
|
|
|
|
|
|
|
run-tests:
|