justinchiu / onecommon-gpt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onecommon-gpt

Installation

pip install -e .

Prompts

Full prompt

SPC prompts

Reformat: Rewrite partner utterances to correct typos and formatting.

Classify: Classify the dialogue act and any reference to previous turns.

Confirm: Classify whether the partner said yes or no to a previous question.

Constraint generation: Generate the constraints.

Execution template: Take the output of previous prompts and turn them into a program.

GPT4 w/o codegen prompt

Selfplay

After installation, clone the repo justinchiu/onecommon and run bash onecommon/aaai2020/experiments/jc_run_gpt_selfplay.sh.

Round-trip

Run python scripts/generation_playground2.py.

About


Languages

Language:Python 77.7%Language:Jinja 22.2%Language:Shell 0.0%