# AI / ML / Gen AI

This is the home for a lot of information on Machine Learning, Generative AI and AI in general.

Here is a curated set of good articles/videos on Gen AI and ML in general. There is a good mix of introductory material, hands-on and more in-depth resources.&#x20;

### Good articles on Gen AI/ ML at introductory level

* [A great intro of Gen AI  (with good animation & examples)](https://ig.ft.com/generative-ai/)&#x20;
* [LLM explained with less jargon and math](https://www.understandingai.org/p/large-language-models-explained-with)
* [A good summary of the important concepts in ML](https://ataiva.com/machine-learning-mastery-series/)
* [\[1hr Talk\] Intro to Large Language Models](https://youtu.be/zjkBMFhNj_g?feature=shared) (Andrej Karpathy)

### Prompt Engineering Guides

* [Open AI’s guide to Prompt engineering](https://platform.openai.com/docs/guides/prompt-engineering)
* [A Beginner’s Guide To Prompt Engineering | ml-articles – Weights & Biases](https://wandb.ai/mostafaibrahim17/ml-articles/reports/A-Beginner-s-Guide-To-Prompt-Engineering--Vmlldzo2MzE1NTg2)
* [Prompt engineering guide](https://www.promptingguide.ai/)
* [Language Modeling: A Beginner's Guide | Language-Models – Weights & Biases](https://wandb.ai/madhana/Language-Models/reports/Language-Modeling-A-Beginner-s-Guide---VmlldzozMzk3NjI3)

### Build your own chatbot

Open AI’s GPTs - custom personalized GPT - it is very easy to build - with a simple UI tool and can hook it up to any custom API -&#x20;

* [Introducing GPTs (openai.com)](https://openai.com/blog/introducing-gpts)
* [ChatGPT (openai.com)](https://chat.openai.com/gpts/editor)
* [A step-by-step guide to building a chatbot based on your own documents with GPT](https://bootcamp.uxdesign.cc/a-step-by-step-guide-to-building-a-chatbot-based-on-your-own-documents-with-gpt-2d550534eea5)&#x20;

### Run other LLMs (free, open source) models on your local machine

* [Llama 2 - Every Resource you need (philschmid.de)](https://www.philschmid.de/llama-2)
* [Run Code Llama 70B on M2 Max machine](https://annjose.com/post/run-code-llama-70B-locally/)

### How to implement a transformer architecture

* [Mat’s Blog - Transformers From Scratch (matdmiller.com)](https://blog.matdmiller.com/posts/2023-06-10_transformers/notebook.html)
* [Let's build GPT: from scratch, in code, spelled out.](https://www.youtube.com/watch?v=kCc8FmEb1nY)  (Andrej Karpathy)

### More detailed videos

* [State of GPT | BRK216HFS](https://youtu.be/bZQun8Y4L2A?feature=shared)
* [The spelled-out intro to language modeling: building makemore](https://www.youtube.com/watch?v=PaCmpygFfXo)

### Deploy ML models to Prod

* [Production best practices to deploy ML models - OpenAI Guide](https://platform.openai.com/docs/guides/production-best-practices/mlops-strategy)
* [Explaining the Microsoft 365 Copilot System - YouTube](https://www.youtube.com/watch?v=E5g20qmeKpg) - 2 min video of the architecture


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.annjose.com/gen-ai-ml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
