nishu08's picture
Deploy CodeBERT inference Space
7aae828 verified
|
Raw
History Blame Contribute Delete
834 Bytes
metadata
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

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)