Hexagonal icon that says Tonks and has five different hairstyles pictured all in neon colors.

Tonks: Building One (Multi-Task) Model to Rule Them All!

Intro

What is Tonks?

Initial R&D

Graphic showing multi-dataset multi-task training pipeline.

Refactoring the Code

Screenshot of Github Pull Request (PR) with the title “DS 1420 train dress model”. The PR has 74 commits and 33 changed files
Github Pull Request for the PR where I (Nicole) refactored everything. As you can see by the initial name, I was only supposed to train a new model, not change all 33 files in the library!
Michael and Nicole shaking fists towards each other in mock anger from two panels of a zoom call.
Michael and Nicole shaking fists towards each other from two panels of a zoom call.

Adding a New Attribute

Network diagram showing an architecture where all tasks were built from single image and text models and ensembled
Example of an original attribute model architecture with two attributes: Color and Season.

Multiple ResNets

Network diagram where separate image networks’ features are ensembled with a BERT model for final predictions.
Example of a multiple ResNet ensemble model where tasks are separated if they cause destructive interference.

Conclusion

Michael and Nicole pointing finger guns at each other and smiling from two Zoom panels.
Michael and Nicole pointing finger guns at each other from two Zoom panels.

--

--

data scientist, gamer, martial artist, photographer, and chef… also part time house cat. https://www.linkedin.com/in/michael-sugimura-b8120940/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store