Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
orionw committed Jul 5, 2024
1 parent 5250137 commit f11b057
Show file tree
Hide file tree
Showing 8 changed files with 17,577 additions and 386 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/update_leaderboard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: update_leaderboard_daily

on:
schedule:
- cron: '30 2 * * *'
push:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Run leaderboard updating code
run: |
python refresh.py
- name: Commit updates
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated Leaderboard Update
file_pattern: '*.pkl *.json'
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push https://mteb:[email protected]/spaces/mteb/leaderboard-in-progress main
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
model_infos.json
model_infos.json
space
17,068 changes: 17,067 additions & 1 deletion EXTERNAL_MODEL_RESULTS.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions all_data_tasks.pkl
Git LFS file not shown
430 changes: 47 additions & 383 deletions app.py

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions boards_data.pkl
Git LFS file not shown
415 changes: 415 additions & 0 deletions refresh.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion test.txt

This file was deleted.

0 comments on commit f11b057

Please sign in to comment.