hs-code-classifier (ShahinHasanov90)
TF-IDF and LightGBM HS code classifier with a FastAPI service for English, Russian and Azerbaijani text.
What it does
Predicts Harmonised System chapter, heading and subheading codes from goods descriptions in English, Russian or Azerbaijani, using TF-IDF features and LightGBM, served as a FastAPI service. It needs Python 3.9 or later and a trained model file; the README names customs brokers, trade compliance teams and logistics platforms. The accuracy figures are the author's own held-out test; MIT.
Where it fits on the map
Not on the map: a demo.
The map places maintained projects for a company tax department or a tax authority, without a demo or paid-service flag. Everything else stays on the list with its label.
Similar projects
Of the same kind, for a shared jurisdiction or tax area. Not a ranking.
- gemma4-hscode-classifierLoRA adapter classifying product descriptions to 8-digit HS codes with Cambodian trade rates; adapter only.
- hs-code-classifier-en (Kenpache)HS6 classifier fine-tuned from bge-m3 (71.9% top-1 on full descriptions in its test set), with weights.
- hscode-classifier-en (ENTUM-AI)Deep-learning HS code classifier for English product descriptions, with weights.
- hscodeclassifyModernBERT classifier of product descriptions into the 20 HS chapters; chapter level only.
- UK Trade Tariff FPO commodity searchMachine-learning service from the UK tariff team that suggests commodity codes from parcel descriptions.
- AI-Powered-Tax-OptimizationRandom Forest model and Flask API that return one optimised tax figure from nine financial inputs.Inactive since 2024Demo
Maintain this project?
Link to this page from your README, so readers find the facts, the notes and where it fits. The badge is a small SVG served from this site.
[](https://tax-oss.com/projects/hs-code-classifier-shahin/)