class_docstr: Experiment runner.
  
  This class implements routines to train, evaluate and make predictions from models.
class_docstr_tok: ["Experiment","runner",".","This","class","implements","routines","to","train",",","evaluate","and","make","predictions","from","models","."]
code: def _set_pbar_status(pbar, stats, cum_stats):
      postfix_dict = OrderedDict(
          [
              ("Loss", "{0:7.4f}".format(stats.loss())),
              ("F1", "{0:7.2f}".format(stats.f1())),
              ("Cum. F1", "{0:7.2f}".format(cum_stats.f1())),
              ("Ex/s", "{0:6.1f}".format(cum_stats.examples_per_sec())),
          ]
      )
      pbar.set_postfix(ordered_dict=postfix_dict)
  
imports: import copy
  import logging
  import sys
  import time
  import warnings
  from collections import OrderedDict
  import pandas
  import pyprind
  import torch
  from tqdm import tqdm
  from .data import MatchingIterator
  from .optim import Optimizer, SoftNLLLoss
  from .utils import tally_parameters
label_desc: Use image node_id 3 for calling the Runner obj's underlying member method code with example usage: obj._set_pbar_status(pbar, stats, cum_stats) without return types