Skip to content

print_results

allennlp.commands.print_results

[SOURCE]


The print-results subcommand allows you to print results from multiple allennlp serialization directories to the console in a helpful csv format.

PrintResults#

@Subcommand.register("print-results")
class PrintResults(Subcommand)

requires_plugins#

class PrintResults(Subcommand):
 | ...
 | requires_plugins: bool = False

add_subparser#

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

def print_results_from_args(args: argparse.Namespace)

Prints results from an argparse.Namespace object.