textcat: 2-level hierarchical classification

I'm wondering if you may have forgotten to update either the custom.js or template.jinja2.

I created a reproducible example here:

Note that I generalized it a bit by passing the labels as a labels.jsonl file within the command.

Can you try this? It seemed to work fine for me.

textcat-hierarchical
i

1 Like