Learning Scenario Prompts
Concept Explanation
Simplify Complex Concepts
Use Case: Understand complex concepts
Prompt Template:
Please explain [concept name] in simple, easy-to-understand terms.
Requirements:
1. Use analogies and comparisons
2. Avoid technical jargon
3. Provide practical examples
4. Explain step-by-step
5. Suitable for [reader level] to understand
Please use the following structure:
1. Simple definition
2. Analogy explanation
3. Practical examples
4. Key points
5. Common questionsExample Input:
Please explain "Transformer architecture" in simple, easy-to-understand terms.
Requirements:
1. Use analogies and comparisons
2. Avoid technical jargon
3. Provide practical examples
4. Explain step-by-step
5. Suitable for beginners to understand
Please use the following structure:
1. Simple definition
2. Analogy explanation
3. Practical examples
4. Key points
5. Common questionsExample Output:
## 1. Simple Definition
Transformer is a technology that helps AI better understand language. Just like when we read an article, we can focus on all the content at once, rather than word by word. Transformer enables AI to do the same.
## 2. Analogy Explanation
Imagine you're reading a book:
**Traditional Method (RNN)**:
- You must start from page one, reading word by word
- By the time you reach the end, you might have forgotten the beginning
- To review earlier content, you must flip back
**Transformer Method**:
- You can see the entire book's content at once
- When reading any part, you can see all other related content
- No need to flip back, all content is in front of you
This is Transformer's core: letting AI "see" the entire content at once, rather than processing "word by word".
## 3. Practical Examples
**Example 1: Understanding Sentences**
Sentence: "The cat sat on the mat"
When AI reads the word "mat":
- Traditional method: Might have forgotten "cat"
- Transformer: Knows the relationship between "mat" and "cat"
**Example 2: Translation**
Chinese: "我喜欢人工智能"
When translating to English:
- Transformer considers all words simultaneously
- Knows "我" corresponds to "I", "喜欢" corresponds to "like"
- Understands the sentence as a whole
## 4. Key Points
1. **Parallel Processing**
- Process all content simultaneously
- No need for word-by-word processing
2. **Global Understanding**
- See entire content
- Understand all relationships
3. **Attention Mechanism**
- Know which words are important
- Understand relationships between words
4. **Efficient Learning**
- Learn faster
- Understand deeper
## 5. Common Questions
**Q: What's the difference between Transformer and traditional methods?**
A: Traditional methods are like reading word by word; Transformer is like seeing the entire page at once.
**Q: Why is Transformer better?**
A: Because it can see all content simultaneously, understanding is more comprehensive, learning is more efficient.
**Q: What can Transformer do?**
A: Understand language, translate text, generate content, etc. It's the foundation of modern AI.
**Q: Is learning Transformer difficult?**
A: Understanding the concept isn't hard, but deep implementation requires some math and programming foundation.Notes:
- Adjust explanation depth based on reader level
- Use life-like analogies
- Provide multiple examples
- Avoid over-simplification
Variation Suggestions:
- Ask to explain for specific background readers
- Ask about practical applications of the concept
- Ask to add visualization suggestions
Learning Plans
Create Learning Paths
Use Case: Plan systematic learning paths
Prompt Template:
Please create a learning plan for [topic] for me.
Learning background:
- Current level: [level description]
- Learning goals: [goal description]
- Available time: [time arrangement]
- Learning method: [self-study/courses/practice etc.]
Please provide:
1. Learning stage division
2. Learning content for each stage
3. Recommended learning resources
4. Time arrangement suggestions
5. Assessment methodsExample Input:
Please create a "Python programming" learning plan for me.
Learning background:
- Current level: Complete beginner
- Learning goals: Be able to independently develop small projects
- Available time: 10 hours per week
- Learning method: Self-study + practice
Please provide:
1. Learning stage division
2. Learning content for each stage
3. Recommended learning resources
4. Time arrangement suggestions
5. Assessment methodsExample Output:
## 1. Learning Stage Division
**Stage 1: Basics Introduction (4 weeks)**
- Python basic syntax
- Basic data types
- Control flow
**Stage 2: Advanced Learning (6 weeks)**
- Functions and modules
- Object-oriented programming
- File operations
**Stage 3: Practical Practice (6 weeks)**
- Common library usage
- Small project development
- Debugging and optimization
**Stage 4: Project Implementation (8 weeks)**
- Complete project development
- Version control
- Deployment and launch
## 2. Learning Content for Each Stage
### Stage 1: Basics Introduction
**Week 1-2: Basic Syntax**
- Variables and data types
- Operators
- Input and output
**Week 3-4: Control Flow**
- Conditional statements
- Loop statements
- Exception handling
### Stage 2: Advanced Learning
**Week 5-6: Functions and Modules**
- Function definition and calling
- Parameter passing
- Module importing
**Week 7-8: Object-Oriented**
- Classes and objects
- Inheritance and polymorphism
- Encapsulation
**Week 9-10: File Operations**
- File reading and writing
- JSON processing
- Exception handling
### Stage 3: Practical Practice
**Week 11-13: Common Libraries**
- NumPy
- Pandas
- Matplotlib
**Week 14-16: Small Projects**
- Data analysis projects
- Web scraping
- Automation scripts
### Stage 4: Project Implementation
**Week 17-20: Complete Project**
- Project planning
- Feature implementation
- Testing and optimization
**Week 21-24: Deployment and Launch**
- Version control
- Deployment tools
- Documentation writing
## 3. Recommended Learning Resources
**Online Courses**:
- Coursera: Python for Everybody
- edX: Introduction to Python
- Tutorial websites: Python tutorials
**Books**:
- "Python Crash Course"
- "Python Core Programming"
- "Fluent Python"
**Practice Platforms**:
- LeetCode: Algorithm practice
- GitHub: Project practice
- Kaggle: Data analysis
## 4. Time Arrangement Suggestions
**Weekly 10-hour allocation**:
- Learning new knowledge: 4 hours
- Practical practice: 4 hours
- Review and summary: 2 hours
**Daily arrangement** (weekdays):
- Learning: 1 hour
- Practice: 1 hour
**Weekend arrangement**:
- Learning: 2 hours
- Practice: 4 hours
- Review: 2 hours
## 5. Assessment Methods
**Stage Tests**:
- Small test after each stage
- Complete assigned practice problems
- Develop small projects
**Project Assessment**:
- Code quality
- Feature completeness
- Documentation completeness
**Final Assessment**:
- Independently complete a full project
- Complete project features
- Standard code
- Complete documentation
## Learning Suggestions
1. **Consistent Practice**
- Write code every day
- Don't just watch, practice
2. **Hands-on Practice**
- Do more projects
- Solve real problems
3. **Seek Help**
- Join learning communities
- Ask questions when stuck
4. **Continuous Learning**
- Follow new technologies
- Constantly improve codeNotes:
- Adjust plan based on individual circumstances
- Maintain plan flexibility
- Regularly evaluate and adjust
- Focus on practical application
Variation Suggestions:
- Ask to add specific project examples
- Ask about criteria for selecting learning resources
- Ask to add FAQ section
Knowledge Organization
Mind Maps
Use Case: Systematically organize knowledge structure
Prompt Template:
Please create a mind map for [topic].
Requirements:
1. Include main concepts
2. Show relationships between concepts
3. Clear hierarchy
4. Suitable for [reader level]
Please provide:
1. Text-based mind map
2. Main concept explanations
3. Concept relationship explanationsExample Input:
Please create a mind map for "machine learning".
Requirements:
1. Include main concepts
2. Show relationships between concepts
3. Clear hierarchy
4. Suitable for beginners
Please provide:
1. Text-based mind map
2. Main concept explanations
3. Concept relationship explanationsExample Output:
## 1. Mind Map (Text Format)Machine Learning ├── Basic Concepts │ ├── What is Machine Learning │ ├── Learning Types │ │ ├── Supervised Learning │ │ ├── Unsupervised Learning │ │ └── Reinforcement Learning │ └── Basic Process │ ├── Data Collection │ ├── Feature Engineering │ ├── Model Training │ └── Model Evaluation ├── Common Algorithms │ ├── Linear Regression │ ├── Decision Trees │ ├── Support Vector Machines │ ├── Neural Networks │ └── Deep Learning └── Application Areas ├── Computer Vision ├── Natural Language Processing ├── Recommendation Systems └── Anomaly Detection
## 2. Main Concept Explanations
### What is Machine Learning
Let computers learn patterns from data, rather than through explicit programming. Like teaching a child to recognize apples, not by telling it "apples are round and red", but by showing it many apple photos and letting it summarize the patterns itself.
### Learning Types
**Supervised Learning**
- Has labeled data
- Has correct answers
- Like a teacher teaching students
**Unsupervised Learning**
- No labeled data
- No correct answers
- Like a child exploring on their own
**Reinforcement Learning**
- Learns through rewards and punishments
- Like training a pet
- Suitable for decision problems
### Basic Process
1. **Data Collection**
- Collect relevant data
- Ensure data quality
2. **Feature Engineering**
- Extract useful features
- Transform data format
3. **Model Training**
- Choose algorithm
- Train model
4. **Model Evaluation**
- Test model performance
- Optimize model
## 3. Concept Relationship ExplanationsBasic Concepts ──→ Common Algorithms ──→ Application Areas │ │ └────Learning Types──┘
**Relationship Explanations**:
1. **Basic Concepts → Common Algorithms**
- Understanding basic concepts is prerequisite to learning algorithms
- Different algorithms suit different scenarios
2. **Common Algorithms → Application Areas**
- Algorithms are tools for solving problems
- Different fields use different algorithms
3. **Learning Types → Common Algorithms**
- Different learning types have corresponding algorithms
- E.g., supervised learning has linear regression, decision trees, etc.
4. **Overall Relationships**
- Basic concepts are theoretical foundation
- Learning types are methodology
- Common algorithms are tools
- Application areas are practiceNotes:
- Maintain clear structure
- Clear concept hierarchy
- Clear relationships
- Easy to understand
Variation Suggestions:
- Ask to add specific examples
- Ask about learning order of concepts
- Ask to add visualization suggestions
Q&A Tutoring
Answer Questions and Clear Doubts
Use Case: Resolve learning questions
Prompt Template:
I have the following question, please help me answer it:
[problem description]
My understanding:
[my understanding]
Please provide:
1. Correct answer
2. Detailed explanation
3. Related examples
4. Extended knowledgeExample Input:
I have the following question, please help me answer it:
Question: What's the difference between lists and tuples in Python?
My understanding:
- Lists use [], tuples use ()
- Lists can be modified, tuples cannot
Please provide:
1. Correct answer
2. Detailed explanation
3. Related examples
4. Extended knowledgeExample Output:
## 1. Correct Answer
Your understanding is basically correct! Main differences between lists and tuples:
- **Lists**: Mutable, created with []
- **Tuples**: Immutable, created with ()
## 2. Detailed Explanation
### Lists
**Characteristics**:
- Mutable: Can add, delete, modify elements
- Ordered: Elements stored in order
- Allow duplicates: Elements can be repeated
- Flexible: Can contain different types of data
**Use Cases**:
- Data that needs frequent modification
- Data volume may change
- Need dynamic operations
### Tuples
**Characteristics**:
- Immutable: Cannot be modified after creation
- Ordered: Elements stored in order
- Allow duplicates: Elements can be repeated
- Lightweight: Occupy less memory than lists
**Use Cases**:
- Data that doesn't need modification
- As dictionary keys
- Return multiple values
## 3. Related Examples
### List Example
```python
# Create list
fruits = ["apple", "banana", "cherry"]
# Add element
fruits.append("orange")
# Modify element
fruits[0] = "pear"
# Delete element
fruits.remove("banana")
print(fruits) # ['pear', 'cherry', 'orange']Tuple Example
# Create tuple
colors = ("red", "green", "blue")
# Access element
print(colors[0]) # red
# Cannot modify
# colors[0] = "yellow" # Error
# Use as dictionary key
point = (10, 20)
points_dict = {point: "Location 1"}4. Extended Knowledge
Performance Comparison
- Tuples: Faster creation and access, less memory
- Lists: More flexible modification operations, but higher overhead
Selection Suggestions
Use lists if:
- Need frequent modifications
- Data volume will change
- Need dynamic operations
Use tuples if:
- Data doesn't need modification
- Need to use as dictionary key
- Care about performance
Related Types
Sets:
- Unordered, no duplicates
- Suitable for deduplication
Dictionaries:
- Key-value pairs
- Suitable for fast lookup
Best Practices
- Default to using lists
- Use tuples when data is definitely immutable
- Use sets when deduplication is needed
- Use dictionaries when key-value mapping is needed
**Notes**:
- Confirm accuracy of the question
- Provide complete context
- Explain your understanding
- Ask about related concepts
**Variation Suggestions**:
- Ask to add more examples
- Ask about best practices
- Ask to add common mistakes
## Summary
Learning scenario prompts can help you:
**Core Scenarios**:
- ✅ Concept Explanation: Understand complex concepts
- ✅ Learning Plans: Create learning paths
- ✅ Knowledge Organization: Systematically organize knowledge
- ✅ Q&A Tutoring: Resolve learning questions
**Best Practices**:
1. Clearly define learning goals and level
2. Provide detailed background information
3. Request specific output formats
4. Combine with practical application
5. Build your own learning system
**Remember**:
- AI is a learning assistant, not a replacement
- Understanding is more important than memorizing
- Practice is key to learning
- Continuously iterate and optimize
## Next Steps
- [Creative Scenario Prompts](./creative-prompts.en.md) - Learn prompt techniques for creative scenarios
- [Prompts by Role](../by-role/) - Learn prompts for different roles