Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pair Programming with AI

Pair Programming with AI

Rebecca Vickery

April 28, 2023
Tweet

More Decks by Rebecca Vickery

Other Decks in Technology

Transcript

  1. Worlds First Generative AI • ELIZA – early natural language

    processing program created between 1964 and 1966. • Created using pattern matching and substitution.
  2. How Does Generative AI Work? Large volumes of relevant data

    e.g., text, code, images, video, audio Training – neural networks. Learns patterns in the data to create algorithms Algorithms are used to generate responses e.g., text, code, images
  3. Foundational Models Large model trained on massive amount of data

    e.g., GPT, BERT, DALL-E Github co-pilot, codewhisperer Duolingo Max, GrammarlyGo Niche tasks Further training on task-specific data General purpose tasks
  4. GPT (Generative Pre-trained Transformer) Around 500 billion “tokens”. Text from

    books, articles, documents, the internet Neural networks + randomness + reinforcement learning Algorithms are used to generate text-based responses Large language model (LLM)
  5. Pair Programming with AI - Github Copilot • Generates code

    from comments, provides suggestions, auto-complete. • Works on most popular programming languages. • Integrates with popular IDE’s e.g., VSCode, PyCharm.
  6. Github Co-pilot GPT foundational model Fine tuning with open source

    code including public Github repositories Algorithms are used to generate code
  7. CodeWhisperer • Trained on Amazon specific code. • Supports most

    popular programming languages. • Available as part of the AWS Toolkit and can be used in most popular IDE’s. • Particularly good for AWS based code.
  8. chatGPT • Not trained specifically but still makes a good

    coding assistant. • Good for understanding code bases. • Re-writing functions and modules into other programming languages.
  9. Pair Programming with AI - Drawbacks • Bias. • Reinforcement

    learning means models are reluctant to say, “I don’t know”. Generates responses that look correct but are wrong. • Be careful entering sensitive information into these tools.
  10. The Future of Generative AI • Growth in the use

    of foundational models. Expect to see more niche code assistants. • An important future skill will be prompt engineering. • Generative AI will become more sophisticated at an exponential rate. • Companies will go through an AI transformation like the digital transformation in recent years. • Increased demand for tech skills.