User Intent Classification Model

May 2026

My final project for Data Science course "Data By Design." After writing this paper with another student on anthropomorphic AI and producing several solutions to improve explainability in modern machine learning models, this project acted as an extension of that idea where I attempted to examine how well a model could "understand" user intent.

Using a document database, I stored 40,000+ documents which held user prompts and intents that were labeled and categorized for training the model in MongoDB. After using RoBERTaforSequenceClassification for multi-class classification, the F1 scores for each category were calculated. The model did exceptionally well on common intent categories, such as information extraction, but did poorly on rare ones due to class imbalance.

Find the complete project here.

Tools/ Skills: Python, MongoDB, Machine Learning