Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
""
"
2
KaggleDBQA Database Query Optimization
with
Prompt Tuning (API Version)
3
4
This example demonstrates how to use the PromptTuning framework
with
API-based inference
Callers
nothing calls this directly
Calls
9
sqlTester
Class · 0.90
create_model_batch_fn
Function · 0.90
create_embedding_model_fn
Function · 0.90
load_jsonl
Function · 0.90
create_sql_reward_fn
Function · 0.90
PromptTuner
Class · 0.90
_evaluate_on_eval_set
Method · 0.80
train
Method · 0.80
get_env_or_raise
Function · 0.70
Tested by
no test coverage detected