Skip to content

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

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

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

Conversation

@bartleyn
Copy link
Copy Markdown

@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

Copy link
Copy Markdown
Member

@chinaexpert1 chinaexpert1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He has ran it before and will thoroughly test it again before merging.

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.

2 participants