Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute interact.py #7

Open
passing2961 opened this issue May 11, 2021 · 1 comment
Open

Execute interact.py #7

passing2961 opened this issue May 11, 2021 · 1 comment

Comments

@passing2961
Copy link

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

@andreamad8
Copy link
Owner

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: #2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants