PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Machine Learning/Meta

Build harmful-content text classifier

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competence in designing an end-to-end machine learning pipeline for binary text classification, covering data understanding and labeling quality, preprocessing, model selection and training, evaluation and thresholding, handling class imbalance and ambiguous labels, and deployment considerations including latency, monitoring, and safety. Commonly asked in the Machine Learning domain, it gauges both practical application skills and conceptual understanding by testing an engineer's ability to balance model performance, evaluation metrics, and operational constraints in real-world NLP and safety-sensitive systems.

  • medium
  • Meta
  • Machine Learning
  • Machine Learning Engineer

Build harmful-content text classifier

Company: Meta

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Onsite

You are given a text dataset and asked to build a model that predicts whether a piece of content is **harmful** (binary classification). ## Task - Propose an end-to-end approach to train and evaluate a classifier (you may assume you can fine-tune a pretrained Transformer). ## What to cover - Data understanding, labeling quality, and preprocessing - Model choice and training procedure - Evaluation metrics and thresholding - Handling class imbalance and ambiguous labels - Deployment considerations: latency, monitoring, safety/abuse, and model updates

Quick Answer: This question evaluates a candidate's competence in designing an end-to-end machine learning pipeline for binary text classification, covering data understanding and labeling quality, preprocessing, model selection and training, evaluation and thresholding, handling class imbalance and ambiguous labels, and deployment considerations including latency, monitoring, and safety. Commonly asked in the Machine Learning domain, it gauges both practical application skills and conceptual understanding by testing an engineer's ability to balance model performance, evaluation metrics, and operational constraints in real-world NLP and safety-sensitive systems.

Related Interview Questions

  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • How would you design a Shop Ads ranking algorithm? - Meta (easy)
  • Derive Linear Regression Solution - Meta (medium)
  • Explain key ML metrics and techniques - Meta (medium)
  • Design an ad recommendation ranking approach - Meta (easy)
Meta logo
Meta
Nov 28, 2025, 12:00 AM
Machine Learning Engineer
Onsite
Machine Learning
4
0
Loading...

You are given a text dataset and asked to build a model that predicts whether a piece of content is harmful (binary classification).

Task

  • Propose an end-to-end approach to train and evaluate a classifier (you may assume you can fine-tune a pretrained Transformer).

What to cover

  • Data understanding, labeling quality, and preprocessing
  • Model choice and training procedure
  • Evaluation metrics and thresholding
  • Handling class imbalance and ambiguous labels
  • Deployment considerations: latency, monitoring, safety/abuse, and model updates

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Meta•More Machine Learning Engineer•Meta Machine Learning Engineer•Meta Machine Learning•Machine Learning Engineer Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.