Skip to content

hideak1/cs692

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

CS692 course project

Code base is https://github.com/tonyzhaozh/few-shot-learning

Dataset under data/ are from https://github.com/jkkummerfeld/text2sql-data

Data

Only public dataset can be used.

Run experiment CMPUT291 with self-constructed source prompting

python run_no_calibrate.py  --model="text-davinci-003" --dataset="cmput291" --num_seeds=1 --all_shots=0 --subsample_test_set=1 --api_num_log_prob=10

Run experiment CMPUT291 with Spider source prompting

python run_no_calibrate.py  --model="text-davinci-003" --dataset="cmput291-spider" --num_seeds=1 --all_shots=0 --subsample_test_set=1 --api_num_log_prob=10

Run experiment Geography with Geography source prompting

python run_no_calibrate.py  --model="text-davinci-003" --dataset="geography" --num_seeds=1 --all_shots=0 --subsample_test_set=1 --api_num_log_prob=10

Run experiment Geography with Spider source prompting

python run_no_calibrate.py  --model="text-davinci-003" --dataset="geography-spider" --num_seeds=1 --all_shots=0 --subsample_test_set=1 --api_num_log_prob=10

References

Please follow citing instruction in https://github.com/jkkummerfeld/text2sql-data and https://github.com/tonyzhaozh/few-shot-learning

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages