Skip to content

Commit 20b2537

Browse files
committed
updated images link
1 parent 09c5b05 commit 20b2537

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/writing/posts/Karpathy's - let's build GPT from scratch.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ authors:
3030
Character level language model
3131
3232
Method: Bigram (Predict next char using previous char)
33-
![Pasted%20image%2020250130124540](docs/writing/posts/img/Pasted%20image%2020250130124540.png)
33+
![Pasted%20image%2020250130124540](img/Pasted%20image%2020250130124540.png)
3434
As seens above, it doesn't give good names. Bigram model is not good for predicting next character.
3535

3636
In "bigram" model probabilities become the parameter of bigram language model.
@@ -133,7 +133,9 @@ In this class we would build makemore to predict based on last 3 characters.
133133
#### Embedding
134134
As a first step, we need to build embedding for the characters, we start with 2 dimensional embedding.
135135

136-
![[Pasted image 20250205123847.png]]
136+
![Pasted%20image%2020250130124540](img/Pasted%20image%2020250205123847.png)
137+
138+
Pasted image 20250205123847.png
137139

138140
```python
139141
h = emb.view(-1, 6) @ W1 + b1 # Hiden layer activation

0 commit comments

Comments
 (0)