PracHub
QuestionsCoachesLearningGuidesInterview Prep
|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

  • Self-Attention: Implementation, Complexity, and Efficient Variants - Meta (hard)
  • Machine Learning Fundamentals: Optimizers, Scaling Laws, and Clustering - Meta (hard)
  • Implement 1NN Embeddings and Forward Pass - Meta (hard)
  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • How would you design a Shop Ads ranking algorithm? - Meta (easy)
|Home/Machine Learning/Meta

Build harmful-content text classifier

Meta logo
Meta
Nov 28, 2025, 12:00 AM
mediumMachine Learning EngineerOnsiteMachine Learning
6
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
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

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,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
  • AI Coding 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.