Generative Ai Guide 标志

Generative Ai Guide

社区
wentorai
generative-ai-guide

涵盖 LLM 和扩散模型的生成式 AI 精选指南

概览

发布者wentorai
代码仓库research-plugins
技能名称generative-ai-guide
星标数
294
复刻数
42
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 wentorai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Generative Ai Guide AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/generative-ai-guide
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wentorai/research-plugins.git /tmp/research-plugins
mkdir -p .claude/skills
cp -r /tmp/research-plugins/skills/domains/ai-ml/generative-ai-guide .claude/skills/generative-ai-guide
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Generative Ai Guide,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Generative Ai Guide。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Generative Ai Guide 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Generative AI Guide

A skill providing a comprehensive, curated guide to generative AI research and practice, covering large language models (LLMs), diffusion models, transformer architectures, prompt engineering, and evaluation methodologies. Based on the awesome-generative-ai-guide repository (25K stars), this skill equips researchers with structured knowledge of the rapidly evolving generative AI landscape.

Overview

Generative AI has become one of the most active areas of research across computer science, with implications spanning natural language processing, computer vision, audio synthesis, code generation, scientific discovery, and creative applications. The pace of development makes it challenging for researchers to maintain a current understanding of the field. This skill provides a structured map of the generative AI landscape, organized by topic and application area, with guidance on key papers, methods, and practical considerations.

Whether you are an AI researcher staying current with the field, a domain scientist exploring how generative AI can accelerate your work, or a student entering the field, this skill provides the orientation and resources needed to navigate the space effectively.

Large Language Models

Architecture Foundations

  • Transformer architecture: self-attention mechanism, positional encoding, layer normalization
  • Scaling laws: the relationship between model size, data, compute, and performance
  • Training objectives: causal language modeling, masked language modeling, instruction tuning
  • Context windows: evolution from 512 tokens to 100K+ tokens and associated techniques
  • Mixture of Experts (MoE): sparse activation for efficient scaling

Key Model Families

  • GPT series (OpenAI): decoder-only architecture, scaling-driven approach
  • Claude series (Anthropic): emphasis on safety, instruction following, and long context
  • Llama series (Meta): open-weight models enabling community research
  • Gemini series (Google): multimodal from the ground up
  • Open-source ecosystem: Mistral, Qwen, DeepSeek, and community fine-tunes

Training Pipeline

  • Pre-training: large-scale unsupervised learning on web-scale text corpora
  • Supervised fine-tuning (SFT): training on high-quality instruction-response pairs
  • Reinforcement learning from human feedback (RLHF): aligning outputs with human preferences
  • Direct preference optimization (DPO): simplified alignment without reward models
  • Constitutional AI: self-improvement using principle-based critique

Inference Optimization

  • Quantization: reducing model precision (FP16, INT8, INT4) for faster inference
  • KV-cache optimization: efficient memory management for long sequences
  • Speculative decoding: using small models to draft and large models to verify
  • Batching strategies: continuous batching for throughput optimization
  • Serving frameworks: vLLM, TGI, and other high-performance inference engines

Diffusion Models

Core Concepts

  • Forward process: gradually adding noise to data until reaching pure noise
  • Reverse process: learning to denoise step by step to generate new data
  • Score matching: estimating the gradient of the data distribution
  • Classifier-free guidance: controlling generation fidelity and diversity
  • Latent diffusion: operating in compressed latent space for efficiency

Key Architectures

  • DDPM (Denoising Diffusion Probabilistic Models): foundational formulation
  • Stable Diffusion: latent space diffusion with text conditioning
  • DALL-E series: text-to-image generation with CLIP-based conditioning
  • Imagen: text-to-image with cascaded diffusion models
  • Video diffusion models: extending to temporal generation

Applications in Research

  • Molecular generation: designing new drug candidates and materials
  • Protein structure prediction: generating plausible protein conformations
  • Scientific data augmentation: creating synthetic training data
  • Image restoration: denoising, super-resolution, inpainting for microscopy
  • Simulation acceleration: approximating expensive physical simulations

Prompt Engineering

Fundamental Techniques

  • Zero-shot prompting: direct instruction without examples
  • Few-shot prompting: providing examples to establish the desired pattern
  • Chain-of-thought (CoT): requesting step-by-step reasoning
  • Self-consistency: sampling multiple reasoning chains and selecting the majority
  • Tree of thought: exploring multiple reasoning branches systematically

Advanced Strategies

  • ReAct (Reasoning + Acting): interleaving reasoning with tool use
  • Retrieval-augmented generation (RAG): grounding responses in retrieved documents
  • Program-aided language models: generating and executing code for precise computation
  • Structured output: constraining generation to valid JSON, XML, or other formats
  • Multi-agent prompting: orchestrating multiple LLM instances for complex tasks

Research-Specific Prompting

  • Literature synthesis: prompting for balanced integration of multiple sources
  • Hypothesis generation: structured prompts for creative scientific reasoning
  • Code debugging: providing error context and asking for systematic diagnosis
  • Data analysis: chaining prompts through exploratory analysis to interpretation
  • Writing assistance: iterative refinement prompts that preserve the author's voice

Evaluation and Benchmarks

Language Model Evaluation

  • Perplexity: intrinsic measure of model quality on held-out text
  • MMLU: massive multi-task language understanding across 57 subjects
  • HumanEval: code generation benchmark with function completion tasks
  • MT-Bench: multi-turn conversation quality assessment
  • Arena Elo: head-to-head comparison ratings from human preferences

Generation Quality Metrics

  • FID (Frechet Inception Distance): image generation quality and diversity
  • CLIP score: text-image alignment for conditional generation
  • BLEU, ROUGE: text generation overlap metrics (limited but widely used)
  • Human evaluation: gold standard requiring careful protocol design
  • Calibration: measuring whether model confidence matches actual accuracy

Safety and Alignment Evaluation

  • Red-teaming: adversarial testing for harmful outputs
  • Bias benchmarks: measuring demographic and cultural biases
  • Hallucination detection: identifying fabricated facts in generated text
  • Instruction following: measuring compliance with complex multi-step instructions
  • Robustness testing: evaluating consistency under paraphrased inputs

Integration with Research-Claw

This skill provides the Research-Claw agent with generative AI domain expertise:

  • Help researchers understand and apply generative AI techniques to their domain
  • Guide model selection based on task requirements and resource constraints
  • Assist with prompt engineering for research-specific applications
  • Connect with analysis skills for evaluating generative model outputs
  • Support writing skills with knowledge of the latest developments for literature reviews

Best Practices

  • Stay current by monitoring key conferences (NeurIPS, ICML, ICLR, ACL, CVPR) and arXiv
  • Distinguish between benchmark performance and real-world applicability
  • Consider computational costs and environmental impact when selecting models
  • Evaluate models on your specific task rather than relying solely on leaderboard rankings
  • Document prompt strategies and model versions for reproducibility
  • Be aware of the limitations: hallucination, bias, and sensitivity to prompt phrasing

常见问题

Generative Ai Guide AI 技能有什么作用?

涵盖 LLM 和扩散模型的生成式 AI 精选指南

为什么在 TypingMind 中使用 Generative Ai Guide?

因为您只需安装一次,就能搭配任何模型使用。Generative Ai Guide 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Generative Ai Guide?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/generative-ai-guide。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Generative Ai Guide?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Generative Ai Guide 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Generative Ai Guide 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Generative Ai Guide AI 技能免费吗?

是的。wentorai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇