Skip to content

jsoma/nicar23-huggingface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical Machine Learning for Everyone

Download all of the necessary data

Links

Walkthrough

Most of what we're doing in class today is inside of the notebooks folder, but chances are if you get lose, you're going to get lost when we're clicking around and building a classifier! So here you go, the walkthrough for building a custom text classifier:

Building a binary text classifier

A binary text classifier predicts yes or no.

  • Is this comment toxic? Yes or no?
  • Is this email about secret crime? Yes or no?

The Washington Post used one in Apple says its App Store is ‘a safe and trusted place.’ We found 1,500 reports of unwanted sexual behavior on six apps, some targeting minors., and you can build your own!

  1. Visit the Hugging Face AutoTrainer
  2. Create a new project
  3. Name your project and select text classification > binary classification
  4. Upload your data
  5. Select your text column and your target column (the one with the yes or no answers)
  6. Click Add to Project, then Go to trainings once it's ready.
  7. It might take a moment to finish processing, but once it's finished click Start models training. 5 models should be fine!
  8. Wait for the training to finish (it can take a few minutes)
  9. Before you pick your favorite, check the Metrics tab to see which model is the best for you! Accuracy isn't everything!!!

Notebooks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published