forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request huggingface#7 from huggingface/main
goog
- Loading branch information
Showing
1,167 changed files
with
72,536 additions
and
7,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Self-hosted runner (push) | ||
|
||
on: | ||
push: | ||
branches: | ||
- update_tiny_models* | ||
repository_dispatch: | ||
schedule: | ||
- cron: "0 2 * * *" | ||
|
||
env: | ||
TOKEN: ${{ secrets.SYLVAIN_HF_TOKEN }} | ||
|
||
jobs: | ||
update_tiny_models: | ||
name: Update tiny models | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout transformers | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Install | ||
run: | | ||
python -m pip install -U .[dev] | ||
python -m pip install -U natten | ||
- name: Update tiny models | ||
run: | | ||
python utils/update_tiny_models.py | ||
- name: Full report | ||
run: cat tiny_models/reports/tiny_model_creation_report.json | ||
|
||
- name: Failure report | ||
run: cat tiny_models/reports/simple_failed_report.txt | ||
|
||
- name: Summary report | ||
run: cat tiny_models/reports/tiny_model_summary.json | ||
|
||
- name: Test suite reports artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: tiny_model_creation_reports | ||
path: tiny_models/reports |
Oops, something went wrong.