several types of attention modules written in PyTorch for learning purposes
☆53Jan 2, 2026Updated 3 months ago
Alternatives and similar repositories for attention
Users that are interested in attention are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆192May 9, 2024Updated last year
- 🧠 A study guide to learn about Transformers☆12Jan 11, 2024Updated 2 years ago
- Knock your images before you get stressed.☆11Jan 9, 2022Updated 4 years ago
- Developer project for getting basic API integrations working in under 5 minutes☆11Jan 30, 2026Updated 2 months ago
- ☆11Oct 11, 2023Updated 2 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- This code repository is the source code of the paper "Deep Long-Range Spatiotemporal Dependency Synthetic Minority Oversampling Technique…☆14Nov 21, 2025Updated 4 months ago
- MLX binary vectors and associated algorithms.☆14Mar 13, 2025Updated last year
- This is a simple torch implementation of the high performance Multi-Query Attention☆16Aug 23, 2023Updated 2 years ago
- [CVPR2026] BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformers☆32Mar 17, 2026Updated last month
- Implementation of Variance Reduction Techniques in Julia☆11Sep 6, 2016Updated 9 years ago
- Efficient implementation of Generative Stochastic Networks☆12Nov 28, 2013Updated 12 years ago
- Code for 'Inference Suboptimality in Variational Autoencoders'☆10May 22, 2020Updated 5 years ago
- LLM - Detect AI Generated Text || Identify which essay was written by a large language model☆17Jan 17, 2024Updated 2 years ago
- sigma-MoE layer☆21Jan 5, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- InternLM-7B微调, SFT/LoRA, instruction finetune☆13May 17, 2024Updated last year
- Code for the article series on building a Python compiler and interpreter☆11Feb 13, 2025Updated last year
- Spiking neural networks (SNNs) for speech classification☆12Mar 14, 2022Updated 4 years ago
- ☆11Aug 4, 2022Updated 3 years ago
- ☆10Feb 19, 2019Updated 7 years ago
- The open source implementation of the multi grouped query attention by the paper "GQA: Training Generalized Multi-Query Transformer Model…☆16Dec 11, 2023Updated 2 years ago
- GC-Net: Global Attention Module and Cascade Fusion Network for Steel Surface Defect Detection☆10Dec 2, 2024Updated last year
- Wide Kernel Time-Frequency Fusion (WTFF)--Multi-Domain Time-Frequency Fusion Feature Contrastive Learning for Machinery Fault Diagnosis☆14Mar 21, 2025Updated last year
- The source code (Pytorch version) of paper "Multi-modality augmented Prototypical Network for Fault Diagnosis"☆11Aug 26, 2024Updated last year
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Graph transport network (GTN), as proposed in "Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, an…☆15Apr 26, 2023Updated 2 years ago
- [AAAI'25] "Decomposed Spatio-Temporal Mamba for Long-Term Traffic Prediction"☆20May 30, 2025Updated 10 months ago
- ☆17Jan 5, 2018Updated 8 years ago
- [PR2024] Official code for "MP-TFWA: Multi-schema prompting powered token-feature woven attention network for short text classification"☆13Jul 25, 2024Updated last year
- Codes for our paper "Exploring Bit-Slice Sparsity in Deep Neural Networks for Efficient ReRAM-Based Deployment" [NeurIPS'19 EMC2 workshop]…☆10Oct 12, 2020Updated 5 years ago
- [ICLR 2024] This is the official PyTorch implementation of "QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language Mod…☆39Mar 11, 2024Updated 2 years ago
- (ICML 2024) PyTorch implementation of "Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes"☆16Oct 15, 2024Updated last year
- Human Activity Recognition with LSTM model and MLFlow Tracking☆11Jun 6, 2022Updated 3 years ago
- ☆26May 6, 2025Updated 11 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Source Code for Online Collective Matrix Factorization Hashing. Reference: Di Wang, Quan Wang, Yaqiang An, Xinbo Gao, and Yumin Tian. 202…☆11Oct 20, 2020Updated 5 years ago
- Code for the paper "OTRE: Where Optimal Transport Guided Unpaired Image-to-Image Translation Meets Regularization by Enhancing"☆11Aug 2, 2025Updated 8 months ago
- Joint optic disc and optic cup segmentation based on boundary prior and adversarial learning☆15Jan 18, 2023Updated 3 years ago
- A service that parses a sentence using AMR and returns a set of Verbnet logic predicates grounded with the roles of the input sentence.☆13Apr 6, 2022Updated 4 years ago
- SHUOSC RISC-V implementation☆11May 12, 2024Updated last year
- A Sobol sequence generator for Scala and Javascript☆15Feb 15, 2020Updated 6 years ago
- Equivalent Circuit Model for Lithium-Ion Batteries☆12Aug 15, 2023Updated 2 years ago