AI 工程编码
Implement an LLM output guardrails system that checks for off-topic responses and PII leakage.
原题Build a multi-agent system where agents have different roles and collaborate on a task.
原题Implement scaled dot-product attention with a causal mask from scratch (NumPy or PyTorch).
原题Implement multi-head attention, then convert it to grouped-query attention.
原题Implement a KV cache and single-step decode for causal multi-head attention.
原题Implement BPE (Byte Pair Encoding) training and encoding from scratch.
原题Implement top-k, top-p, and temperature sampling over a logits vector.
原题Implement an LRU cache with O(1) get/put, then add per-entry TTL.
原题Implement a token-bucket rate limiter for an LLM API where cost scales with tokens, then make it distributed.
原题Write an async batch processor that runs an LLM call over 50,000 documents with a concurrency limit, retries with jitter, and error isolation.
原题
暂无题目