Safe Local Human¶
This is an agent which takes input from the command line in the act
function, and applies a safety classifier to process the messages. It is used in the safe interactive script.
Basic Examples¶
Interact with a Poly-encoder model:
python parlai/scripts/safe_interactive.py -mf zoo:pretrained_transformers/model_poly/model -t convai2
LocalHumanAgent Options¶
Local Human Arguments
Argument |
Description |
---|---|
|
File of label_candidates to send to other agent |
|
If on, assumes single turn episodes. |
SafeLocalHumanAgent Options¶
Safe Local Human Arguments
Argument |
Description |
---|---|
|
Apply safety filtering to messages |
Local Human Arguments
Argument |
Description |
---|---|
|
File of label_candidates to send to other agent |
|
If on, assumes single turn episodes. |