🐦 Twitter Post Details

Viewing enriched Twitter post

@NielsRogge

For folks wondering what Sliding Window Attention is, there's a method for it on Papers with Code Sliding Window Attention (SWA): A local attention pattern that restricts each token to attending only within a fixed-size neighborhood instead of the full sequence. This reduces attention and KV-cache memory for long-context models, while periodic global-attention layers can preserve broader context. Find it here: https://t.co/K1MhZVasL8

Media 1
Media 2

📊 Media Metadata

{
  "media": [
    {
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2094441488306339969/media_0.jpg",
      "media_url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2094441488306339969/media_0.jpg",
      "type": "photo",
      "filename": "media_0.jpg"
    },
    {
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2094441488306339969/media_1.jpg",
      "media_url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2094441488306339969/media_1.jpg",
      "type": "photo",
      "filename": "media_1.jpg"
    }
  ],
  "processed_at": "2026-09-01T08:01:55.919840",
  "pipeline_version": "2.0"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "2094441488306339969",
  "url": "https://x.com/NielsRogge/status/2094441488306339969",
  "twitterUrl": "https://twitter.com/NielsRogge/status/2094441488306339969",
  "text": "For folks wondering what Sliding Window Attention is, there's a method for it on Papers with Code\n\nSliding Window Attention (SWA): A local attention pattern that restricts each token to attending only within a fixed-size neighborhood instead of the full sequence. This reduces attention and KV-cache memory for long-context models, while periodic global-attention layers can preserve broader context.\n\nFind it here: https://t.co/K1MhZVasL8",
  "source": "Twitter for iPhone",
  "retweetCount": 25,
  "replyCount": 2,
  "likeCount": 196,
  "quoteCount": 0,
  "viewCount": 17005,
  "createdAt": "Mon Aug 31 15:05:38 +0000 2026",
  "lang": "en",
  "bookmarkCount": 129,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2094441488306339969",
  "displayTextRange": [
    0,
    276
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "NielsRogge",
    "url": "https://x.com/NielsRogge",
    "twitterUrl": "https://twitter.com/NielsRogge",
    "id": "133818617",
    "name": "Niels Rogge",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/1828883496066060288/n0OUAXhz_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/133818617/1636026056",
    "description": "",
    "location": "Belgium",
    "followers": 22537,
    "following": 744,
    "status": "",
    "canDm": true,
    "canMediaTag": false,
    "createdAt": "Fri Apr 16 18:18:57 +0000 2010",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 2071,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 1021,
    "statusesCount": 3835,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [
      "2056366395605078252"
    ],
    "profile_bio": {
      "description": "ML Engineer @huggingface. Building https://t.co/z4nyO4pjVE. @KU_Leuven grad. General interest in machine & deep learning. Making AI more accessible for everyone!",
      "entities": {
        "description": {
          "urls": [
            {
              "display_url": "paperswithco.de",
              "expanded_url": "http://paperswithco.de",
              "indices": [
                35,
                58
              ],
              "url": "https://t.co/z4nyO4pjVE"
            }
          ],
          "user_mentions": [
            {
              "id_str": "",
              "indices": [
                12,
                24
              ],
              "name": "",
              "screen_name": "huggingface"
            },
            {
              "id_str": "",
              "indices": [
                60,
                70
              ],
              "name": "",
              "screen_name": "KU_Leuven"
            }
          ]
        },
        "url": {
          "urls": [
            {
              "display_url": "nielsrogge.github.io",
              "expanded_url": "http://nielsrogge.github.io",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/5ZROAxhmdm"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "display_url": "pic.x.com/lest8RoV34",
        "expanded_url": "https://x.com/NielsRogge/status/2094441488306339969/photo/1",
        "ext_master_playlist_only": [],
        "ext_media_availability": {
          "status": "Available"
        },
        "ext_playlists": [],
        "features": {
          "large": {
            "faces": []
          },
          "orig": {
            "faces": []
          }
        },
        "id_str": "2094441421814071296",
        "indices": [
          277,
          300
        ],
        "media_key": "3_2094441421814071296",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAAR0Q82BWF4AACgACHRDzb9FXAIEAAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABHRDzYFYXgAAKAAIdEPNv0VcAgQAA",
            "media_key": "3_2094441421814071296"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/HRDzYFYXgAAcRZs.jpg",
        "original_info": {
          "focus_rects": [
            {
              "h": 1506,
              "w": 2689,
              "x": 0,
              "y": 0
            },
            {
              "h": 1506,
              "w": 1506,
              "x": 0,
              "y": 0
            },
            {
              "h": 1506,
              "w": 1321,
              "x": 0,
              "y": 0
            },
            {
              "h": 1506,
              "w": 753,
              "x": 0,
              "y": 0
            },
            {
              "h": 1506,
              "w": 2972,
              "x": 0,
              "y": 0
            }
          ],
          "height": 1506,
          "width": 2972
        },
        "sizes": {
          "large": {
            "h": 1038,
            "w": 2048
          }
        },
        "type": "photo",
        "url": "https://t.co/lest8RoV34"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {
    "hashtags": [],
    "symbols": [],
    "urls": [
      {
        "display_url": "paperswithcode.co/methods/slidin…",
        "expanded_url": "https://paperswithcode.co/methods/sliding-window-attention",
        "indices": [
          416,
          439
        ],
        "url": "https://t.co/K1MhZVasL8"
      }
    ],
    "user_mentions": []
  },
  "quoted_tweet": {
    "type": "tweet",
    "id": "2094414735408050687",
    "url": "https://x.com/jm_alexia/status/2094414735408050687",
    "twitterUrl": "https://twitter.com/jm_alexia/status/2094414735408050687",
    "text": "Simple beats complicated:\n\nWe show that switching to a sliding-window attention mask with attention sinks (at no cost) beats linear attention post-training. \n\nHuge thanks to my collaborators @RheaSukthanker, @CameronPashmina, and @Emy_Aze.\n\nPaper: https://t.co/h8DIc223Su",
    "source": "Twitter for iPhone",
    "retweetCount": 122,
    "replyCount": 45,
    "likeCount": 1411,
    "quoteCount": 47,
    "viewCount": 280600,
    "createdAt": "Mon Aug 31 13:19:19 +0000 2026",
    "lang": "en",
    "bookmarkCount": 1010,
    "isReply": false,
    "inReplyToId": null,
    "conversationId": "2094414735408050687",
    "displayTextRange": [
      0,
      271
    ],
    "inReplyToUserId": null,
    "inReplyToUsername": null,
    "author": {
      "type": "user",
      "userName": "jm_alexia",
      "url": "https://x.com/jm_alexia",
      "twitterUrl": "https://twitter.com/jm_alexia",
      "id": "839820726777544705",
      "name": "Alexia Jolicoeur-Martineau",
      "isVerified": false,
      "isBlueVerified": false,
      "verifiedType": null,
      "profilePicture": "https://pbs.twimg.com/profile_images/1480318038427803651/i_-ZNnjh_normal.jpg",
      "coverPicture": "https://pbs.twimg.com/profile_banners/839820726777544705/1732392398",
      "description": "",
      "location": "Montréal, Québec",
      "followers": 25942,
      "following": 2209,
      "status": "",
      "canDm": true,
      "canMediaTag": false,
      "createdAt": "Thu Mar 09 12:50:39 +0000 2017",
      "entities": {
        "description": {
          "urls": []
        },
        "url": {}
      },
      "fastFollowersCount": 0,
      "favouritesCount": 34526,
      "hasCustomTimelines": true,
      "isTranslator": false,
      "mediaCount": 160,
      "statusesCount": 9956,
      "withheldInCountries": [],
      "affiliatesHighlightedLabel": {},
      "possiblySensitive": false,
      "pinnedTweetIds": [
        "2094414735408050687"
      ],
      "profile_bio": {
        "description": "Principal Researcher @ Microsoft 🐱‍💻\n2025 ARC Prize Winner\n\nI build generative AI for images, videos, text, tabular data, weights, molecules, and video games.",
        "entities": {
          "description": {},
          "url": {
            "urls": [
              {
                "display_url": "ajolicoeur.wordpress.com",
                "expanded_url": "http://ajolicoeur.wordpress.com",
                "indices": [
                  0,
                  23
                ],
                "url": "https://t.co/yThXRiAlVh"
              }
            ]
          }
        }
      },
      "isAutomated": false,
      "automatedBy": null
    },
    "extendedEntities": {},
    "card": {
      "binding_values": [
        {
          "key": "thumbnail_image",
          "value": {
            "image_value": {
              "alt": "arXiv logo",
              "height": 144,
              "url": "https://pbs.twimg.com/card_img/2092080193665921024/lYI0hUfD?format=jpg&name=144x144_2",
              "width": 144
            }
          }
        },
        {
          "key": "description",
          "value": {
            "string_value": "Due to the nature of quadratic attention, Large Language Models (LLMs) consume a lot of memory and energy. Every new token costs more than the previous one. For each additional token, the keys and..."
          }
        },
        {
          "key": "domain",
          "value": {
            "string_value": "arxiv.org"
          }
        },
        {
          "key": "thumbnail_image_large",
          "value": {
            "image_value": {
              "alt": "arXiv logo",
              "height": 420,
              "url": "https://pbs.twimg.com/card_img/2092080193665921024/lYI0hUfD?format=jpg&name=420x420_2",
              "width": 420
            }
          }
        },
        {
          "key": "thumbnail_image_original",
          "value": {
            "image_value": {
              "alt": "arXiv logo",
              "height": 1000,
              "url": "https://pbs.twimg.com/card_img/2092080193665921024/lYI0hUfD?format=jpg&name=orig",
              "width": 1000
            }
          }
        },
        {
          "key": "site",
          "value": {
            "scribe_key": "publisher_id",
            "user_value": {
              "id_str": "808633423300624384",
              "path": []
            }
          }
        },
        {
          "key": "thumbnail_image_small",
          "value": {
            "image_value": {
              "alt": "arXiv logo",
              "height": 100,
              "url": "https://pbs.twimg.com/card_img/2092080193665921024/lYI0hUfD?format=jpg&name=100x100_2",
              "width": 100
            }
          }
        },
        {
          "key": "thumbnail_image_x_large",
          "value": {
            "image_value": {
              "alt": "arXiv logo",
              "height": 1000,
              "url": "https://pbs.twimg.com/card_img/2092080193665921024/lYI0hUfD?format=png&name=2048x2048_2_exp",
              "width": 1000
            }
          }
        },
        {
          "key": "thumbnail_image_alt_text",
          "value": {
            "string_value": "arXiv logo"
          }
        },
        {
          "key": "vanity_url",
          "value": {
            "scribe_key": "vanity_url",
            "string_value": "arxiv.org"
          }
        },
        {
          "key": "thumbnail_image_color",
          "value": {
            "image_color_value": {
              "palette": [
                {
                  "percentage": 94.17,
                  "rgb": {
                    "blue": 255,
                    "green": 255,
                    "red": 255
                  }
                },
                {
                  "percentage": 4.33,
                  "rgb": {
                    "blue": 105,
                    "green": 116,
                    "red": 124
                  }
                },
                {
                  "percentage": 1.26,
                  "rgb": {
                    "blue": 46,
                    "green": 21,
                    "red": 170
                  }
                },
                {
                  "percentage": 0.23,
                  "rgb": {
                    "blue": 131,
                    "green": 116,
                    "red": 203
                  }
                }
              ]
            }
          }
        },
        {
          "key": "title",
          "value": {
            "string_value": "Sliding-window beats linear attention"
          }
        },
        {
          "key": "card_url",
          "value": {
            "scribe_key": "card_url",
            "string_value": "https://t.co/h8DIc223Su"
          }
        }
      ],
      "card_platform": {
        "platform": {
          "audience": {
            "name": "production"
          },
          "device": {
            "name": "iPhone",
            "version": "13"
          }
        }
      },
      "name": "summary",
      "url": "https://t.co/h8DIc223Su",
      "user_refs_results": [
        {
          "rest_id": "808633423300624384",
          "result": {
            "__typename": "User",
            "action_counts": {
              "favorites_count": 983
            },
            "avatar": {
              "image_url": "https://pbs.twimg.com/profile_images/1365352170267299840/IzvjKckL_normal.jpg"
            },
            "banner": {
              "image_url": "https://pbs.twimg.com/profile_banners/808633423300624384/1481635469"
            },
            "core": {
              "created_at": "Tue Dec 13 11:23:26 +0000 2016",
              "name": "arXiv.org",
              "screen_name": "arxiv"
            },
            "dm_permissions": {
              "can_dm": true
            },
            "exclusive_tweet_following": false,
            "follow_request_sent": false,
            "identity_profile_labels_highlighted_label": {},
            "location": {
              "location": "Ithaca, NY",
              "profile_location_place": {
                "country": "",
                "country_code": "",
                "full_name": "Ithaca, NY",
                "id": "ae76bffcaf2bf545",
                "name": "Ithaca, NY",
                "place_type": "unknown"
              }
            },
            "media_permissions": {
              "can_media_tag": true
            },
            "notifications_settings": {
              "notifications_enabled": false
            },
            "pinned_items": {},
            "privacy": {
              "protected": false,
              "suspended": false
            },
            "private_super_following": false,
            "profile_bio": {
              "description": "News from https://t.co/enurGFxpcS, a free distribution service and an open archive for scholarly articles.\n\nFor help with arXiv, see https://t.co/LcWuhM0BOl",
              "entities": {
                "description": {
                  "urls": [
                    {
                      "display_url": "arXiv.org",
                      "expanded_url": "http://arXiv.org",
                      "indices": [
                        10,
                        33
                      ],
                      "url": "https://t.co/enurGFxpcS"
                    },
                    {
                      "display_url": "arxiv.org/help",
                      "expanded_url": "https://arxiv.org/help",
                      "indices": [
                        133,
                        156
                      ],
                      "url": "https://t.co/LcWuhM0BOl"
                    }
                  ]
                },
                "url": {
                  "urls": [
                    {
                      "display_url": "arxiv.org",
                      "expanded_url": "https://arxiv.org/",
                      "indices": [
                        0,
                        23
                      ],
                      "url": "https://t.co/DHMkdi4lF9"
                    }
                  ]
                }
              }
            },
            "profile_image_shape": "Circle",
            "profile_metadata": {
              "profile_interstitial_type": "",
              "profile_link_color": "ABB8C2"
            },
            "profile_translation": {
              "translator_type_enum": "None"
            },
            "properties": {
              "has_extended_profile": true,
              "has_no_screen_name": false
            },
            "relationship_counts": {
              "followers": 53078,
              "following": 184
            },
            "relationship_perspectives": {
              "blocked_by": false,
              "blocking": false,
              "followed_by": false,
              "following": false,
              "live_following": false,
              "muting": false
            },
            "rest_id": "808633423300624384",
            "smart_blocked_by": false,
            "smart_blocking": false,
            "super_follow_eligible": false,
            "super_followed_by": false,
            "super_following": false,
            "tweet_counts": {
              "media_tweets": 121,
              "tweets": 1135
            },
            "verification": {
              "is_blue_verified": false,
              "verified": false
            },
            "website": {
              "url": "https://t.co/DHMkdi4lF9"
            }
          }
        }
      ]
    },
    "place": {},
    "entities": {
      "urls": [
        {
          "display_url": "arxiv.org/abs/2608.28444",
          "expanded_url": "https://arxiv.org/abs/2608.28444",
          "indices": [
            248,
            271
          ],
          "url": "https://t.co/h8DIc223Su"
        }
      ],
      "user_mentions": [
        {
          "id_str": "1498891232398954498",
          "indices": [
            191,
            206
          ],
          "name": "Rhea Sukthanker",
          "screen_name": "RheaSukthanker"
        },
        {
          "id_str": "1056611523089612801",
          "indices": [
            208,
            224
          ],
          "name": "Pashmina Cameron",
          "screen_name": "CameronPashmina"
        },
        {
          "id_str": "2072439447665192960",
          "indices": [
            230,
            238
          ],
          "name": "Emy Aze",
          "screen_name": "Emy_Aze"
        }
      ]
    },
    "quoted_tweet": null,
    "retweeted_tweet": null,
    "isLimitedReply": false,
    "communityInfo": null,
    "article": null
  },
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "communityInfo": null,
  "article": null
}