100When would you use a CRF instead of an HMM for sequence labeling, and why?▼hardGoogleMicrosoftAmazon2 replies◆ premiumBoth tag sequences, but one is generative and one is discriminative, and that difference decides whether you can throw in overlapping features. Here is the comparison that shows you know the modeling tradeoff, not just the acronyms.Open full answer →
43Design a query understanding system for search.▼hardGoogleAmazonMicrosoft1 replies◆ premiumQuery understanding is the front end of search that turns a raw query into structured intent. Get it wrong and even a perfect index returns garbage. The signal is the pipeline and how you measure it. Here is the design.Open full answer →
18How do you detect and redact PII in text at scale (for LLM inputs, logs, and training data)?▼mediumMicrosoftGoogleAmazon2 replies○ sign inDetection is imperfect, so the strong answer is layered: regex with checksums for structured PII, ML/NER for the unstructured PII regex cannot see, and a frank account of why you never rely on redaction alone. Here is the answer.Open full answer →