Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.13 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.13 KB

Code for "Few-shot Dialogue Strategy Learning for Motivational Interviewing via Inductive Reasoning"

  • File diretory structure:

    • train_agent.py
      • for learning dialogue strategies
    • inference.py
      • for evaluating dialogue strategies
    • tom_detector.py
      • util functions for indexing experiences (strategies) with user mental state, that inferred user mental state
    • utils
      • building blocks, should be readable
    • AnnoMI
      • The dataset (also, the code we used to split the data)
  • Getting Started

    • Fill out the assets.py in appendix, it needs
      • your OPENAI api key
      • path to a huggingface-compatible classifier (like BERT, see below)
  • Obtaining the dialogue act classifier: