Skip to content

Commit 32185aa

Browse files
authored
add RWKV blog post (the-full-stack#80)
* adds blog post on the RWKV architecture * adds customized timestamps for blog posts
1 parent 83c2993 commit 32185aa

26 files changed

+5317
-0
lines changed

docs/blog/posts/rwkv-explainer/.content.md

+1,704
Large diffs are not rendered by default.

docs/blog/posts/rwkv-explainer/RWKV,_Explained.ipynb

+3,572
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "RWKV, Explained"
3+
description: "A step-by-step explanation of the RWKV architecture via typed PyTorch code."
4+
author: "Charles Frye"
5+
hide:
6+
- navigation
7+
tags:
8+
- llms
9+
- rwkv
10+
- code
11+
- notebook
12+
embed_image: https://i.imgur.com/W3mhy9f.png
13+
time: "2023-07-25"
14+
---
15+
<div class="author" markdown>
16+
By [Charles Frye](https://twitter.com/charles_irl).
17+
</div>
18+
19+
--8<-- "blog/posts/rwkv-explainer/.content.md"
20+
21+
## Acknowledgements
22+
23+
Thanks to
24+
[Ryan Zarcone](https://twitter.com/r_zarcone)
25+
for several long {white,chalk}boarding sessions on RWKV
26+
and to
27+
[Igor Vasiljevic](https://twitter.com/vslevic),
28+
[Faris Hijazi](https://twitter.com/theeFaris),
29+
and
30+
[Ben Field](https://twitter.com/benfieldddd)
31+
for helpful comments on drafts.
32+
33+
Also, many thanks to the RWKV team,
34+
in particular
35+
[Johan Wind](https://johanwind.github.io),
36+
whose
37+
[blog post](https://johanwind.github.io/2023/03/23/rwkv_details.html)
38+
implementing RWKV in numpy was an invaluable resource
39+
and provided the initial scaffolding for the code in this post.

mkdocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ plugins:
6565
template: overrides/custom-blog.html
6666
features:
6767
tags: {}
68+
time_format: '%Y-%m-%d'
69+
meta_time_format: '%Y-%m-%d'
6870
- macros
6971
- search
7072
- section-index # Make top-level nav sections that contain an index.md clickable

0 commit comments

Comments
 (0)