First preprocess the dataset:
bash scripts/preprocessing_finsql.shThen train the Cross-Encoder model:
bash scripts/train_text2sql_schema_item_classifier_finsql.shAt last, use the Cross-Encoder model to predict the dev set:
bash scripts/generate_text2sql_dataset_finsql.sh