|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/1200-gen-ai-and-llm-interview-questions-2025/
课程评论:没有评论
课程名称:1200+ 生成 AI 与 LLM 面试问题 [2025] 课程概述: 该课程提供了超过1200道精心策划的选择题,涵盖所有生成式 AI 和大语言模型(LLMs)的关键领域。每个问题都配有详细的解释,确保学习者不仅了解正确答案,还理解其背后的推理。课程内容包括变换器架构、注意力机制、预训练与微调、提示工程、检索增强生成(RAG)、零样本/少样本学习、LLM 评估指标、部署策略等。 涵盖主题: 1. 变换器架构 - 自注意力机制 - 缩放点积注意力 - 多头注意力 - 查询、键、值操作 - 位置编码 - 残差连接与层归一化 - 编码器与解码器 2. LLM 的预训练目标 - 因果语言建模 - 遮盖语言建模 - 片段破坏 - 下一句预测 3. LLM 微调技术 - 完全微调 - LoRA、QLoRA、适配器等 4. 提示工程 - 提示设计原则 - 零样本、一次样本、少样本提示 5. LLM 评估指标与技术 - 自动评估:BLEU、ROUGE 等 - 嵌入模型评估 - 人工评估 6. 解码策略 - 贪婪解码 - 束搜索 - 采样 7. 嵌入模型与向量搜索 - 嵌入生成模型 - 相似度度量 8. 检索增强生成 - 分块策略 - 检索器架构 9. LLM 代理 - 代理框架如 LangChain 10. 服务与推理优化 - 量化技术 - 自动回归解码加速 11. 常见 LLM 失败模式 - 幻觉 - 令牌限制截断 12. LLMOps 使用 AWS 课程特别强调面试准备,确保学员为顶尖技术公司从事 LLM 相关工作做好充分准备。此外,还学习了伦理问题、AI 安全和幻觉缓解,这些在现代 AI 应用中越来越重要。该课程为从事数据科学或希望进入 NLP 及 AI 研究的学生提供了结构化、吸引人的学习体验,帮助他们在复杂的场景面试中脱颖而出。
The course offers over 1200 carefully curated multiple-choice questions covering all key areas of Generative AI and LLMs. Each question is accompanied by detailed explanations, ensuring learners understand not only the right answers but also the reasoning behind them.You will explore transformer architecture, attention mechanisms, pretraining vs. fine-tuning, prompt engineering, RAG (Retrieval-Augmented Generation), zero-shot/few-shot learning, LLM evaluation metrics, deployment strategies, and more.Topics Covered1. Transformer ArchitectureSelf-Attention MechanismScaled dot-product attentionMulti-head attentionQuery, Key, Value operationsPositional EncodingSinusoidal vs learnedResidual Connections and Layer NormalizationFeedforward layersEncoder vs DecoderCausal vs Bidirectional attentionMasked attention2. Pretraining Objectives of LLMsCausal Language ModelingMasked Language ModelingSpan CorruptionNext Sentence PredictionPrefix Language ModelingInstruction-style pretraining3. LLM Fine-Tuning TechniquesFull Fine-tuningLoRAQLoRAAdaptersPrefix TuningPrompt TuningPEFTInstruction TuningFLAN, T0, Dolly, AlpacaSFT4. Prompt EngineeringPrompt Design PrinciplesClear instructionsContext-aware phrasingZero-shot, One-shot, Few-shot promptingChain of Thought promptingSelf-Consistency DecodingReAct promptingPrompt Injection and JailbreaksAutoPrompt, Soft Prompts (Prompt Tuning)5. LLM Evaluation Metrics and TechniquesAutomatic EvaluationBLEU, ROUGE, METEOR, BERTScore, MoverScoreEmbedding-Based EvaluationCosine similarity, dot product in embedding spaceLLM-as-a-JudgeHuman EvaluationTruthfulness, coherence, relevanceHallucination detectionToxicity/Bias detection6. Decoding StrategiesGreedy DecodingBeam SearchTop-k SamplingTop-p (Nucleus) SamplingTemperature-based SamplingRepetition PenaltyContrastive DecodingMixture DecodingEvaluation of Fluency vs Diversity7. Embedding Models and Vector SearchEmbedding Generation ModelsSentence-BERTe5, GTE, InstructorOpenAI text-embedding-adaSimilarity MetricsCosine similarity, dot productVector StoresFAISS, Chroma, Weaviate, PineconeSearch MethodsDense retrievalSparse retrieval (BM25)Hybrid search8. Retrieval-Augmented GenerationChunking strategiesFixed-size, sliding window, recursive, semantic chunkingRetriever architectureVector-based, dense retrieversPrompt templates for RAGFusion-in-Decoder, FiD-RAGMemory-efficient RAGEvaluation of RAG pipelinesLatency, F1, RecallK, hallucination rate9. LLM AgentsAgent FrameworksLangChain AgentsLangGraph (State Machine)ReAct (Reason + Act)Tool use in LLMsCalculator, Search, APIsGuardrails and Error Handling10. Serving and Inference OptimizationQuantization8-bit, 4-bitGGUF formatKV CacheUsed for fast autoregressive decodingFlashAttention, xFormersDeepSpeed Inference, vLLMServing FrameworksTGI, Triton, vLLM, llama.cpp, Hugging Face Inference Endpoints11. Common LLM Failure ModesHallucinationsToken limit truncationPrompt injectionOverfitting during fine-tuningPoor RAG retrievalContext window exhaustion12. LLMOps Using AWSAnd Much More!Special emphasis is placed on interview readiness - making sure you're well-prepared for roles at top tech companies working with or on LLMs. You'll also learn about ethical concerns, AI safety, and hallucination mitigation, all of which are becoming essential in modern AI applications.Whether you're a data science professional or a student aspiring to work in NLP or AI research, this course provides a structured, engaging, and interview-focused learning experience and ace your complex scenario-based interview.