Technical practice
How does a Transformer language model generate text, and where do its main compute and memory costs arise?
What to coverSuggested preparation: explain tokenization, embeddings, attention, training objectives and autoregressive decoding rather than describing API use. Discuss how sequence length and the attention cache affect inference on constrained hardware.
How does a Diffusion model learn to generate outputs?
What to coverSuggested preparation: explain the noising and denoising process, the training objective and iterative sampling. Discuss the trade-off between sampling cost and output quality.
When might you investigate Mamba instead of a Transformer?
What to coverSuggested preparation: compare selective state-space processing with attention, including potential sequence-length and memory trade-offs. Describe what evidence you would need before choosing either architecture for a particular task.
How would you implement a newly published model paper in PyTorch within a few days?
What to coverSuggested preparation: describe how you would identify the paper’s essential components, resolve ambiguities and build a minimal implementation. Explain how small tests and baseline comparisons would help distinguish implementation errors from an ineffective idea.
How would you train or fine-tune a small language model for a specific domain task?
What to coverSuggested preparation: cover task definition, data preparation, the training objective and a PyTorch training loop. Explain how you would choose between training and fine-tuning given data, compute and performance constraints.
How would you evaluate whether a domain-specific small language model is ready for practical use?
What to coverSuggested preparation: propose task-relevant held-out examples, a baseline and checks for failures beyond an aggregate score. Evaluation criteria are an inferred preparation topic; the posting does not specify a domain, dataset or target metric.
How would you diagnose slow inference on consumer hardware?
What to coverSuggested preparation: explain how you would measure end-to-end latency and profile model computation, memory use and pipeline overhead before changing the model. Discuss how batch size or sequence length could alter the bottleneck.
How would you choose among quantization, pruning and distillation?
What to coverSuggested preparation: explain what each technique changes and how you would compare speed, memory use and task quality after optimization. The posting names all three approaches but does not require a particular one for every model.
What would you check when moving a PyTorch model through ONNX or TensorRT for inference?
What to coverSuggested preparation: discuss operator support, numerical differences, input shapes and performance benchmarking against the PyTorch version. Explain how you would investigate a conversion failure or a speedup that does not appear in end-to-end measurements.
How would you turn a promising research prototype into a maintainable product feature?
What to coverSuggested preparation: describe reproducible experiments, clear interfaces, tests and monitoring of the model’s practical behavior. Explain how you would preserve the research result while addressing reliability and inference constraints.
Behavioural practice
Tell me about a time you had to understand and implement an unfamiliar research idea quickly.
What to coverSuggested preparation: use a real situation, the steps you took to interpret and test the idea, and the result. Be clear about what you implemented yourself and what remained uncertain.
Tell me about an AI experiment that did not produce the result you expected.
What to coverSuggested preparation: describe the hypothesis, your diagnostic actions and the outcome or change in direction. Focus on evidence you used to separate a flawed implementation from a flawed approach.
Tell me about a time you moved experimental code toward production use.
What to coverSuggested preparation: give the situation, the engineering changes you made and the result. If others were involved, distinguish your actions from the team’s work; this is a suggested scenario based on the role’s research-to-production responsibility.
Tell me about a time you balanced model quality against a speed or hardware constraint.
What to coverSuggested preparation: explain the constraint, the options you considered, your decision and its measured result. If your example was not on consumer hardware, state that distinction rather than implying it was.