Text Classification
Scikit-learn
Portuguese
ncm
classificacao-fiscal
agronegocio
scikit-learn
skops
tfidf
Instructions to use AmandaGondra/ncm-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use AmandaGondra/ncm-classifier with Scikit-learn:
# ⚠️ Model filename not specified in config.json
- Notebooks
- Google Colab
- Kaggle
Download preprocessing/configuration.json from AmandaGondra/ncm-classifier: direct link, hf CLI and curl.
- Browser
- Download file 647 Bytes
-
https://huggingface.co/AmandaGondra/ncm-classifier/resolve/main/preprocessing/configuration.json
- Command line
-
hf download hf://AmandaGondra/ncm-classifier/preprocessing/configuration.json
-
curl -L -o configuration.json https://huggingface.co/AmandaGondra/ncm-classifier/resolve/main/preprocessing/configuration.json
647 Bytes
| { | |
| "normalization": "ncm_classifier.text.normalize.normalize_text", | |
| "applied_by": "both TF-IDF vectorizers of the pipeline (preprocessor)", | |
| "steps": [ | |
| "Unicode NFKC, lowercase, accents removed", | |
| "fertilizer formulas standardized (NPK 20 05 20 -> npk 20-05-20)", | |
| "decimal commas, units and abbreviations standardized", | |
| "punctuation and extra spaces removed" | |
| ], | |
| "rule_31_05": { | |
| "module": "ncm_classifier.rules.small_package", | |
| "applied_after": "calibration", | |
| "limit_kg": 10.0, | |
| "target": "3105" | |
| }, | |
| "package": "ncm-classifier @ git+https://github.com/amanda-gondra/ncm-classifier@v0.1.0" | |
| } | |