Skip to content

Releases: lordzuko/intent-classification

Multilingual Intent Classification Service

22 Oct 15:27
a50c1f9

Choose a tag to compare

[v1.0.0] - 2023-10-22

Added

  • Added BERT model - bert-base-multilingual-cased from huggingface as multilingual encoder model
  • Added error handling codes for /intent endpoint as per the following specifications:
    • BODY_MISSING, 400
    • TEXT_MISSING, 400
    • INVALID_TYPE, 400
    • TEXT_EMPTY, 400
    • INTERNAL_ERROR, 500
  • Added model training and production evaluation notebook in notebooks/
  • Added Docker files
  • Added POSTMAN api documentation

Changed

  • Modifed the /ready logic with simple model is None check as the IntentClassifier does not have any ready() method.

Fixed

  • In the initial code the model was loaded after flask server was up. Moved the model loading before starting server fixed the issue.
    git

Artefacts

docker-build-1
docker-build-2
docker-run
flask-server-standalone
postman-api-documenation
postman-api-test