Back to projects

BERTBERT

Multi-tower deep learning model for restaurant review classification

Aug 2025 · Hackathon prototype

PyTorchPythonDeep LearningNLP

Overview

Developed for TikTok TechJam 2025, BERTBERT is a multi-tower deep learning architecture designed to classify restaurant feedback from reviews. The model processes over 100K reviews while handling severe class imbalance in the training data.

Technical Highlights

  • Multi-Tower Architecture: Designed a cross-attention architecture that processes text reviews alongside 20 metadata inputs (rating, time, location, user history, etc.) for more accurate classification.

  • Custom Labelling Solution: Built a domain-specific labelling pipeline to prepare training data, separating the label-generation stage from the final review classifier.

  • Class Imbalance Handling: Implemented specialized sampling and loss weighting strategies to handle the severe class imbalance inherent in review datasets where most reviews are positive.

Scale

The project worked with a review corpus of 100K+. Corpus size is distinct from the subset used to train the final model. This summary does not claim a verified head-to-head benchmark against GPT-4o.