Tron | The Asylum
86 subscribers
110 photos
13 videos
1 file
47 links
Emandoyesus | Developer | 22| MU | Software Engineering

Building projects | Sharing lessons | Growing daily
Download Telegram
Sometimes, the life you dream of becomes the life you wish you could escape. πŸ’”


When we’re single, we dream of love. When we’re in a relationship, we miss our freedom.

When we live with our parents, we can’t wait to move out. But once we leave, we miss the little things, like hearing Dad say, β€œBe safe.” ❀️

At 16, we can’t wait to grow up. Then adulthood arrives, and suddenly we miss those carefree days with our friends.

Funny how we spend so much time wishing for the next chapter that we forget to enjoy the one we’re living.

The truth is, every stage of life has something beautiful that we may not fully appreciate until it becomes a memory.

So love the people around you. Enjoy the little moments. Take the pictures. Make the memories. And stop rushing through the life you once wished for. ✨

One day, today’s ordinary moments might become your most precious memories. ❀️

#LifeLesson

@MrDevEm
❀4πŸ‘1
Forwarded from Dan-Ships
Enklf yelem πŸ”₯
🫑1
Forwarded from Tad
🚨 BREAKING NEWS: OUR PEACEFUL LIFE IS OVER! πŸ˜­πŸ’»

tajuHub fam! πŸŽ‰

New semester, new courses, same students who still haven't recovered from last semester. πŸ’€

πŸ“š This semester we're fighting:

1. Compiler Design β€” Who compiled my happiness? 😭
2. Real Time & Embedded Systems β€” No time to breathe, apparently.
3. Mobile App Development β€” At least our apps might work.
4. Fundamentals of AI β€” AI will do the assignment, right? πŸ€–
5. Software Testing & QA β€” Testing our patience more than software.
6. Global Trend β€” Trending globally, suffering locally. πŸ˜‚

Our mission: Attend class, understand something, survive exams, and graduate before our laptops do. 🫑

Good luck, future engineers! May our code compile and our grades be higher than our screen time. πŸš€

#TajuHub #SoftwareEngineering #MekelleUniversity #SemesterSurvival
😁4
Software Testi & QA - testing our patience more than Software


You nailed it tad 🀣
πŸ‘1
Good morning ppl ✨

Glory glory man united 😍
❀2
Tron | The Asylum
Good morning ppl ✨ Glory glory man united 😍
We have to make the day productive ✊✊
πŸ‘3
Forwarded from DoughNut 🍩
Having no co-founder means basically your startup has 10-20% of succeeding.

Having a bad co-founder means your startup has 100% failure rate πŸ˜‚
Channel name was changed to Β«Tron | The AsylumΒ»
Have you ever wondered how LLMs work at low level?
NIPS-2017-attention-is-all-you-need-Paper.pdf
556.1 KB
This is the research paper that laid the foundation for modern LLM architectures.
πŸ‘3
Tron | The Asylum
NIPS-2017-attention-is-all-you-need-Paper.pdf
It is recommended to us by our instructor, and we're going to understand every bit of it part by part !
Tron | The Asylum
NIPS-2017-attention-is-all-you-need-Paper.pdf
PART 1: UNDERSTANDING MODERN AI


In 2017, a team of researchers introduced a new neural network architecture called the Transformer.
This research fundamentally changed Natural Language Processing (NLP) and laid the foundation for modern Large Language Models (LLMs), including GPT.

1. What existed before Transformers?

Before Transformers, many NLP systems relied on recurrent neural network architectures such as: RNN (Recurrent Neural Networks), LSTM (Long Short-Term Memory), GRU (Gated Recurrent Units).

These models generally processed text sequentially, one token at a time. For example: "The student is learning AI."

The model would process:
The β†’ student β†’ is β†’ learning β†’ AI

⚠️ The limitations:
β€’ Sequential processing made parallel computation difficult.
β€’ Capturing relationships between distant words was challenging.
β€’ Training on long sequences could be computationally demanding.

2. What did the researchers introduce?

The researchers proposed the Transformer architecture, which relies on attention mechanisms instead of recurrence or convolution for modeling relationships between tokens.

The key innovation was Self-Attention. Unlike recurrent models, which process tokens sequentially, the original Transformer's encoder can process all input tokens simultaneously.

This makes training more parallelizable and allows the model to capture relationships between tokens regardless of their distance in the sequence.

3. How does a Transformer work?

Consider this sentence:
"The animal didn't cross the street because it was tired."

How do we know that "it" refers to "the animal" rather than "the street"? We understand it through context.
Transformers use Self-Attention to learn relationships between tokens and determine which parts of a sequence are relevant to one another.

At a high level, the process involves:
1️⃣ Tokenization: Text is divided into smaller units called tokens.
2️⃣ Embedding: Tokens are converted into numerical representations.
3️⃣ Positional Encoding: Information about token positions is incorporated.
4️⃣ Self-Attention: Tokens exchange information based on learned attention weights.
5️⃣ Feed-Forward Networks: The resulting representations are further transformed.

These operations are repeated across multiple Transformer layers.

4. Why does this matter?

The Transformer architecture became the foundation for many influential AI models, including: GPT (Decoder-only Transformer), BERT (Encoder-only Transformer), T5 (Encoder-Decoder Transformer).

Today, Transformers are central to many modern AI systems, including large language models (LLMs).

#ArtificialIntelligence #MachineLearning #Transformers #LLM

@MrDevEm
⚑3
PART 2: UNDERSTANDING MODERN AI (FINAL)

In Part 1, we explored how Transformers replaced recurrence with attention-based processing. Now, let's look deeper into Self-Attention and how modern LLMs use it.

1. Understanding Self-Attention

Self-Attention allows a model to learn relationships between tokens by assigning different attention weights to them.
It uses three components:
πŸ”Ή Query (Q): What information is a token looking for?
πŸ”Ή Key (K): What information does a token offer for matching?
πŸ”Ή Value (V): What information does a token contribute?
Each token is transformed into Q, K, and V vectors using learned weight matrices.

The model compares Queries with Keys, calculates attention weights, and uses those weights to combine Values.
The mathematical formula is:
Attention(Q, K, V) = softmax(QKα΅€ / √dβ‚–)V
This is called Scaled Dot-Product Attention.

2. Multi-Head Attention


Instead of using a single attention mechanism, Transformers use multiple attention heads in parallel.
Each head learns different projections of the input, allowing the model to capture different relationships, such as grammatical patterns, contextual meaning, and long-distance dependencies.
The outputs are combined to produce richer representations.

3. How Do Modern LLMs Use Transformers?


Different models use different Transformer architectures:
πŸ”ΉGPT: Decoder-only Transformer.
πŸ”ΉBERT: Encoder-only Transformer.
πŸ”ΉT5: Encoder-Decoder Transformer.

Let's take GPT as an example. When you ask GPT a question:
1️⃣ Your text is converted into tokens and numerical embeddings.
2️⃣ The tokens pass through multiple Transformer layers containing masked Self-Attention and Feed-Forward Networks.
3️⃣ The model calculates probabilities for possible next tokens.
4️⃣ A token is selected, and the process repeats until the response is complete.

This process is called Autoregressive Generation.
Unlike the parallel processing of input sequences during training, GPT generates output tokens sequentially.

The key takeaway: LLMs don't simply retrieve predefined answers. They generate text using patterns and relationships learned during training.

#ArtificialIntelligence #MachineLearning #Transformers #LLM

@MrDevEm