NCM chapter classifier

Type the description of a good bought by a Brazilian public body and see the NCM chapter (the first two digits of the Mercosur product code) a fine-tuned BERTimbau predicts: one of chapters, or outros for the rarer ones.

The model runs in your browser: the first visit downloads about 105 MB of int8 weights, then nothing leaves your machine.

Loading the model…

How good is it?

On a held-out test set of catalogue descriptions:

ModelMacro-F1Accuracy

Both models learned from catalogue entries (CATMAT); descriptions in an agency's own words, without a catalogue code, will be harder. Code and evaluation · model · dataset