Spaces:
Runtime error
Runtime error
|
Download README.md from nishu08/sql-error-classifier: direct link, hf CLI and curl.
- Browser
- Download file 834 Bytes
-
https://huggingface.co/spaces/nishu08/sql-error-classifier/resolve/main/README.md
- Command line
-
hf download hf://spaces/nishu08/sql-error-classifier/README.md
-
curl -L -o README.md https://huggingface.co/spaces/nishu08/sql-error-classifier/resolve/main/README.md
834 Bytes
| title: SQL Error Classifier | |
| emoji: ποΈ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: mit | |
| # SQL Error Classifier β Inference | |
| Classify student SQL mistakes using a **CodeBERT cross-encoder** model. | |
| Model: [nishu08/sql-codebert-classifier](https://huggingface.co/nishu08/sql-codebert-classifier) | |
| ## Inputs | |
| - **Question** β what the student was asked | |
| - **Schema** β available tables/columns | |
| - **Student SQL** β student's submission | |
| - **Correct SQL** β reference answer | |
| ## Labels | |
| `JOIN_ERROR`, `AGGREGATION_ERROR`, `FILTER_ERROR`, `WINDOW_FUNCTION_ERROR`, | |
| `SUBQUERY_ERROR`, `NULL_HANDLING_ERROR`, `PERFORMANCE_ERROR`, `LOGICAL_ERROR`, `SYNTAX_ERROR`, `NO_ERROR` | |
| ## Secrets (optional) | |
| - `SPACE_MODEL_ID` β override model repo (default: `nishu08/sql-codebert-classifier`) | |