Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
orionw committed Jul 6, 2024
0 parents commit 3d2203d
Show file tree
Hide file tree
Showing 13,433 changed files with 3,319,552 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync to Hugging Face hub
on:
push:
branches: [main]
# to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push https://mteb:[email protected]/datasets/mteb/results main
3 changes: 3 additions & 0 deletions CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TODO

Users must add any files over 10MB to Git LFS to the .gitattributes file so the dataset can handle it
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
benchmark: mteb
type: evaluation
submission_name: MTEB
---
9 changes: 9 additions & 0 deletions compress_greater_than_10mb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import os
import glob
import sys

for file in glob.glob("results/*/*/*.json"):
# if the file is greater than 9 MB, compress it with gzip
if os.path.getsize(file) >= 9 * 1024 * 1024:
os.system(f"gzip {file}")
print(f"Compressed {file} with gzip.")
13,776 changes: 13,776 additions & 0 deletions paths.json

Large diffs are not rendered by default.

Loading

0 comments on commit 3d2203d

Please sign in to comment.