Priority Tokens banner

Priority Tokens

6 devlogs
12h 6m 13s

Priority Tokens is a research project exploring whether a fine-tuned LLM can be taught to treat certain parts of its context as more important than others, based on explicit user-defined tags. The idea is to give users a simple way to mark text w…

Priority Tokens is a research project exploring whether a fine-tuned LLM can be taught to treat certain parts of its context as more important than others, based on explicit user-defined tags. The idea is to give users a simple way to mark text with priority levels — «Priority1» through «Priority10» — so the model reliably recalls and follows high-priority content even when it’s buried deep in a long context. The project uses QLoRA fine-tuning on Qwen3-8B to teach this behavior through supervised examples, without modifying the model’s architecture. It’s a hobbyist-scale experiment, but one grounded in a real and documented weakness of current LLMs.

This project uses AI

I am using Claude (not code) for helping me learn and make concepts

Demo Repository

Loading README...

Joan Code

Shipped this project!

Hours: 10.45
Cookies: 🍪 70
Multiplier: 6.72 cookies/hr

I did some turnarounds but yeah

Joan Code

OMG there are sooo many things i did:

  1. I tried to redo the cli thingy but im just always failing and finding myself just using AI and not knowing how it works. It sucks and thats why I stopped working on it but maybe in a few months im going to be smart enough to really do it.

  2. I have a BRAND NEW IDEA!!!!!!!!!!
    I was watching a TV show (Tatort) and they showed a AI and it was just soooo wrooong. There where some crazy cool (but also dumb) animations and everything was going crazy. Shortly after i somehow came up with the idea to train a LLM to prioritize sentences sorrounded by a tag like «AttentionX» (x reaching from 1 being the lowest to 10 being the highest)
    I did some research (aka asking claude kimi and chatgpt) and it doesnt exist rn actually!!! I was really supprised and since its really new im gonna actually continue to work on that instead!

I actually already started writing a concept and i have a concrete plan!

Attachment
0
Joan Code

I have obtained completly legaly hm sry had to cough Adobe After effects and worked on starting building my character and animation there and ive let Codex redo the gif component to support new features (My goal was to not use ai in this project but there is no way im gonna touch some weird gif to ascii sh*t no way! and i really needed it)

Attachment
0
Joan Code

New Layout :)

it was really annoying but it works!

Attachment
0
Joan Code

I animated the Character and implemented it into ink as a component

0