Skip to content

Investigating choice of examples for in-context learning

License

Notifications You must be signed in to change notification settings

SuperAce100/SketchAgent

 
 

Repository files navigation

SketchAgent with In-Context Learning

Forked from yael-vinker/sketch-agent

Setup

conda env create -f mac-environment.yml

Download dataset:

mkdir .data; cd .data; mkdir quickdraw; cd quickdraw; mkdir simplified; cd simplified;
gsutil -m cp -r gs://quickdraw_dataset/full/simplified/* .

Setup .env file:

Add your OpenAI API key to the .env file:

Usage

In Context Learning:

python icl_sketch.py --concept "airplane" --examples 3

Simple Sketch:

python simple_sketch.py --concept "airplane"

Read more about the DSL

About

Investigating choice of examples for in-context learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.6%
  • HTML 29.4%