RepoAlerts

token-gate-llms/TokenGate

Library

Can I trust it?

Worth a closer look before you use it.

  • Warnings Check

    Very new: it was created 9 days ago. Wait a little before installing it.

  • Stars from real accounts No data

    We haven't checked its stars for fakes yet.

  • Active OK

    Last change 7 days ago.

  • Licence OK

    Apache-2.0: you can use it for free, also in a commercial product. Keep the licence notice.

Quick checks from public data. They help, but they are no guarantee.

What it is

A research codebase for TokenGate, a drop-in neural component that extends existing trained language models with learned token selection. A gate scores context tokens and keeps the top-K, so only selected tokens are processed above an early layer, reducing long-context prefill…

Who it's for

Machine learning researchers and engineers working on efficient long-context inference or parameter-efficient fine-tuning of transformer LLMs

How to use it

Install

uv venv && uv pip install -e .

From its README. Check it there before running it.

Ask your AI to set it up

Paste this into Claude, ChatGPT or your coding assistant.

Help me install and set up token-gate-llms/TokenGate in my project. Follow its README: https://github.com/token-gate-llms/TokenGate. Explain each step and check it is safe before running anything.

Star curve

98From 0 to 98 stars between 19 Oct 2026 and 28 Oct 2026.

Get alerts for repos like this

We'll email you when something in Models & inference starts rising. Free, once a week, only what matches.

21,772 GitHub repos watched and ranked every hour. Figures as of 28 October 2026.

What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy

For maintainers

Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.

[![token-gate-llms/TokenGate on RepoAlerts](https://repoalerts.com/badge/token-gate-llms/TokenGate.svg)](https://repoalerts.com/repo/token-gate-llms/TokenGate?ref=badge)
Share on X

  • HazyResearch/ncm

    Research code for Next-Concept Modeling, a two-stage framework for parallel text generation. A multiscale residual VQ tokenizer maps sequences to hierarchical discrete codes, and a transformer predict

    ModelModels & inferencePython · 1,217 stars · +524 this week · 18 days old

  • Plab-Lead/CLSR_MDia

    Research framework and reference implementation for machine dialects: compact, reusable symbolic protocols (LSF cards) that language models invent, share and route between each other to reduce generat

    Models & inferencePython · 121 stars · +17 this week · 18 days old

  • alleyxd/AnyDecide

    A Python library and HTTP service that turns a local language model into a decision API. Typed questions (choice, score, yes/no) are answered in one batched forward pass by reading next-token probabil

    LibraryModels & inferencePython · 41 stars · +40 this week · 20 days old

  • ranxianglei/billion-context

    A context-compression plugin and proxy that sits between a coding agent and its model API. It rewrites Anthropic and OpenAI streams, folds consumed conversation into incremental, reversible summaries,

    AppAI agentsTypeScript · 3,258 stars · +1,013 this week · 84 days old

  • YeonwooSung/llm-architecture-from-scratch

    A collection of from-scratch PyTorch implementations of modern LLM architectures, including GPT-2 XL, Llama variants, DeepSeek V3, Qwen3, and Gemma 3. A comparison table lists each model's normalizati

    Models & inferencePython · 1,106 stars · 43 days old

  • microsoft/TokenEconomizer

    A plugin for Claude Code, Codex, the GitHub Copilot CLI and Pi that reduces token cost across a repository's sessions. It learns recurring environment facts, prunes tools that go unused, and redirects

    AI skillAI agentsPython · 369 stars · +237 this week · 16 days old