Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to build a multi-label sentiment classifiers with Tez and PyTorch

License

NotificationsYou must be signed in to change notification settings

ahmedbesbes/multi-label-sentiment-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If you're tired of rewriting the same boilerplate code of your training pipelines in PyTorch, I've found a pretty neat solution that could make your life easier. Don't worry, it's not a heavy library that'll change your way of doing things.

It's rather a lightweight wrapper that encapsulates your training logic in a single class. It's built on top of PyTorch, it's quite recent but I've tested it and I think it does what it promises so far.

It's called Tez and we'll see it today in action on a fun multi-label text classification problem. Let's jump right in.

Things that will be covered

  • Using the Datasets library to load and manipulate go_emotions data
  • Defining the training pipeline with Tez
  • Training a SqueezeBert lightweight model for a multi-label classification problem and reaching +0.9 AUC on validation and test data

Things that will be done next (PR are welcome)

  • Deploying the model
  • Crafting a small UI with React or Streamlit

Link to the trained model

Download it here

About

How to build a multi-label sentiment classifiers with Tez and PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp