100CRF vs HMM for sequence labeling: generative or discriminative?▼hardGoogleMicrosoftAmazon2 replies◆ premiumAn HMM is generative and assumes independent emissions. A CRF is discriminative, so it takes arbitrary overlapping features. Both decode with Viterbi.Open full answer →
44Design 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 →