Notes from reading the card: aggregate validation metrics and label names in config

#1
by japan-opendata - opened

Hi, thanks for publishing this โ€” a 4-level keigo classifier is a neat, well-scoped use case, and I read the card and repo files in detail before writing this.

A few concrete things I noticed:

  1. The training setup is unusually transparent for a small model: the KeiCO distribution is close to balanced (2,044โ€“2,692 sentences per level, no oversampling or class weighting), and the 85/15 split is stratified by label. That makes the missing piece stand out more โ€” the Evaluation Results section only shows 5 sample inferences, with no aggregate accuracy or macro-F1 on that 15% validation split. Would you be able to add aggregate (and ideally per-class) scores? The boundary I would most expect confusion on is Level 1 vs Level 2 (sonkeigo-dominant vs standard honorific), and per-class numbers would show whether that is actually where the errors sit.

  2. The sample table lines up nicely with your own Limitations note: the two Level 2 passes are shown at 0.598 and 0.557 confidence, i.e. both under the 0.60 threshold where you suggest flagging a passing result for human review, while the Level 4 examples sit at 0.993โ€“0.996. It was good to see the borderline behaviour documented rather than only the confident cases.

  3. One small practical point: in config.json, id2label is still the generic LABEL_0 / LABEL_1 / LABEL_2 / LABEL_3, so anyone loading the model with a plain pipeline gets opaque labels back and has to copy the LEVEL_MAP from the README (which, to be fair, the card does provide in full). Setting id2label to the level names (ๆœ€้ซ˜ๆ•ฌ่ชž / ๆ•ฌ่ชž / ไธๅฏง่ชž / ๆ™ฎ้€š่ชž) would make the raw pipeline output self-explanatory.

I also checked tokenizer_config.json and confirmed mecab_kwargs is set to unidic_lite, matching the note in the installation section โ€” that kind of detail saves a lot of silent tokenization mismatches.

Curious whether you have looked at Level 1 vs 2 confusion specifically, or whether the validation split was mostly used for monitoring during the 5 epochs.

Sign up or log in to comment