Skip to content

#244 Text Analysis Tutorial: Setup & Template Walkthrough#268

Open
bartleyn wants to merge 2 commits intomainfrom
244-setup-template-tutorial
Open

#244 Text Analysis Tutorial: Setup & Template Walkthrough#268
bartleyn wants to merge 2 commits intomainfrom
244-setup-template-tutorial

Conversation

@bartleyn
Copy link

@bartleyn bartleyn commented Feb 24, 2026

This PR address issue 244 by adding a tutorial directory and a first tutorial set of notebooks:

  • 01_setup_and_eda.ipynb
  • 02_train_and_evaluate.ipynb
  • 03_serve_and_predict.ipynb

This includes a set of source scripts as well to run the FastAPI model locally, with instructions in the 3rd notebook.

This tutorial shows the following:

  1. gets the nlp311 environment setup
  2. shows some EDA for the AG_news dataset
  3. trains a simple Logistic Regression model for the three labels
  4. shows how to use MLFlow to log and compare model performance
  5. shows how you can use FastAPI to 'host' the model and give predictions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant