StBash retweeted
👁500 TB Tutorials + Books + Courses + Trainings + Workshops + Educational Resources 😀
💀Data science
💀Python
💀Artificial Intelligence .
💀AWS Certified .
💀Cloud
💀BIG DATA
💀Data Analytics
💀BI
💀Google Cloud Platform
💀IT Training
💀MBA
💀Machine Learning
💀Deep Learning
💀Ethical Hacking
💀SPSS
💀Statistics
💀Data Base
💀Learning language resources ( English , French , German )
📣 LINK: drive.google.com/drive/mobil…
StBash retweeted
The Simplest Guide to Prompting Engineering!
You realise the power of prompt engineering only once you understand and start using it properly.
Today, we will understand & explore various types of prompting techniques with illustrative examples:
- Zero-shot prompting
- Few-shot prompting
- Chain of thought prompting
- Tree of thought prompting
1️⃣ Zero-shot prompting
Zero-shot prompting refers to the ability of an AI model to generate meaningful responses or complete tasks without any prior training on specific prompts.
Here's an example👇
2️⃣ Few-shot prompting
In contrast to zero-shot prompting, few-shot prompting involves training an AI model with only a small amount of data or examples.
This technique allows the model to quickly adapt and generate responses based on limited examples provided by the user.
Here's an example👇
3️⃣ Chain of thought prompting
Chain of thought prompting is a method where user provides prompts in a sequential manner, building upon previous responses.
By following this approach, the AI model can generate more coherent and contextually relevant outputs, mimicking human-like conversation flow.
Here's an example👇
4️⃣ Tree of thought prompting (ToT)
Similar to chain of thought prompting, tree of thought prompting utilizes branching pathways & encourages exploration over various chain of thoughts.
Users can explore different possibilities or directions within the conversation by structuring their prompts as branches in a tree-like structure.
This technique enables greater flexibility, exploration & backtracking during interactions with the AI model.
Broadly speaking ToT involves two components:
1. Thought generation
2. Thought Evaluation
Let's understand this with an example!
We use ToT for a Game of 24:
It's is a mathematical reasoning challenge, where the goal is to use 4 numbers and basic arithmetic operations (+-*/) to obtain 24.
For example, given input “4 9 10 13”, a solution output could be “(10 - 4) * (13 - 9) = 24”.
(Refer the image below as you read ahead)
To frame Game of 24 into ToT, we decompose the thoughts into 3 steps, where each step is an intermediate equation.
🔹Figure 2(a): Though Generation
Decompose the thoughts into 3 steps, each an intermediate equation.
What happens at each step (tree node):
- Extract the “left” numbers.
- Prompt the LM (Language Model) to propose possible next steps.
- Use the same “propose prompt” for all 3 thought steps.
- Note: Only one example with 4 input numbers is provided.
Breadth-first search (BFS) in ToT:
- At each step, retain the best b = 5 candidates.
🔸Figure 2(b): Evaluation
- Prompt LM to evaluate each thought candidate as “sure/maybe/impossible” with regard to reaching 24.
- The goal is to promote correct partial solutions that can be confirmed with few lookahead trials.
- Eliminate impossible partial solutions
- Retain the rest labeled as “maybe”.
- Sample values 3 times for each thought.
Check this out👇
If you Enjoyed reading this & are interested in
- ML/MLOps 🛠
- CV/NLP 🗣
- LLMs 🧠
- AI Engineering ⚙️
Find me → @akshay_pachaar ✔️
Everyday, I share tutorials on the above topics!
You can read more about this article & more on AI Engineering in my weekly Newsletter MLSpeing!
It's FREE, link to subscription in next tweet!
Cheers! 🥂
StBash retweeted
Web Development Courses For Free 🔥
- Flutter
- Python
- Development
mega.nz/folder/3WhSkBjJ#YSDB…
StBash retweeted
428 page course 🔥🔥🔥🔥🔥 on Causal Inference from @UCBerkeley 🌟 🌟 🌟🌟 🌟
#causalinference #causality #machinelearning
arxiv.org/pdf/2305.18793.pdf
StBash retweeted
1/
Get a cup of coffee.
In this thread, I'll walk you through the key differences between *earnings* and *cash flows*.
The punch line: Just because a company reports $1 of *earnings*, it does NOT mean the company has $1 more *cash* to distribute to owners.
StBash retweeted
Graduation ceremony of the year 🔥🔥🔥🔥🔥
I see this as motivation to those boys and girls there 🔥🔥
StBash retweeted
A thread on how real estate investors, developers and operators can make millions a year and pay almost nothing in TAXES by using depreciation, bonus depreciation, and 1031 exchanges.
A thread on how it works:
StBash retweeted
Lifelong learning is a competitive advantage.
But contrary to what you’ve been told, lifelong learners are built, not born.
THREAD: 20 lifelong learning habits you can start developing today.
StBash retweeted
Pls RT
Nompumelelo Mhanga is missing
Last seen at Ext7 Emahlaleni
Prince Kaybee
Zola
Cheating
Congratulations Mpho
#mbali
Ace Magashule
Kaizer Chiefs
Level 5
StBash retweeted
1/
Get a cup of coffee.
In this thread, I'll walk you through the basics of leverage -- in our personal lives and in the companies we invest in.
StBash retweeted
When an asset class grows 60x in 1 year from $1B to $60B and you’ve got:
Mark Cuban saying it reminds him of the beginning of the Internet.
…It’s worth tuning into.
Time for a thread 👇👇👇
StBash retweeted
HELP US FIND : SINENHLANHLA BHENGU. 9YRS. LAST SEEN 7.30 THIS MORNING IN MONDEOR. WAS WEARING PURPLE TOP & BLUE SKIRT WITH GREEN STRIPES. HAVE INFO PLS CALL DUTY OFFICER ON 082 371 8556
OR MICHELLE PELSER FROM MONDEOR CPF ON 084 292 9144
StBash retweeted
So many folks (esp. the media) are missing the complete backstory on $GME and how we got here.
This has been simmering for over a year and the story behind it is great. I’ve been tracking this since September and devoured all of the details from the origin through today.
StBash retweeted
Maths made easy in isiZulu.
📚🧠📺
📒SUBJECT : Math
Check my timeline for more videos
#Uthandonesthembu Peppa Pig
#ZuluManInJapan
#TwerkForPhume
Chris Brown Buhle #SingleWivesSA Bernini Leeto #Uzalo #Isibaya
Rasta #gomoramzansi Euphonik Wits Ntshangase
#PutSouthAfricanFirst





































