SquadMetricReporter.ConfigΒΆ

Component: SquadMetricReporter

class SquadMetricReporter.Config[source]

Bases: MetricReporter.Config

All Attributes (including base classes)

output_path: str = '/tmp/test_out.txt'
pep_format: bool = False
student_column_names: list[str] = []
log_gradient: bool = False
n_best_size: int = 5
max_answer_length: int = 16
ignore_impossible: bool = True
false_label: str = 'False'

Default JSON

{
    "output_path": "/tmp/test_out.txt",
    "pep_format": false,
    "student_column_names": [],
    "log_gradient": false,
    "n_best_size": 5,
    "max_answer_length": 16,
    "ignore_impossible": true,
    "false_label": "False"
}