nlp
- Retentive Networks and RWKVSeptember 16, 2023
A short, hand-wavy explainer for the mathematical intuition behind faster attention mechanisms.
- Fast Attention ImplementationsJune 29, 2023
A reference collection of fast attention implementations.
- RWKV Language Model MathJune 16, 2023
In-depth explanation of the math behind the RWKV model, with PyTorch implementations, plus a discussion of numerical stability.
- Using Gensim Word2Vec Embeddings in KerasAugust 2, 2016
A short post and script regarding using Gensim Word2Vec embeddings in Keras, with example code.
- Question Answering using KerasApril 27, 2016
An in-depth introduction to using Keras for language modeling; word embedding, recurrent and convolutional neural networks, attentional RNNs, and similarity metrics for vector embeddings.