Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆298Aug 30, 2026Updated last month
Alternatives and similar repositories for transformer-from-scratch
Users that are interested in transformer-from-scratch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch☆97Updated this week
- Simple transformer implementation from scratch in pytorch. (archival, latest version on codeberg)☆1,101Mar 20, 2025Updated last year
- Repository collecting resources and best practices to improve experimental rigour in deep learning research.☆27Mar 30, 2023Updated 3 years ago
- Repository for "BLEU Meets COMET: Combining Lexical and Neural Metrics Towards Robust Machine Translation Evaluation", accepted at EAMT 2…☆21Jul 19, 2023Updated 3 years ago
- Overview of corpora/datasets for Germanic low-resource languages and dialects. Accompanies "A Survey of Corpora for Germanic Low-Resource…☆28Feb 16, 2026Updated 8 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Code and data for the paper "Disentangling Uncertainty in Machine Translation Evaluation", accepted at EMNLP 2022.☆23Jun 23, 2023Updated 3 years ago
- A Simplified PyTorch Implementation of Vision Transformer (ViT)☆265Jun 10, 2024Updated 2 years ago
- ☆23Jun 10, 2025Updated last year
- Code for Neural Estimation of the Rate-Distortion Function With Applications to Operational Source Coding☆14Nov 2, 2023Updated 2 years ago
- CSC Training: High-Level GPU Programming☆14Oct 16, 2025Updated last year
- ☆10Jun 14, 2023Updated 3 years ago
- Pacmed Labs experiments on uncertainty estimation, focusing on unbalanced tabular data and classification tasks.☆22May 26, 2021Updated 5 years ago
- OpenCopilot flows editor☆11Oct 31, 2023Updated 2 years ago
- Discrete Bayesian optimization with LLMs, PEFT finetuning methods, and the Laplace approximation.☆23Jul 30, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- ☆13Jul 26, 2023Updated 3 years ago
- ☆18Mar 20, 2019Updated 7 years ago
- A dataset of alignment research and code to reproduce it☆80Jun 22, 2023Updated 3 years ago
- Repository for DEMETR: Diagnosing Evaluation Metrics for Translation☆17Nov 29, 2022Updated 3 years ago
- Model zoo for different kinds of uncertainty quantification methods used in Natural Language Processing, implemented in PyTorch.☆55May 5, 2023Updated 3 years ago
- Mutual information estimators and benchmark☆64Sep 16, 2025Updated last year
- CausalNLP is a practical toolkit for causal inference with text as treatment, outcome, or "controlled-for" variable.☆157Feb 6, 2025Updated last year
- ☆16May 9, 2022Updated 4 years ago
- [NAACL 2022] TIE: Topological Information Enhanced Structural Reading Comprehension on Web Pages☆22Jun 3, 2022Updated 4 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Multiple Generalized Additive Models implemented in Python (EBM, XGB, Spline, FLAM). Code for our KDD 2021 paper "How Interpretable and T…☆14Aug 15, 2021Updated 5 years ago
- Source code for paper "Discrete Latent Factor Model for Cross-Modal Hashing"☆18Aug 21, 2020Updated 6 years ago
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆17Jan 7, 2025Updated last year
- Riemannian metrics to measure distances in latent space of VAEs☆14Jan 7, 2019Updated 7 years ago
- This repository contains examples of using PaliGemma for tasks such as object detection, segmentation, image captioning, etc.☆22Feb 17, 2025Updated last year
- Source code of "Calibrating Large Language Models Using Their Generations Only", ACL2024☆23Nov 20, 2024Updated last year
- ☆10Oct 27, 2020Updated 5 years ago
- The code for Meta Learning for SGMCMC☆25Feb 21, 2019Updated 7 years ago
- Efficient empirical NTKs in PyTorch☆22Jun 13, 2022Updated 4 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- SKILLSPAN: Competences as Spans for Skill Extraction from Job Postings☆69Feb 13, 2025Updated last year
- NLP course @ CS Faculty, HSE☆15Mar 4, 2020Updated 6 years ago
- FeelingBlue: A Corpus for Understanding the Emotional Connotation of Color in Context, accepted at TACL 2022, presented at ACL 2023☆13Dec 28, 2023Updated 2 years ago
- Lets build a Deep Learning Framework!☆28Mar 12, 2026Updated 7 months ago
- Monitoring of AI Regulations☆19May 30, 2021Updated 5 years ago
- ☆20May 25, 2026Updated 4 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,953Aug 15, 2024Updated 2 years ago