Python attention

Open-source Python projects categorized as attention

Top 23 Python attention Projects

  1. nn

    ๐Ÿง‘โ€๐Ÿซ 60+ Implementations/tutorials of deep learning papers with side-by-side notes ๐Ÿ“; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), ๐ŸŽฎ reinforcement learning (ppo, dqn), capsnet, distillation, ... ๐Ÿง 

  2. InfluxDB

    InfluxDB โ€“ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. attention-is-all-you-need-pytorch

    A PyTorch implementation of the Transformer model in "Attention is All You Need".

  4. transformer-pytorch

    Transformer: PyTorch Implementation of "Attention Is All You Need"

  5. scenic

    Scenic: A Jax Library for Computer Vision Research and Beyond (by google-research)

  6. ABSA-PyTorch

    Aspect Based Sentiment Analysis, PyTorch Implementations. ๅŸบไบŽๆ–น้ข็š„ๆƒ…ๆ„Ÿๅˆ†ๆž๏ผŒไฝฟ็”จPyTorchๅฎž็Žฐใ€‚

  7. gansformer

    Generative Adversarial Transformers

  8. performer-pytorch

    An implementation of Performer, a linear attention-based transformer, in Pytorch

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. transfusion-pytorch

    Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAI

    Project mention: Transfusion: Predict the Next Token and Diffuse Images with One Multimodal Model | news.ycombinator.com | 2024-09-10

    Doesn't appear to be any weights uploaded anywhere that I can find.

    There are the starts of two (non-original-author) public implementations available on Github, but again -- doesn't appear to be any pretrained weights in either.

    * https://github.com/lucidrains/transfusion-pytorch

    * https://github.com/VachanVY/Transfusion.torch

  11. graphtransformer

    Graph Transformer Architecture. Source code for "A Generalization of Transformer Networks to Graphs", DLG-AAAI'21.

  12. LongNet

    Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"

  13. punctuator2

    A bidirectional recurrent neural network model with attention mechanism for restoring missing punctuation in unsegmented text

  14. open-musiclm

    Implementation of MusicLM, a text to music model published by Google Research, with a few modifications.

  15. SAITS

    The official PyTorch implementation of the paper "SAITS: Self-Attention-based Imputation for Time Series". A fast and state-of-the-art (SOTA) deep-learning neural network model for efficient time-series imputation (impute multivariate incomplete time series containing NaN missing data/values with machine learning). https://arxiv.org/abs/2202.08516

  16. PEN-Net-for-Inpainting

    [CVPR'2019] PEN-Net: Learning Pyramid-Context Encoder Network for High-Quality Image Inpainting

  17. ScreenAI

    Implementation of the ScreenAI model from the paper: "A Vision-Language Model for UI and Infographics Understanding"

  18. how_attentive_are_gats

    Code for the paper "How Attentive are Graph Attention Networks?" (ICLR'2022)

  19. nanodl

    A Jax-based library for building transformers, includes implementations of GPT, Gemma, LlaMa, Mixtral, Whisper, SWin, ViT and more.

  20. gnn-lspe

    Source code for GNN-LSPE (Graph Neural Networks with Learnable Structural and Positional Representations), ICLR 2022

  21. DeepViewAgg

    [CVPR'22 Best Paper Finalist] Official PyTorch implementation of the method presented in "Learning Multi-View Aggregation In the Wild for Large-Scale 3D Semantic Segmentation"

  22. flashattention2-custom-mask

    Triton implementation of FlashAttention2 that adds Custom Masks.

    Project mention: FlashAttention2 with Custom Masking | news.ycombinator.com | 2024-07-21
  23. CrabNet

    Predict materials properties using only the composition information!

  24. Perceiver

    Implementation of Perceiver, General Perception with Iterative Attention

  25. pytorch-handwriting-synthesis-toolkit

    Handwriting generation and handwriting synthesis as described in Alex Graves's paper https://arxiv.org/abs/1308.0850. Pytorch implementation.

    Project mention: Show HN: Handwriter.ttf โ€“ Handwriting Synthesis with Harfbuzz WASM | news.ycombinator.com | 2024-08-21

    I didn't train the model. A pretrained model is adopted from another repo [0].

    [0]: https://github.com/X-rayLaser/pytorch-handwriting-synthesis-...

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python attention discussion

Log in or Post with

Python attention related posts

  • ElevenLabs Launches Voice Translation Tool to Break Down Language Barriers

    2 projects | news.ycombinator.com | 10 Oct 2023
  • LongLlama

    2 projects | /r/LocalLLaMA | 7 Jul 2023
  • LongNet: Scaling Transformers to 1,000,000,000 Tokens

    3 projects | /r/LocalLLaMA | 6 Jul 2023
  • Which features you wish that were added to Character Ai?

    1 project | /r/CharacterAI | 7 Jul 2023
  • Why AI will not replace programmers.

    2 projects | /r/ChatGPT | 7 Jul 2023
  • An open model that beats ChatGPT. We're seeing a real shift towards open source models that will accelerate in the coming weeks.

    1 project | /r/aipromptprogramming | 6 Jul 2023
  • GitHub - kyegomez/LongNet: Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"

    1 project | /r/AITechTips | 6 Jul 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more โ†’

Index

What are some of the best open-source attention projects in Python? This list will help you:

# Project Stars
1 nn 60,495
2 attention-is-all-you-need-pytorch 9,130
3 transformer-pytorch 3,680
4 scenic 3,531
5 ABSA-PyTorch 2,054
6 gansformer 1,335
7 performer-pytorch 1,126
8 transfusion-pytorch 1,097
9 graphtransformer 953
10 LongNet 702
11 punctuator2 672
12 open-musiclm 536
13 SAITS 404
14 PEN-Net-for-Inpainting 361
15 ScreenAI 340
16 how_attentive_are_gats 327
17 nanodl 287
18 gnn-lspe 255
19 DeepViewAgg 229
20 flashattention2-custom-mask 111
21 CrabNet 100
22 Perceiver 88
23 pytorch-handwriting-synthesis-toolkit 75

Sponsored
InfluxDB โ€“ Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?