PPCM
PPCM copied to clipboard
Execute interact.py
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
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