Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello 😄
First of all, this is a really cool collection of links 💯 And I also wanted to tell you that I am a big fan of your finetunes on huggingface 😄 I am particularly interested in the
drllama
anddrmistral
as I am looking into a similar direction.This PR is a shameless self-plug.
I propose to add Tensorli. It is a minimalistic implementation of a trainable GPT transformer using only numpy.
The implementation includes:
Tensorli
object (PyTorch like)Linearli
,Embeddingli
,MultiheadAttentionli
,LayerNorm
Adamli
All that is "needed" to train and execute a GPT-like transformer model.
...and everything else is just efficiency
~ Andrej Karpathy1.1: Youtube - micrograd
I implemented it for myself to understand transformers better. Then I noticed it would also help others, so I open-sourced it.
Have a good one and cheers 😄