#AI
Artificial intelligence is system of simulation of human intelligence by a machine.
AI is of two types:
- General AI (general reasoning abilities in a wide range of fields)
- Narrow AI (specialized in solving specific tasks)
Machine Learning is a subset of AI where machines learn from data, recognize patterns and make decisions without being programmed explicitly.
Deep learning is a subset of ML which uses artificial Neural Networks to analyse large data.
Artificial Neural Networks (ANN) mimics the structure and function of biological human brain to solve tasks.
Natural Language Processing (NLP) generates and understands human language.
Prompt engineering is the art and science of crafting effective inputs (prompts) to get the best possible outputs from AI models. It's similar to learning how to ask questions in a way that gets you the most helpful answers.
- Chain-of-thought prompting: Asking the AI to explain its reasoning step by step
- Few-shot learning: Providing examples of desired inputs and outputs
- Role prompting: Giving the AI a specific perspective to work from
- Using guardrails: Setting clear boundaries and constraints
- Be explicit about what you want
- Provide context and background
- Iterate and refine based on responses
- Test different approaches to see what works best
Artificial Intelligence (AI) is the field of computer science focused on creating systems that can perform tasks typically requiring human intelligence. These systems aim to mimic human cognitive functions like learning, problem-solving, pattern recognition, and decision-making.
- Core concept: Systems that learn and improve from experience without explicit programming
- Types:
- Supervised Learning: Learning from labelled data
- Unsupervised Learning: Finding patterns in unlabelled data
- Reinforcement Learning: Learning through trial and error with rewards/penalties
- A subset of ML using neural networks with multiple layers
- Specializes in:
- Image/video processing
- Natural language processing
- Speech recognition
- Complex pattern recognition
- Focuses on interaction between computers and human language
- Applications:
- Machine translation
- Text summarization
- Sentiment analysis
- Question answering
- Text generation
- Enables machines to understand and process visual information
- Applications:
- Object detection
- Face recognition
- Image segmentation
- Scene understanding
- Visual search
- Combines AI with physical machines
- Includes:
- Motion planning
- Perception
- Manipulation
- Navigation
- Human-robot interaction
- Also called "Weak AI"
- Current state of AI technology
- Designed for specific tasks or narrow domains
- Examples:
- Chess engines (like Deep Blue)
- Image recognition systems
- Virtual assistants (Siri, Alexa)
- Recommendation algorithms
- Language models (like myself)
- Characteristics:
- Excels in specific domains
- Cannot transfer learning to new domains
- No true understanding or consciousness
- Limited to programmed or trained functions
- Also called "Strong AI" or "Human-level AI"
- Currently theoretical/not yet achieved
- Matches or exceeds human-level intelligence
- Capabilities would include:
- Self-awareness
- Common sense reasoning
- Transfer learning across domains
- Abstract thinking
- Consciousness (debated)
- General problem solving
- Emotional intelligence
- Creative thinking
- Learning from limited examples
- Scope
- ANI: Single domain or task-specific
- AGI: Multiple domains, like human intelligence
- Learning Ability
- ANI: Learns within predefined parameters
- AGI: Can learn and adapt like humans
- Problem Solving
- ANI: Solves specific types of problems
- AGI: Can solve any problem a human can
- Consciousness
- ANI: No self-awareness
- AGI: Potentially self-aware (debated)
- Flexibility
- ANI: Limited to trained scenarios
- AGI: Can handle novel situations