Machine Learning Engineer • Senior-Level
Machine Learning Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Figma
Continue with targeted prep from Figma's coding question bank.
Interview Summary
The Figma ML coding screen was conducted in a notebook and focused on BERT-based span extraction. Given a passage such as a movie review, the task was to identify the single most relevant fragment by predicting its start and end token positions.
A substantial amount of notebook scaffolding was already provided. I needed to complete the model definition, forward pass, prediction logic, loss calculation, and missing training components so that the notebook could train end-to-end to a reasonable accuracy. The interviewer explicitly wanted an encoder-style BERT solution rather than a GPT-style generative approach.
Interview Details
ML Coding — BERT Span / Keyphrase Extraction
Given a passage of text, return the most relevant contiguous span within that passage.
The expected output was represented by two token positions:
- Start index of the selected span
- End index of the selected span
The selected fragment did not have to correspond to an entire sentence.
The provided notebook required implementing a model based on a pretrained BERT encoder with a prediction layer that produces separate scores for possible start
Unlock Full Details
Create a free account to unlock this interview experience report.