PPCM icon indicating copy to clipboard operation
PPCM copied to clipboard

Execute interact.py

Open passing2961 opened this issue 3 years ago • 1 comments

Hi,

When I run interact_adapter.py, I used the below shell script.

#!/bin/bash

python3 main.py -D sentiment --label_class 2 --length 30 --num_samples 10 --interact --verbose --sample_starter 10 --load_check_point_adapter runs/very_positive_0/pytorch_model.bin

This code only considers the model with the positive adapter. But, this code does not consider other trained adapters, such as training with daily dialogue dataset or negative adapter.

How to consider various adapters simultaneously?

Because I try to use this for a demo on the web by using Flask API.

Thanks Young-Jun Lee

passing2961 avatar May 11 '21 06:05 passing2961

Hi,

if you want an interactive script, please refer to the AdapterBot Demo and AdapterBot Repo where we release a better interactive script.

Check also this issue for more information: https://github.com/andreamad8/PPCM/issues/2#issuecomment-818761766

andreamad8 avatar May 11 '21 07:05 andreamad8