Spaces:
Sleeping
Sleeping
|
Download README.md from hackrock18/cloud-data-janitor: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/spaces/hackrock18/cloud-data-janitor/resolve/main/README.md
- Command line
-
hf download hf://spaces/hackrock18/cloud-data-janitor/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hackrock18/cloud-data-janitor/resolve/main/README.md
1.93 kB
| title: Cloud Data Janitor | |
| emoji: 🧹 | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: false | |
| # Cloud Data Janitor | |
| ## Overview | |
| Cloud Data Janitor is an OpenEnv-compatible environment that simulates a messy cloud storage system similar to Google Drive. | |
| An agent interacts with the environment to organize files, delete unnecessary data, and optimize storage. | |
| The environment follows the standard OpenEnv API: | |
| - reset() | |
| - state() | |
| - step() | |
| Rewards are given based on how well the agent completes tasks. | |
| --- | |
| ## Tasks | |
| The environment includes three difficulty levels: | |
| ### Easy | |
| Organize important documents by moving them into the correct folder. | |
| ### Medium | |
| Delete unnecessary files while preserving important files. | |
| ### Hard | |
| Optimize storage usage while protecting critical folders. | |
| Each task returns a score between **0.0 and 1.0**. | |
| --- | |
| ## Project Structure | |
| cloud-data-janitor/ | |
| agent/ | |
| environment/ | |
| actions/ | |
| grader/ | |
| utils/ | |
| data/ | |
| inference.py | |
| openenv.yaml | |
| Dockerfile | |
| requirements.txt | |
| README.md | |
| --- | |
| ## How to Run | |
| ### Run Locally | |
| python inference.py | |
| --- | |
| ### Run Specific Task (Windows) | |
| set MY_ENV_V4_TASK=easy | |
| python inference.py | |
| To run other tasks: | |
| set MY_ENV_V4_TASK=medium | |
| python inference.py | |
| set MY_ENV_V4_TASK=hard | |
| python inference.py | |
| --- | |
| ## Run with Docker | |
| Build the Docker image: | |
| docker build -t cloud-data-janitor . | |
| Run the environment: | |
| docker run -e MY_ENV_V4_TASK=easy cloud-data-janitor | |
| You can replace easy with: | |
| medium | |
| hard | |
| --- | |
| ## Output Format | |
| The program prints: | |
| [START] | |
| [STEP] | |
| [END] | |
| Example: | |
| [START] task=easy env=cloud-data-janitor model=rule-agent | |
| [STEP] step=1 reward=0.50 done=false error=null | |
| [END] success=true steps=2 score=1.00 rewards=0.50,1.00 | |
| --- | |
| ## Requirements | |
| - Python 3.10 or later | |
| - Docker | |
| --- | |
| ## Status | |
| This project is: | |
| - OpenEnv compatible | |
| - Deterministic | |
| - Docker ready | |
| - Fully functional | |
| - Submission ready |