
I automated Clash of Clans using Claude code
> 1 in 2 attacks 100%
> really good resource allocation
> no builder time wasted, because it can come back online always on time
For most of the base-building strategy games ai agents can now play them very close to human level
Repo in replies (this was just a experiment)
Even tho it is possible to automate most of the base-building strategy games I they would still hold value.
git hub repo : github.com/arhxam/coc-agent
4
347
I'm back on Twitter after 3 months.
The last three months have been some of the highest-learning-curve months of my life.
> Turned 20
> Hit 1 million users across all products
> Spent time at one of the best accelerators
> Met a ton of people and had a lot of high-quality interactions
> Travelled internationally for the first time
Got a lot of data point exposure in ton of verticals of life
Here are some of the bigger realizations I've had recently:
1. Focusing on what's truly important is everything.
- You can feel like you're doing a lot while still accomplishing nothing.
- Focus on the 20% that yields 80% of the output.
2. It is better to do nothing than to do something small.
- Small things just give you false hope.
- Small bets will eventually get absorbed. Go big or go home.
3. If your not measuring you are loosing
- Having a really high output per unit of time is important.
- Know what to measure.
- Then improve on that measure.
- But don't let the measure devour the purpose.
More to come.
It's time to build a generational company next.
Day 27 of learning AI bs from scratch
> reading more into Transformer training
> looked into tokenization, context windows and next-token prediction
> went through more around how batching + sequence length affect training
> read parts of Sebastian Raschka’s LLM-from-scratch material
> went through some of the Hugging Face LLM course around tokenizers + a bunch of gaps before going back into implementation
Mostly reading again, but understanding the training side much better now.
Sleep cycle is cooked.
Also caught an amazing sunset today
good references:
sebastianraschka.com/llms-fr…
huggingface.co/learn/llm-cou…
my current roadmap below. more building next.
Day 26 of learning AI bs from scratch
> reading around Transformer training
> went through more of nanoGPT + the GPT walkthrough a bit
> looked deeper into tokenization, context windows and next-token prediction
> attention + masking with the full training loop in mind
> read through a few sections on scaling and why bigger models behave differently
> getting down a bunch of gaps before moving further
Mostly a reading-heavy day again, actually understand the training side before getting into a bigger model.
good references:
github.com/karpathy/nanoGPT
youtube.com/watch?v=kCc8Fm
gpt otw>
Day 26 of learning AI bs from scratch
> reading around Transformer training
> went through more of nanoGPT + the GPT walkthrough a bit
> looked deeper into tokenization, context windows and next-token prediction
> attention + masking with the full training loop in mind
> read through a few sections on scaling and why bigger models behave differently
> getting down a bunch of gaps before moving further
Mostly a reading-heavy day again, actually understand the training side before getting into a bigger model.
good references:
github.com/karpathy/nanoGPT
youtube.com/watch?v=kCc8Fm
gpt otw>
Day 25 of learning AI bs from scratch
> spent time reading through Attention Is All You Need
> went back over attention, masking and positional encoding
> over laying code i had already written before
> kept nanoGPT open alongside it
> trained a small next-token prediction model
> a bunch of things that finally made more sense now
mostly reading and continuing the Transformer stuff from the last few days.
references:
arxiv.org/abs/1706.03762
github.com/karpathy/nanoGPT
deploying a usable llm soon and wrapping this up, then let’s see what comes next >
Day 25 of learning AI bs from scratch
> spent time reading through Attention Is All You Need
> went back over attention, masking and positional encoding
> over laying code i had already written before
> kept nanoGPT open alongside it
> trained a small next-token prediction model
> a bunch of things that finally made more sense now
mostly reading and continuing the Transformer stuff from the last few days.
references:
arxiv.org/abs/1706.03762
github.com/karpathy/nanoGPT
deploying a usable llm soon and wrapping this up, then let’s see what comes next >
Day 24 of learning AI bs from scratch
>continued around Transformers
> looked into tokenization + embeddings
>understood causal masking a bit better
> followed how tokens move through stacked Transformer blocks
> played around with a small next-token prediction setup
> went back through parts of Karpathy’s GPT walkthrough
mostly around the Transformer stuff from the last couple days instead of trying to jump ahead.
good reference:
youtube.com/watch?v=kCc8FmEb…
will make this GPT usable online. on.
Day 24 of learning AI bs from scratch
>continued around Transformers
> looked into tokenization + embeddings
>understood causal masking a bit better
> followed how tokens move through stacked Transformer blocks
> played around with a small next-token prediction setup
> went back through parts of Karpathy’s GPT walkthrough
mostly around the Transformer stuff from the last couple days instead of trying to jump ahead.
good reference:
youtube.com/watch?v=kCc8FmEb…
will make this GPT usable online. on.
Day 23 of learning AI bs from scratch
> continued deeper into Transformers
> touched multi-head attention
> masking, residual connections and layer normalization
> spent more time understanding how all the pieces interact inside a Transformer block
> started looking at how multiple Transformer blocks get stacked together
> stuff around Karpathy’s nanoGPT implementation
A lot of different pieces today, less about finishing one thing and more about making the whole architecture click.
good reference:
github.com/karpathy/nanoGPT
going deeper into training + implementation next.
Day 23 of learning AI bs from scratch
> continued deeper into Transformers
> touched multi-head attention
> masking, residual connections and layer normalization
> spent more time understanding how all the pieces interact inside a Transformer block
> started looking at how multiple Transformer blocks get stacked together
> stuff around Karpathy’s nanoGPT implementation
A lot of different pieces today, less about finishing one thing and more about making the whole architecture click.
good reference:
github.com/karpathy/nanoGPT
going deeper into training + implementation next.
Day 22 of learning AI bs from scratch
> jumped properly into Transformers
> implemented a basic self-attention block
> worked through Q, K and V again while coding it
> added positional encoding so the model knows token order
> started putting the pieces together into a block
Found some good resources, used Jay Alammar’s The Illustrated Transformer as a reference:
jalammar.github.io/illustrat…
catching up to the frontier.
Day 22 of learning AI bs from scratch
> jumped properly into Transformers
> implemented a basic self-attention block
> worked through Q, K and V again while coding it
> added positional encoding so the model knows token order
> started putting the pieces together into a block
Found some good resources, used Jay Alammar’s The Illustrated Transformer as a reference:
jalammar.github.io/illustrat…
catching up to the frontier.
Day 21 of learning AI bs from scratch
> started the Transformer architecture
> went through @karpathy breakdowns + a couple more resources around it (great video, linked below)
> how things fit in transformers
> understanding how self-attention, multi-head attention and positional information fit together
> traced tokens → embeddings → attention → output
> revisited Q, K and V + how everything connects from RNNs to Transformers
updated the roadmap with the new resources + the models I’ve trained/hosted so far:
arhamamin.com/pages/ai-roadm…
Going deeper into the actual implementation next.
On track to hit 100k users in under 2 months completely organically.
Build products that people will ask AI to find.
> 60% ai recommending the product
> 20-30% SEO
> 20% reddit and direct
Day 21 of learning AI bs from scratch
> started the Transformer architecture
> went through @karpathy breakdowns + a couple more resources around it (great video, linked below)
> how things fit in transformers
> understanding how self-attention, multi-head attention and positional information fit together
> traced tokens → embeddings → attention → output
> revisited Q, K and V + how everything connects from RNNs to Transformers
updated the roadmap with the new resources + the models I’ve trained/hosted so far:
arhamamin.com/pages/ai-roadm…
Going deeper into the actual implementation next.
Day 20 of learning AI bs from scratch
First models from this whole series are usable live!
> trained a Neural Network for handwritten digit classification
> made a small interface where you can draw a number and let the model guess it
> deployed another model for tweet/headline sentiment analysis
> it predicts the sentiment and highlights the words carrying the most signal
> spent time testing both and making them usable live
> getting closer to transformers entering the picture
play with them:
digit identifier → arhamamin.com/neural-network…
sentiment analysis → arhamamin.com/neural-network…
going to make more stuff usable live.
learning resources am going through
arhamamin.com/pages/ai-roadm…
Whoburnedmore now lives in the menu bar
> usage summary from codex, CC and everything else
> check leaderboard in the menu bar directly
> menu bar icons for metrics
> open source
whoburnedmore.com/app
1
13
1,151
Day 20 of learning AI bs from scratch
First models from this whole series are usable live!
> trained a Neural Network for handwritten digit classification
> made a small interface where you can draw a number and let the model guess it
> deployed another model for tweet/headline sentiment analysis
> it predicts the sentiment and highlights the words carrying the most signal
> spent time testing both and making them usable live
> getting closer to transformers entering the picture
play with them:
digit identifier → arhamamin.com/neural-network…
sentiment analysis → arhamamin.com/neural-network…
going to make more stuff usable live.
learning resources am going through
arhamamin.com/pages/ai-roadm…
Day 19 of learning AI bs from scratch
> rewind before getting into Transformers
> revisited RNNs and why recurrence becomes limiting
> went through Seq2Seq and the fixed-context bottleneck again
> rebuilt Attention + self-attention
> better understanding of Q, K, V and attention scores
> started mapping each of these pieces onto the Transformer architecture
Realized getting to Transformers quickly means nothing if i don’t understand anything.
Yesterday was packed with meetings wasn’t able to make models live will try today. gn.
GrokBot animations are amazing,
created a open source variations of those.
moodie.arhamamin.com
Day 19 of learning AI bs from scratch
> rewind before getting into Transformers
> revisited RNNs and why recurrence becomes limiting
> went through Seq2Seq and the fixed-context bottleneck again
> rebuilt Attention + self-attention
> better understanding of Q, K, V and attention scores
> started mapping each of these pieces onto the Transformer architecture
Realized getting to Transformers quickly means nothing if i don’t understand anything.
Yesterday was packed with meetings wasn’t able to make models live will try today. gn.
Day 18 of learning AI bs from scratch
> went deeper into self-attention
> implemented a basic self-attention block
> understood Query, Key and Value properly
> compared it against recurrent sequence processing
> started looking into multi-head attention
> finally opening up things arounds Transformer architecture
> updated the resources list, it is live here arhamamin.com/pages/ai-roadm…
Recorded this last night after being awake since day before, posting it around 11pm now.
Sleep cycle is somehow even worse than before been awake for 36 hours.
Made some of these models usable online making them live tommorow.
Day 18 of learning AI bs from scratch
> went deeper into self-attention
> implemented a basic self-attention block
> understood Query, Key and Value properly
> compared it against recurrent sequence processing
> started looking into multi-head attention
> finally opening up things arounds Transformer architecture
> updated the resources list, it is live here arhamamin.com/pages/ai-roadm…
Recorded this last night after being awake since day before, posting it around 11pm now.
Sleep cycle is somehow even worse than before been awake for 36 hours.
Made some of these models usable online making them live tommorow.
Day 17 of learning AI bs from scratch
> looked more into Attention
> Transformers finally getting close
> implemented it on top of Seq2Seq
> understood alignment scores + attention weights
> visualizations around the decoder was attending to
> started looking into self-attention
yesterday sleep cycle did a complete 360, i was recording this in around 12pm in todays afternoon.
today I will try and implement some real world stuff and try make it usable online. on.
Day 17 of learning AI bs from scratch
> looked more into Attention
> Transformers finally getting close
> implemented it on top of Seq2Seq
> understood alignment scores + attention weights
> visualizations around the decoder was attending to
> started looking into self-attention
yesterday sleep cycle did a complete 360, i was recording this in around 12pm in todays afternoon.
today I will try and implement some real world stuff and try make it usable online. on.
Day 16 of learning AI bs from scratch
> added attention to yesterday’s Seq2Seq model
> compared outputs before and after
> inspected weights across tokens
> understood how the context vector changes at every decoding step
> cleaned up the implementation
> wrote in detail about the models trained till now
There are some great visualization here poloclub.github.io/cnn-expla…
Will do a major lock in tonight.
blog has been updated, added all new resources i am going through there
arhamamin.com/pages/ai-roadm…
2
696
I built an extension to preview how your tweet comes across to people
> mobile view/desktop view
> compare with real tweets
> no setup required, single click addition
I had built this for myself originally, decided to make it public
arhamamin.com/preview
4
20
2,016
- this extension was 6 prompts to fable
- chrome web store link : chromewebstore.google.com/de…
1
462
Day 16 of learning AI bs from scratch
> added attention to yesterday’s Seq2Seq model
> compared outputs before and after
> inspected weights across tokens
> understood how the context vector changes at every decoding step
> cleaned up the implementation
> wrote in detail about the models trained till now
There are some great visualization here poloclub.github.io/cnn-expla…
Will do a major lock in tonight.
Day 15 of learning AI bs from scratch
> looked into seq2seq models
> understood the encoder-decoder architecture
> implemented a basic Seq2Seq model using RNNs
> how the decoder generates outputs one step at a time
> read couple more chapters of d2l.ai
> understood the fixed-context bottleneck
I updated the resource list blog, link below, it has more resources organized now.
Fell asleep on the desk towards the morning, rweeting rn after waking up.
Day 15 of learning AI bs from scratch
> looked into seq2seq models
> understood the encoder-decoder architecture
> implemented a basic Seq2Seq model using RNNs
> how the decoder generates outputs one step at a time
> read couple more chapters of d2l.ai
> understood the fixed-context bottleneck
I updated the resource list blog, link below, it has more resources organized now.
Fell asleep on the desk towards the morning, rweeting rn after waking up.
Day 14 of learning AI bs from scratch
> implemented a recurrent neural network from scratch
> hidden states across time
> trained it on a simple sequence task
> read through Elman’s Finding Structure in Time paper
> learned why gradients vanish in long sequences
> started looking into LSTMs
Every architecture exists because the previous one hit a wall.
link to resources am going through below.
Sleep cycle is non existent, tomorrow will try and lock in during the day.
I will host some of these basic models am training and make them public to use,
arhamamin.com
1
794






