Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆299Nov 3, 2026Updated 3 weeks ago
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:
- Repository for UAI 2021 paper "Know Your Limits: Uncertainty Estimation with ReLU Classifiers Fail at Reliable OOD Detection".☆10Feb 3, 2022Updated 4 years ago
- ☆559Apr 29, 2024Updated 2 years ago
- ☆10Feb 8, 2025Updated last year
- The code for the video tutorial series on building a Transformer from scratch: https://www.youtube.com/watch?v=XR4VDnJzB8o☆19Apr 15, 2023Updated 3 years ago
- Repository collecting resources and best practices to improve experimental rigour in deep learning research.☆27Mar 30, 2023Updated 3 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ☆11Nov 19, 2020Updated 6 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 9 months 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
- Code base for the EMNLP 2021 Findings paper: Cartography Active Learning☆14Jun 3, 2025Updated last year
- Code for Neural Estimation of the Rate-Distortion Function With Applications to Operational Source Coding☆14Nov 2, 2023Updated 3 years ago
- Pacmed Labs experiments on uncertainty estimation, focusing on unbalanced tabular data and classification tasks.☆22May 26, 2021Updated 5 years ago
- Teaching Models to Express Their Uncertainty in Words☆40May 26, 2022Updated 4 years ago
- CSC Training: High-Level GPU Programming☆14Oct 16, 2025Updated last year
- Enabling easy statistical significance testing for deep neural networks.☆344Updated this week
- 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.
- ☆13Jul 26, 2023Updated 3 years ago
- In this project I implement Neural Machine Translation using Attention mechanism. The code is written using the TensorFlow library in Pyt…☆24Mar 21, 2019Updated 7 years ago
- ☆18Mar 20, 2019Updated 7 years ago
- Discrete Bayesian optimization with LLMs, PEFT finetuning methods, and the Laplace approximation.☆23Nov 15, 2026Updated last week
- Protein Sequence Evolutionary Information Language Model☆14Oct 5, 2023Updated 3 years ago
- ☆16May 9, 2022Updated 4 years ago
- Repository for DEMETR: Diagnosing Evaluation Metrics for Translation☆17Nov 29, 2022Updated 3 years ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆25,056Aug 15, 2024Updated 2 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
- 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.
- [NAACL 2022] TIE: Topological Information Enhanced Structural Reading Comprehension on Web Pages☆22Jun 3, 2022Updated 4 years ago
- Cold Start Similar Artists Ranking with Gravity-Inspired Graph Autoencoders (RecSys 2021)☆19Oct 17, 2021Updated 5 years ago
- ☆13Feb 7, 2023Updated 3 years ago
- Laplace Redux -- Effortless Bayesian Deep Learning☆47Jun 6, 2025Updated last year
- Contains slides and hands-on tutorials for understanding and implementing Transformers in Natural Language Processing. Uses the HuggingFa…☆27Jun 28, 2020Updated 6 years ago
- Repository for the paper ESCOXLM-R: Multilingual Taxonomy-driven Pre-training for the Job Market Domain (ACL2023)☆10Aug 18, 2023Updated 3 years ago
- Implementation of: Kristiadi, Agustinus, and Asja Fischer. "Predictive Uncertainty Quantification with Compound Density Networks." (2019)…☆16May 26, 2022Updated 4 years ago
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆17Jan 7, 2025Updated last year
- NLQuAD: A Non-Factoid Long Question Answering Data Set. To be published at EACL2021☆13May 18, 2021Updated 5 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.
- CausalNLP is a practical toolkit for causal inference with text as treatment, outcome, or "controlled-for" variable.☆158Feb 6, 2025Updated last year
- Cross-modal Coherence Modeling for Caption Generation☆11Jul 24, 2020Updated 6 years ago
- Framework to achieve context distillation in LLMs☆15Nov 24, 2023Updated 3 years ago
- This repository contains examples of using PaliGemma for tasks such as object detection, segmentation, image captioning, etc.☆22Feb 17, 2025Updated last year
- 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
- ☆10Sep 28, 2022Updated 4 years ago
- ☆31Sep 7, 2023Updated 3 years ago
Are these results useful?