Skip to content

Leading spaces should be preserved in Ponos logs

This training process has a cool table at the end of its logs. These are the raw logs:

E    #       LOSS TOK2VEC  LOSS PARSER  LOSS NER  DEP_UAS  DEP_LAS  SENTS_F  ENTS_F  ENTS_P  ENTS_R  SCORE 
---  ------  ------------  -----------  --------  -------  -------  -------  ------  ------  ------  ------
  0       0          0.00         0.00    190.80     0.00     0.00     0.00    0.00    0.00    0.00    0.00
  0     200       9437.23         0.00  11449.87     0.00     0.00     0.00   42.91   54.46   35.40    0.33
  0     400       1630.39         0.00   4658.67     0.00     0.00     0.00   54.24   61.84   48.31    0.41

And these are the logs in the frontend, where the nice right-alignment on each column is broken 😿

image