Frank Odom

Elite
@fkodom

founding eng @ tower research ventures

fft-conv-pytorch. Implementation of 1D, 2D, and 3D FFT convolutions in PyTorch. Much faster than direct convolutions for large kernel sizes.

523

grouped-query-attention-pytorch. (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints" (https://arxiv.org/pdf/2305.13245.pdf)

194

clip-text-decoder. Generate text captions for images from their embeddings.

119

yet-another-retnet. A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (https://arxiv.org/pdf/2307.08621.pdf)

105

transformer-from-scratch. Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch

98

soft-mixture-of-experts. PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)

83

lora-pytorch. Simple but robust implementation of LoRA for PyTorch. Compatible with NLP, CV, and other model types. Strongly typed and tested.

66

dilated-attention-pytorch. (Unofficial) Implementation of dilated attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens" (https://arxiv.org/abs/2307.02486)

52

wnet-unsupervised-image-segmentation. Python

28

semantle. Fastest 'Semantle' solver this side of the Mississippi.

17

document-rag. RAG application to answer questions about PDF documents using LLMs.

16

python-repo-template. Template repo for Python projects, especially those focusing on machine learning and/or deep learning.

15

byol. PyTorch implementation of BYOL: a fantastically simple method for self-supervised image representation learning with SOTA performance.

11

simple-bert-pytorch. A very simple BERT implementation in PyTorch, which only depends on PyTorch itself.

7

metis. Minimalist library for training RL agents in PyTorch. Implements many common training algorithms, with a focus on actor-critic methods. Includes SAC, TD3, PPO, A2C, VPG.

6

octconv-pytorch. Python

5

blip-inference. Pretrained BLIP with a similar API to CLIP.

5

simple-cocotools. A simple, modern alternative to 'pycocotools'.

3

unipipe. Build batch pipelines in Python that run anywhere.

3

wordle. Fastest Wordle solver in the West.

3

gpt-fast. Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.

3

ncsn. Personal repo recreating Noise Contrastive Score Networks (https://arxiv.org/abs/1907.05600v2) for learning purposes.

2

ddpg-her-pytorch. Implementation of the Hindsight Experience Replay (HER) algorithm using PyTorch. Utilizes Deep Deterministic Policy Gradients for off-policy optimization of RL agents in continuous action spaces.

1

nanoserp. A tiny, free tool for web search and page scraping leveraging the DuckDuckGo html endpoint. Available as both a CLI and Python package.

1
24
Apply