Coder Social home page Coder Social logo

microsoft / ai-for-beginners Goto Github PK

View Code? Open in Web Editor NEW
31.1K 385.0 5.0K 82.6 MB

12 Weeks, 24 Lessons, AI for All!

Home Page: https://microsoft.github.io/AI-For-Beginners/

License: MIT License

Jupyter Notebook 99.77% Python 0.14% JavaScript 0.01% HTML 0.05% Vue 0.02% Dockerfile 0.01% Shell 0.01%
deep-learning artificial-intelligence machine-learning ai computer-vision nlp cnn rnn gan

ai-for-beginners's Introduction

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars Binder Gitter

Artificial Intelligence for Beginners - A Curriculum

 Sketchnote by (@girlie_mac)
AI For Beginners - Sketchnote by @girlie_mac

Explore the world of Artificial Intelligence (AI) with Microsoft's 12-week, 24-lesson curriculum! Dive into Symbolic AI, Neural Networks, Computer Vision, Natural Language Processing, and more. Hands-on lessons, quizzes, and labs enhance your learning. Perfect for beginners, this comprehensive guide, designed by experts, covers TensorFlow, PyTorch, and ethical AI principles. Start your AI journey today!"

In this curriculum, you will learn:

  • Different approaches to Artificial Intelligence, including the "good old" symbolic approach with Knowledge Representation and reasoning (GOFAI).
  • Neural Networks and Deep Learning, which are at the core of modern AI. We will illustrate the concepts behind these important topics using code in two of the most popular frameworks - TensorFlow and PyTorch.
  • Neural Architectures for working with images and text. We will cover recent models but may lack a little bit on the state-of-the-art.
  • Less popular AI approaches, such as Genetic Algorithms and Multi-Agent Systems.

What we will not cover in this curriculum:

For a gentle introduction to AI in the Cloud topics you may consider taking the Get started with artificial intelligence on Azure Learning Path.

Announcement - New Curriculum on Generative AI was just released!

We just released a 12 lesson curriculum on generative AI. Come learn things like:

  • prompting and prompt engineering
  • text and image app generation
  • search apps

As usual, there's a lesson, assignments to complete, knowledge checks and challenges.

Check it out:

https://aka.ms/genai-beginners


Content

NoLessonIntroPyTorchKeras/TensorFlowLab
IIntroduction to AI
1Introduction and History of AIText
IISymbolic AI
2 Knowledge Representation and Expert SystemsTextExpert System, Ontology, Concept Graph
IIIIntroduction to Neural Networks
3Perceptron Text NotebookLab
4 Multi-Layered Perceptron and Creating our own FrameworkTextNotebookLab
5 Intro to Frameworks (PyTorch/TensorFlow) and Overfitting Text PyTorch Keras/TensorFlow Lab
IVComputer Vision Microsoft Azure AI Fundamentals: Explore Computer Vision
Microsoft Learn Module on Computer Vision PyTorch TensorFlow
6Intro to Computer Vision. OpenCVTextNotebookLab
7Convolutional Neural Networks
CNN Architectures
Text
Text
PyTorchTensorFlowLab
8Pre-trained Networks and Transfer Learning
Training Tricks
Text
Text
PyTorchTensorFlow
Dropout sample
Adversarial Cat
Lab
9Autoencoders and VAEsTextPyTorchTensorFlow
10Generative Adversarial Networks
Artistic Style Transfer
TextPyTorchTensorFlow GAN
Style Transfer
11Object DetectionTextPyTorchTensorFlowLab
12Semantic Segmentation. U-NetTextPyTorchTensorFlow
VNatural Language Processing Microsoft Azure AI Fundamentals: Explore Natural Language Processing
Microsoft Learn Module on Natural language processing PyTorch TensorFlow
13Text Representation. Bow/TF-IDFTextPyTorchTensorFlow
14Semantic word embeddings. Word2Vec and GloVeTextPyTorchTensorFlow
15Language Modeling. Training your own embeddingsTextPyTorchTensorFlowLab
16Recurrent Neural NetworksTextPyTorchTensorFlow
17Generative Recurrent NetworksTextPyTorchTensorFlowLab
18Transformers. BERT.TextPyTorchTensorFlow
19Named Entity RecognitionTextTensorFlowLab
20Large Language Models, Prompt Programming and Few-Shot TasksTextPyTorch
VIOther AI Techniques
21Genetic AlgorithmsTextNotebook
22Deep Reinforcement LearningTextPyTorchTensorFlowLab
23Multi-Agent SystemsText
VIIAI Ethics
24AI Ethics and Responsible AITextMS Learn: Responsible AI Principles
Extras
X1Multi-Modal Networks, CLIP and VQGANTextNotebook

Mindmap of the Course

Each lesson contains some pre-reading material (linked as Text above), and some executable Jupyter Notebooks, which are often specific to the framework (PyTorch or TensorFlow). The executable notebook also contains a lot of theoretical material, so to understand the topic you need to go through at least one version of the notebooks (either PyTorch or TensorFlow). There are also Labs available for some topics, which give you an opportunity to try applying the material you have learned to a specific problem.

Some sections also contain links to MS Learn modules that cover related topics. Microsoft Learn provides a convenient GPU-enabled learning environment, although in terms of content you can expect this curriculum to go a bit deeper.

Are you a student?

Get started with the following resources:

  • Student Hub page In this page, you will find beginner resources, Student packs and even ways to get a free cert voucher. This is one page you want to bookmark and check from time to time as we switch out content at least monthly.
  • Microsoft Student Learn ambassadors Join a global community of student ambassadors, this could be your way into Microsoft.

Getting Started

Students, there are a couple of ways to use the curriculum. First of all, you can just read the text and look through the code directly on GitHub. If you want to run the code in any of the notebook - read our instructions, and find more advice on how to do it in this blog post.

Note: Instructions on how to run the code in this curriculum

However, if you would like to take the course as a self-study project, we suggest that you fork the entire repo to your own GitHub account and complete the exercises on your own or with a group:

  • Start with a pre-lecture quiz.
  • Read the intro text for the lecture.
  • If the lecture has additional notebooks, go through them, reading and executing the code. If both TensorFlow and PyTorch notebooks are provided, you can focus on one of them - choose your favorite framework.
  • Notebooks often contain some of the challenges that require you to tweak the code a little bit to experiment.
  • Take the post-lecture quiz.
  • If there is a lab attached to the module - complete the assignment.
  • Visit the Discussion board to "learn out loud".

For further study, we recommend following these Microsoft Learn modules and learning paths.

Teachers, we have included some suggestions on how to use this curriculum.


Credits

✍️ Primary Author: Dmitry Soshnikov, PhD
🔥 Editor: Jen Looper, PhD
🎨 Sketchnote illustrator: Tomomi Imura
✅ Quiz Creator: Lateefah Bello, MLSA
🙏 Core Contributors: Evgenii Pishchik

Meet the Team

Promo video

🎥 Click the image above for a video about the project and the folks who created it!


Pedagogy

We have chosen two pedagogical tenets while building this curriculum: ensuring that it is hands-on project-based and that it includes frequent quizzes.

By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented. In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12 week cycle.

Find our Code of Conduct, Contributing, and Translation guidelines. Find our Support Documentation here and security information here. We welcome your constructive feedback!

A note about quizzes: All quizzes are contained in this app, for 50 total quizzes of three questions each. They are linked from within the lessons but the quiz app can be run locally; follow the instruction in the etc/quiz-app folder.

Offline access

You can run this documentation offline by using Docsify. Fork this repo, install Docsify on your local machine, and then in the etc/docsify folder of this repo, type docsify serve. The website will be served on port 3000 on your localhost: localhost:3000. A pdf of the curriculum is available at this link.

Help Wanted!

Would you like to contribute a translation? Please read our translation guidelines.

Other Curricula

Our team produces other curricula! Check out:

ai-for-beginners's People

Contributors

05hiteshbansal avatar anxieuse avatar bethanyjep avatar carlotta94c avatar cinnamonxi avatar dependabot[bot] avatar devisasari avatar eltociear avatar girliemac avatar icethecoder avatar jlooper avatar jordantheblob avatar juliamuiruri4 avatar kyoro1 avatar leestott avatar mclift avatar microsoft-github-operations[bot] avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar navy-xie avatar pe4eniks avatar prianikq avatar sadeedpv avatar santiago-paz avatar shwars avatar softchris avatar unfoundtim avatar wirelesslife avatar yaph avatar zihaomu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai-for-beginners's Issues

QA Tasks for: 5 - Intro to frameworks

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 10 - GANs

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 23 - Multi Agent Systems

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 8 - Pre-trained Networks

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

Link to quizzes are broken

When open quizzes of lesson 1, 2 and 3 the azurestaticapp return 404 message.
I assume the same problem is happening with other lessons as well.

QA Tasks for: 14 - Semantic embeddings

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 17 - Generative RN

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 4 - Multi-Layered Perceptron

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 16 - Recurrent NN

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 9 - Autoencoders

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

Neural Network isn't how children learns

"We can construct a so-called artificial neural network inside a computer, and then try to teach it to solve problems by giving it examples. This process is similar to how a newborn child learns about his or her surroundings by making observations."

Uh, no. Neural networks are inspired by how neurons in our brain works internally, with A LOT of connections between different neurons, the same as layers in a neural network. But it's not how children learns. How this works with neural networks is that you give it A LOT OF DATA with specified connections and it builds an internal representation getting closer and closer to the result you expect. Also known as a model.

Children doesn't learn like that. A child learns more with smaller steps (it's called "baby steps" for a reason), by filtering out a lot of noise and focusing on single things and build up understanding of the world that way. Just like any other human learns things really. You don't learn a language by spamming data, you learn it step by step. Good luck feeding whole internet to a child and see how that goes regarding learning about things.

QA Tasks for: Intro

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 2 - Knowledge Systems

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 3 - Perceptron

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 6 - Intro to Computer Vision

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

a little bit outdated?

Just read the GPT part and after this:

"GPT is a Family
GPT is not a single model, but rather a collection of models developed and trained by OpenAI. The latest model openly available is GPT-2, which has up to 1.5 billion parameters (there are several variations of the model, so you can select one for your tasks that is a good compromise between size/performance). Latest GPT-3 model has up to 175 billion parameters, and is available as a cognitive service from Microsoft Azure, and as OpenAI API."

I thought the course needs an update :).

Cheers, M.

Using device-agnostic code in PyTorch

Could you please make the code device-agnostic so it can also run on Apple silicon Macbook? The current version of the code gives plenty of errors when running it on Mac.

Tasks

QA Tasks for: 13 - Text Representation

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 12 - Instance Segmentation

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 11 - Object Detection

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 15 - Lang modeling

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 21 - Genetic Algorithms

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

QA Tasks for: 18 - Transformers

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

favicon missing

Add the love icon to be consistent with the other for beginner content

QA Tasks for: 24 - AI Ethics

  • Copyedit
  • Check for Links to Learn, add if necessary, ensure they are instrumented
  • Knowledge Checks
  • Challenge
  • Any art? propose if necessary
  • Assignment
  • Pre-Quiz
  • Post-Quiz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.