MCPcopy Create free account
hub / github.com/Bairong-Xdynamics/MistakeNotebookLearning / example_dbqa.py

File example_dbqa.py

examples/example_dbqa.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2KaggleDBQA Database Query Optimization with Prompt Tuning (API Version)
3
4This example demonstrates how to use the PromptTuning framework with API-based inference

Callers

nothing calls this directly

Calls 9

sqlTesterClass · 0.90
create_model_batch_fnFunction · 0.90
load_jsonlFunction · 0.90
create_sql_reward_fnFunction · 0.90
PromptTunerClass · 0.90
_evaluate_on_eval_setMethod · 0.80
trainMethod · 0.80
get_env_or_raiseFunction · 0.70

Tested by

no test coverage detected