From Software Engineer to AI Engineer – with Janvi Kalra
1:09:30

From Software Engineer to AI Engineer – with Janvi Kalra

The Pragmatic Engineer

7 chapters7 takeaways12 key terms7 questions

Overview

This video follows Janvi Kalra's journey from a software engineer to an AI engineer, culminating in her role at OpenAI. It details her experiences with internships at Google and Microsoft, her decision to join a startup (KOD), and her transition into AI engineering. The discussion covers the AI job market, the importance of due diligence when selecting startups, and the practical aspects of AI engineering, including learning new technologies and the transition from traditional software development. Janvi shares insights into the interview process for AI roles and highlights the unique aspects of working at OpenAI, emphasizing speed, scale, and a mission-driven culture.

How was this?

Save this permanently with flashcards, quizzes, and AI chat

Chapters

  • Secured internships at Google and Microsoft by applying through portals and highlighting personal projects in essays.
  • Prepared for interviews using 'Cracking the Coding Interview' book, emphasizing the importance of structured preparation.
  • Internships provided exposure to large codebases, operational best practices like unit testing, and valuable mentorship.
  • Learned that expressing career preferences, like working on operating systems, can influence internship assignments.
Understanding how to secure internships at top tech companies and the value of early career experiences provides a roadmap for aspiring engineers.
Janvi's experience of buying and studying 'Cracking the Coding Interview' to prepare for her Google internship.
  • Big tech offers learning in building scalable, reliable software and working on long-term, 'moonshot' projects.
  • Startups offer rapid code shipping, a broad range of technical and business skills, and greater agency in project ownership.
  • The decision involves trade-offs: big tech provides stability and potentially faster green card processing, while startups offer intense learning and impact.
  • Janvi chose a startup (KOD) for its growth and breadth of learning opportunities, despite having offers from big tech.
This section helps learners weigh the pros and cons of different work environments, crucial for career trajectory and personal growth.
Janvi's mentors advised that startups offer more problems than people, leading to more opportunities to ship code and gain diverse skills.
  • Initial startup selection focused on smart, passionate people and product alignment.
  • A more robust rubric for evaluating startups includes high revenue growth, large market potential, customer obsession, and competitive advantage.
  • Due diligence is critical; engineers should verify claims about growth, revenue, and customer satisfaction through independent research.
  • Lack of transparency from a startup regarding financials is a significant red flag, akin to gambling with one's career.
Provides a framework for assessing the viability and potential of startups, empowering engineers to make informed career decisions.
Looking at Reddit and YouTube for real user feedback, or contacting companies that use a B2B product to gauge customer satisfaction.
  • Janvi proactively pursued AI engineering after ChatGPT's release, initially being denied a spot on KOD's AI team.
  • She self-studied deep learning fundamentals (tokens, embeddings, transformers, attention) in her free time.
  • Participated in hackathons to gain practical experience building with AI models, which demonstrated her commitment.
  • After five months of self-study and side projects, she was invited to join the AI team, highlighting the value of initiative.
Illustrates how proactive learning and demonstrating passion can create opportunities, even when initially met with resistance.
Building a language learning tool during a six-week online hackathon with Buildspace to practice Mandarin.
  • AI engineering involves experimenting with new tools, prototyping solutions, and building production-ready AI products.
  • Core skills overlap significantly with software engineering, augmented by domain-specific knowledge like fine-tuning, prompt engineering, and hosting models.
  • Evaluation and testing of AI models, especially non-deterministic ones, present unique challenges and costs.
  • Learning is continuous, often driven by hands-on practice, reading blogs, papers, and engaging with open-source communities.
Defines the scope of AI engineering and emphasizes that it builds upon, rather than replaces, traditional software engineering skills.
Using Retrieval Augmented Generation (RAG) to build a chatbot that answers questions based on a company's internal documents.
  • The AI market is segmented into product companies (building on models), infrastructure companies (tools for LLMs), and model companies (building foundational AI).
  • Janvi focused on model and infrastructure companies to broaden her experience beyond product-focused roles.
  • Interview processes are varied, including coding, system design, and project-based assessments.
  • Evaluating companies requires understanding their business model, margins (especially for infrastructure), and competitive landscape.
Provides a structured way to understand the AI landscape and tailor job searches and interview preparation to specific company types.
Categorizing companies like Cursor (product), Modal (infrastructure), and OpenAI (model) to understand their place in the ecosystem.
  • Janvi works on AI safety, focusing on detecting and mitigating harmful model behavior.
  • OpenAI uniquely combines the speed of startups with the scale of large organizations.
  • The company fosters an open culture, encouraging questions and knowledge sharing.
  • Engineers are trusted with significant autonomy, enabling rapid iteration and shipping of features, even on high-traffic services.
Offers insight into the operational dynamics and culture of a leading AI research and deployment company.
Working on low-latency classifiers to block harmful model outputs in real-time, handling 60k requests per second.

Key takeaways

  1. 1Proactive learning and initiative are crucial for career advancement, especially in rapidly evolving fields like AI.
  2. 2Thorough due diligence on potential employers, particularly startups, is essential for making informed career decisions.
  3. 3The transition to AI engineering often leverages and builds upon existing software engineering skills.
  4. 4Understanding the different segments of the AI industry (product, infrastructure, model) helps in career planning and job searching.
  5. 5Continuous learning through hands-on projects, hackathons, and community engagement is vital in the fast-paced AI landscape.
  6. 6Even in highly technical roles, understanding the business context and impact of your work is increasingly important.
  7. 7AI engineering involves not just building models but also ensuring their safe, reliable, and scalable deployment.

Key terms

AI EngineeringProduct CompaniesInfrastructure CompaniesModel CompaniesLLMs (Large Language Models)Retrieval Augmented Generation (RAG)Fine-tuningPrompt EngineeringSystem DesignDue DiligenceAGI (Artificial General Intelligence)AI Safety

Test your understanding

  1. 1How can aspiring engineers effectively prepare for technical interviews at companies like Google and Microsoft?
  2. 2What are the key differences and trade-offs between working at a large tech company versus a startup?
  3. 3What criteria should an engineer use to evaluate the growth potential and viability of a startup?
  4. 4Describe the process Janvi followed to transition from a software engineer to an AI engineer, and what motivated her?
  5. 5How does the role of an AI engineer differ from, and overlap with, a traditional software engineer?
  6. 6What are the main categories of companies within the AI ecosystem, and why is it helpful to understand these distinctions?
  7. 7What are the unique aspects of working at a company like OpenAI, particularly regarding speed, scale, and culture?

Turn any lecture into study material

Paste a YouTube URL, PDF, or article. Get flashcards, quizzes, summaries, and AI chat — in seconds.

No credit card required