feat: Migrate OSWorld files to HuggingFace cache with comprehensive documentation

- Add detailed README for file cache repository
- Implement migration script with retry logic and browser simulation
- Support automatic file type detection and deduplication
- Ensure reliable hosting for OSWorld evaluation files
This commit is contained in:
Timothyxxx
2025-05-28 04:29:37 +08:00
parent a845824f06
commit 34748567a5
317 changed files with 12630 additions and 12008 deletions

View File

@@ -9,7 +9,7 @@
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1CLBjjsjGmHlbDg1lDcxfdE0F0C7-A5gZ&export=download&authuser=0&confirm=t&uuid=dde635fc-e223-4cd3-8065-899396e68d0a&at=APZUnTWQHdWYLLxlofuOIuhE2qiS:1704722380621",
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/vlc/aa4b5023-aef6-4ed9-bdc9-705f59ab9ad6/flipped_1984_Apple_Macintosh_Commercial.mp4",
"path": "/home/user/Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"
}
]
@@ -18,7 +18,11 @@
{
"type": "launch",
"parameters": {
"command": ["VLC_VERBOSE=-1", "vlc", "/home/user/Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"]
"command": [
"VLC_VERBOSE=-1",
"vlc",
"/home/user/Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"
]
}
},
{
@@ -40,7 +44,7 @@
"func": "compare_videos",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=10P9nKW7VTaHGS15tj4C0GVxUIYA0Nh42&export=download&authuser=0&confirm=t&uuid=1b812f06-b624-4aed-8d91-734c54421da3&at=APZUnTUCB-58SwcccQ_WN1T4KdJy:1704808326066",
"path": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/vlc/aa4b5023-aef6-4ed9-bdc9-705f59ab9ad6/1984_Apple_Macintosh_Commercial.mp4",
"dest": "1984_Apple_Macintosh_Commercial_gold.mp4"
},
"result": {
@@ -49,4 +53,4 @@
"dest": "1984_Apple_Macintosh_Commercial.mp4"
}
}
}
}