Train & Serve a Model

The SMS Spam project is used as a running example. Start this exercise by investigating the corresponding GitHub repository and perform the following tasks:

  • Read the instructions of the README.md.
  • Locate the spots in the repository that have been covered by todays exercises.
  • Understand how the trained model is integrated into Flask (see src/serve_model.py).
  • Study the Dockerfile to understand how the image is built.

These tasks should provide you with a good understanding of the projects structure and organization. Now, follow the instructions of the SMS Spam project to build and run a local image. Ultimately, you should be able to query the model via that Swagger UI that is accessible via localhost:8080/apidocs.


Last modified on Jun 27, 2023 at 21:59.