Mihir Mungara commited on
Commit
734d48a
Β·
1 Parent(s): d980cf6

readme.md file changed according to hugging face format

Browse files
Files changed (1) hide show
  1. README.md +11 -40
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # 🧹 CleanifyAI β€” Data Cleaning OpenEnv
2
 
3
  <div align="center">
@@ -31,7 +42,6 @@
31
  - [Inference Script](#-inference-script)
32
  - [Data Models](#-data-models)
33
  - [Datasets](#-datasets)
34
- - [Troubleshooting](#-troubleshooting)
35
  - [Baseline Scores](#-baseline-scores)
36
  - [License](#-license)
37
 
@@ -635,45 +645,6 @@ Each task has a paired `dirty.csv` and `gold.csv`. The dirty file is loaded at r
635
 
636
  ---
637
 
638
- ## πŸ› οΈ Troubleshooting
639
-
640
- ### ❌ Phase 2 Task Validation: "score out of range"
641
-
642
- The Scaler platform rejects any score that is exactly `0.0` or `1.0`.
643
-
644
- - **`environment.py`** β€” all `Reward` fields must go through `_sc()` clamping at return
645
- - **`inference.py`** β€” `[END]` line must include `score=` field; all rewards via `_clamp()`
646
- - **`inference.py`** β€” fallback/exception reward must be `0.01`, not `0.0`
647
- - **Format** β€” use `:.2f` (per spec), not `:.4f`
648
-
649
- ---
650
-
651
- ### ❌ Output Parsing failure
652
-
653
- - Ensure `[START]`, `[STEP]`, `[END]` lines use `flush=True`
654
- - No newlines within a single log line
655
- - `done` and `success` must be lowercase `true`/`false`
656
- - `[END]` must include the `score=` field β€” this is the most common cause of Task Validation failure
657
-
658
- ---
659
-
660
- ### ❌ Environment not initialized error
661
-
662
- - Always call `POST /reset/{task_id}` before `POST /step/{task_id}`
663
- - Each `task_id` has its own independent environment instance
664
-
665
- ---
666
-
667
- ### ❌ LLM returns invalid JSON
668
-
669
- `parse_action()` handles these cases automatically:
670
- - Strips markdown code fences (` ```json ` and ` ``` `)
671
- - Falls back to regex `{...}` extraction
672
- - Default fallback: `{"operation": "finish", "parameters": {}}`
673
-
674
- If the model consistently fails, try increasing `MAX_TOKENS` in `inference.py`.
675
-
676
- ---
677
 
678
  ## πŸ“ˆ Baseline Scores
679
 
 
1
+ ---
2
+ title: Data Cleaning OpenEnv
3
+ emoji: 🧹
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: docker
7
+ sdk_version: "3.10"
8
+ app_file: main.py
9
+ pinned: false
10
+ ---
11
+
12
  # 🧹 CleanifyAI β€” Data Cleaning OpenEnv
13
 
14
  <div align="center">
 
42
  - [Inference Script](#-inference-script)
43
  - [Data Models](#-data-models)
44
  - [Datasets](#-datasets)
 
45
  - [Baseline Scores](#-baseline-scores)
46
  - [License](#-license)
47
 
 
645
 
646
  ---
647
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648
 
649
  ## πŸ“ˆ Baseline Scores
650