Skip to content

predict

[ allennlp.commands.predict ]


The predict subcommand allows you to make bulk JSON-to-JSON or dataset to JSON predictions using a trained model and its Predictor wrapper.

Predict Objects#

class Predict(Subcommand)

add_subparser#

 | @overrides
 | def add_subparser(
 |     self,
 |     parser: argparse._SubParsersAction
 | ) -> argparse.ArgumentParser