parlai.core.script¶
The general ParlAI Script interface.
An abstract class to help standardize the call to ParlAI scripts, enabling them to be completed easily.
Also contains helper classes for loading scripts, etc.
-
parlai.core.script.
setup_script_registry
()[source]¶ Loads the scripts so that @register_script is hit for all.
-
class
parlai.core.script.
ParlaiScript
(opt: parlai.core.opt.Opt)[source]¶ Bases:
object
A ParlAI script is a standardized form of access.
-
abstract classmethod
setup_args
() → parlai.core.params.ParlaiParser[source]¶ Create the parser with args.
-
abstract classmethod