AI 工程编码

题集来源:AMIT SHEKHAR(amitshekhariitbhu)收录项目:ai-engineering-interview-questions查看原题集

题目目录

32 道原题
  1. Implement an LLM output guardrails system that checks for off-topic responses and PII leakage.

    原题
  2. Build a multi-agent system where agents have different roles and collaborate on a task.

    原题
  3. Implement scaled dot-product attention with a causal mask from scratch (NumPy or PyTorch).

    原题
  4. Implement multi-head attention, then convert it to grouped-query attention.

    原题
  5. Implement a KV cache and single-step decode for causal multi-head attention.

    原题
  6. Implement BPE (Byte Pair Encoding) training and encoding from scratch.

    原题
  7. Implement top-k, top-p, and temperature sampling over a logits vector.

    原题
  8. Implement an LRU cache with O(1) get/put, then add per-entry TTL.

    原题
  9. Implement a token-bucket rate limiter for an LLM API where cost scales with tokens, then make it distributed.

    原题
  10. Write an async batch processor that runs an LLM call over 50,000 documents with a concurrency limit, retries with jitter, and error isolation.

    原题