Skip to content
#

segmenter

Here are 27 public repositories matching this topic...

A high-performance wrapper around Intl.Segmenter for efficient text segmentation. This class resolves memory handling issues seen with large strings and "maximum call stack exceeded" exceptions that occur when strings exceed 40-50k characters. Enhances performance by 50-500x. Only ~70 loc (with comments) and no dependencies.

  • Updated May 2, 2025
  • JavaScript

[VISAPP 2026] Graph-Guided Token Merging (G2TM) is a lightweight one-shot module designed to eliminate redundant tokens in the early layers of a ViT-based models, through graph theory. It performs a single token merging step after a shallow attention block, enabling all subsequent layers to operate on a compact token set.

  • Updated May 4, 2026
  • Python

Add this topic to your repo

To associate your repository with the segmenter topic, visit your repo's landing page and select "manage topics."

Learn more