summary notes
summary notes
AI
videos list
biz
The Business Model Making 20-Year-Olds RICH - important
growth content
How To Grow 10k Followers on Instagram FAST (Full Strategy) [2-
LyHeqr_7M]
How To Use ChatGPT To Make 1 Month Of Content In 30 Mins
[hwmOSm5Lapw]
I BLEW UP An Instagram Account As Fast As I Could [_TMySdL68QE]
)נחשפתי לסודות השיווק של יוצרי תוכן שעושים מיליונים (מדריך תכל'סי בלי בולשיט
[57exYvlPoiA].f251
AI 1
general
Transform Your Bedroom Into A YouTube Studio ($5 - $250) [jXoPcFsb1ro]
vibe coding
I'm Addicted to Windsurf, Send Help [ukhe1013Jpk]
Anthropic’s Claude Computer Use Is A Game Changer | YC Decoded
[VDmU0jjklBo]
how to learn
https://www.fast.ai/posts/2019-01-02-one-year-of-deep-learning.html
always ask, how else can i use it? you must strengthen your creativitty
https://forums.fast.ai/t/how-do-this-course-connect-to-the-current-era-of-
llms/112318
AI 2
AI 3
focus on :
projects
AI 4
i love budhisem - so i will try to help him identify a monk vs non monk, or
awaked pesron vs non awaked person
tips
https://forums.fast.ai/t/how-to-do-fastai-study-plans-learning-
strategies/39473
AI 5
AI 6
the idea - is make projects
https://medium.com/@init_27/how-not-to-do-fast-ai-or-any-ml-mooc-
3d34a7e0ab8c
shadcn
important - project
make learning efficently easy again → taking the research and apply it in an
app, so you won’t need to do that - you will just do that naturally, by using
the app.
course 1
home work
read chapter 1
AI 7
or, recognize an enlighnted person vs non enlignted
system
neural netwroks
image recognition
Transfer leraning
pythorch
jupyter notbooke
powerfull way to build and explore
Datablock
data loader → grap a bunch of the things in the same time, using gpu, that
can do 1000’s at the same time.
model
AI 8
model - the neural network function you want to pass in
fine tune - adjust them to just teach the model the differences between
your dataset and what is originaly trained for (start with a pretrained model
and then we fine tuned it)
segmentation -
deep learning
AI 9
what happened
weights = paramaters
AI 10
weights
after we get the results - we thinkg about how good they are - how good
are the results
so use a neural network as a model, and try to create the step of the
feedback look, we are good!
we no need the lost and integrated the weights to the model, and then we
get to the original use of a progmram
homework:
AI 11
course second iteration
Images:
a bunch of pixels
Data block:
Everything fast api needs to create a computer vision model.
so, neural network look at the weights, and drew pictures of them: each
weight find something, than they picture it.
deep leraning - we take teh features, and combine them to create more
advanced features - this is the idea
AI 12
each feature find something, from the image
AI 13
you start with arandome neural network, feed it examples, and you have it
learn to recognize things, and then it creates images for itself
than you combine the features, and it creates a more detailed feature
DETECTOR - it try to regocnize pattern, so it create a feature detector,
how i can detect feature
AI 14
no need to hand code the features we
look for, they can all be learned
Tips
as you build your model, view your data at every step
Data block
what are all the things that change in your data into the right shape for that
model
spliiter - the validation set, set aside some data, randomly 20% of it ,
for example
dls - data loaders, contain iterators that pythorch can run through, to grab
batches of randomly splited out training images to train the model with,
and validation images to test the model with
AI 15
Learner:
combines a model - the actual neural network function we train, and the
data we train with
model - the actual neural network function you want to pass in - and
there is a small numbers of those for the vast things you do
GPU:
can do thousands of thigns at the same time - which means it needs 1000
of things to do
pretrained
the weights, the paramaters, are avilable on the internet, for anybody to
download
fine tune
AI 16
take the pre-trained paramaters and adjust them to your own data - teach
the model the differences between your dataset and what he orignally
trained for
Steps:
1. gather data
2. get a model
3. fine tuned it - for the purpose of regonicze your own data set specificlly
AI 17
Summary
AI 18
we have inputs and paramaters (weights)
the model is not a conditionals and loops and stuff - its a mathematical
function
takes the input, multipley them by the weights, and adds them up, then
does the same for the second set of weights, and adds them up, etc
than, takes those set of inputs into the next layer, and does the same
thing
and it does this a number of times - and the model is the neural
netwrok
after we do that, after we pass theminto the model, we take the results,
and decide how good they are → so if we pass in a picture of a bird,
AI 19
model predict it, so we get a result, than, we can see it label, and see if
it is wrong or good
than we can calculate the loss - number of how good are the
results
for example - if you look at 100 photos, which is the % that is right?
this is the update - than we make it a little bit better enough times
until its good
neural network:
once find the correct weights, we done, we integrate them into the
model, and we have our result
so you will have just one more line in the code of the ijection the model
AI 20
Question
a layer is basiclly another epoch?
no
code
def search_images(keywords, max_images=200): return
L(DDGS().images(keywords, max_results=max_images)).itemgot('image')
import time, json
failed = verify_images(get_image_files(path))
failed.map(Path.unlink)
len(failed)
AI 21
Lecture 3
learning tips
use the clean folder - contain only the code - before running each
cell, ask:
important rescources
https://forums.fast.ai/t/lesson-3-notebooks/104821
AI 22
https://forums.fast.ai/t/lesson-3-official-topic/96254
https://forums.fast.ai/t/best-practices-for-setting-up-fastai-on-mackbook-
pro-with-m1-max-chip/98961/4
https://forums.fast.ai/t/best-practices-for-setting-up-fastai-on-mackbook-
pro-with-m1-max-chip/98961/3
lecture 3
main concepts
training piece → than gets the model
feed the model inputs and it spits output based on the model
Queastions
what does it mean “inference” seconds in training a model
Model.pkl
fit function to data
Derivitative
if you increase the input, the output increase /decrease - basiclly, the slop
of the function
Tensor
AI 23
works with a list, with anything basiclly.
Optimization
gradienct desecent - caluclate. the gradient(paaramaters), and decrease
the loss
then optimize
AI 24
values adding together
AI 25
model choosing is the last thing
once you clean , gather the data, and augmented it
so the idea is to find a function that fit our data? so neural networks is
just a function
השיפוע גבוה או לא, האם בערך עצמו,אז הנגזרת בעצם תגיד לכל ערך
Our goal - is to make the loss small, we want to make the loss
smaller
AI 26
if we know how our function will change -
we have a paramater, and the function, that tell us how rapidly the
function change in this paramater
AI 27
the magnitue tell us that at this point , the slop is fairly steep, so
the loss change significant when we adjust w - each time we
adjust w, the output change significatly
so lets remove by some value * the slope, and see what happens,
AI 28
why use the slope?
The book
chapter 1
chapter 1
AI 29
AI 30
AI 31
Error rate
AI 32
wheiths are variables - and weight assigments are particutler choice of
values for those variables
A model:
at the end of the day, once we chose the best weight assigment - we get
a “program”
AI 33
The key distniction -think about what is the problem you are
trying to solve…
training a model - is basiclly means finding a good paramaters
AI 34
So to reacp:
we need inputs
we need the weights, paramaters, which are the weights of the neural net
than the neural net are mathematical function, so ths results is what we get
from this function
Neural network
AI 35
How image recognizer works
Classification vs regrssion
regresion model -what will be the tempertaure tomrrow
validation set
Overrifting model
AI 36
AI 37
ERROR RATE
SGD
AI 38
Pre tarined model
AI 39
Error rate
the idea - we have a function that just tells us the quality of the model
predition - by looking at the validation set, and tell you how much you were
rong
AI 40
Weights
AI 41
Jargon recap
Summary
lost function
AI 42
Loss function
AI 43
Epoch
running through our entire database
Tabular data
AI 44
Progress of training a neural netwrok
AI 45
instalation
jupyter notbooke
AI 46
The file is stored in your Kaggle notebook's temporary file system, which
means:
The file will be deleted when the notebook session ends unless you
save it to a permanent location
Chapter 4
tips on learning
chapter 4
AI 47
so the idea - just lets look at a specific section of the image.
so we look at a sction startin 4 pixels from the top and left - so we view
it as a numpy array, which is a numbered representation of the image
AI 48
gradient
pixels
AI 49
Tensor
AI 50
AI 51
dimensions
AI 52
Metric
Over fit
AI 53
AI 54
Stochasit graident descent
testing the effectivnes of any current weight assigment in terms of
preformance, and provide a mechanisem for altering the weight assigment
to improve prefromance - and do that automatic, so a mchine would learn
from it expirence
AI 55
weights and pixels
AI 56
AI 57
AI 58
AI 59
Derivitative
Lets assume i have a loss function ok, which depends upon a paramater
than, because its our loss function, wetry some arbitrary input to it, and
see what is the result - what is the loss value
now, we would like to adujst the paramaterby alittle bit, and see what
happens
so its the same as the slope - think of it, like you change it,
AI 60
Our options in the course
course summaries
jupyer notebook
AI 61