Generative AI - Learnings 2023
Mahtab Syed
Data and AI Leader | AI Solutions | Cloud Architecture(Azure, GCP, AWS) | Data Engineering, Generative AI, Artificial Intelligence, Machine Learning and MLOps Programs | Coding and Kaggle
This year 2023 has been the year of Generative AI using Large Language Models both closed source and open source.
Like many of us I have been learning via blogs, courses and using prompt engineering for building Generative AI apps and key takeaways are here:
1. Use LLM as a thought partner
2. Examples of tasks LLMs can carry out
3. What LLMs can and cannot do?
Ask this question, and if the fresh grad can do the following task, then an LLM can also do it.
4. Prompting best practices
5. Iterative Prompt Engineering
6. Design considerations
Lifecycle of a Generative AI project
7. Advanced Technologies – Beyond Prompting
- Retrieval Augmented Generation (RAG) - Ground model on additional internal proprietary data
- Part 1
Take Knowledge base, break to chunks
Create embeddings for each chunk
For each chunk -> store the embedding with the corresponding chunk in a Vector Database
领英推荐
- Part 2
Take a prompt and create its embedding
Compare the embedding with the embeddings stored in Vector Database
Get the chunks for the matched embedding and send the chunks as part of the prompt to the LLM
- 3 stages of LLM training
- Cost Considerations - Think through the Cost considerations of using a cloud based LLM to power software applications.
8. Process of building an application
9. Challenges with LLM
Code
Refer my Github repo for few GenAI projects on
Leaderboards
Check these Leaderboards to compare against various LLMs like OpenAI GPT, Meta LLaMa, Google PaLM, Microsoft Phi-2, Mistral SC56
Acknowledgement:
?
Mahtab Syed - Melbourne - 21 Dec 2023
Absolutely fascinating insights on Generative AI! ?? As Albert Einstein once said, "The true sign of intelligence is not knowledge but imagination." Your exploration into #genai and #llms really showcases the power of imagination in driving innovation. Keep pushing the boundaries! ?
#Digital Transformation - #Machine Learning, #AI, #Big Data, #Mobility #Deeplearning | #Investment Banking| #Insurance #P&C #F&A#ScaledAgilePractioner
1 年Well laid down Mahtab!