frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Can we reconstruct a tokenizer using only two oracles from the chat API?

https://old.reddit.com/r/LocalLLaMA/comments/1utc5b9/can_we_reconstruct_a_closedsource_llm_tokenizer/
1•bayes-song•1h ago

Comments

bayes-song•1h ago
From the chat APIs alone, we can extract two useful oracles: Token length oracle: Given any string s, return len(tokenize(s)).

Prefix token oracle: Given a string s and integer n, return the string decoded from the first n tokens of tokenize(s).

The first oracle (token count) is straightforward. The second oracle's main purpose is to resolve ambiguities in merge order. For example, without it we couldn’t distinguish between the segmentations (a, bc) and (ab, c). By leveraging the model’s ability to repeat text in a controlled way, we can construct this second oracle from the regular chat interface.

With only these two oracles, is it possible to reconstruct an equivalent tokenizer — one that produces the exact same token boundaries/segmentation on any input (up to token ID remapping)?

Pursuit: An epic, month-long San Francisco scavenger hunt

https://sfpursuit.org/
1•jer0me•3m ago•1 comments

The Unfair Advantage of Using Agents for Email – MailKite

https://mailkite.dev/blog/unfair-advantage-agent-email/
4•gabe_karina•4m ago•0 comments

Show HN: Haizu – Placement Management System

https://github.com/uswebk/haizu
2•uswebk•5m ago•0 comments

Huawei's telephoto lens identified a plane as a bird

https://xcancel.com/youy1qwq/status/2075444313132351828
1•robin_reala•8m ago•1 comments

One email to summarize all your emails

https://suminone.click/
2•evgy•11m ago•0 comments

We tried London's first driverless bus

https://www.londoncentric.media/p/londons-first-driverless-bus
1•BerislavLopac•14m ago•0 comments

We re living in a tick nightmare

https://www.nytimes.com/2026/07/11/opinion/ticks-disease-lyme-alpha-gal.html
1•yeknoda•14m ago•0 comments

I created a font called Ghost Font that only humans can read

https://twitter.com/ericlu/status/2075876651574210643
1•mcenedella•15m ago•1 comments

I miss post-internet art

https://spectator.com/article/i-miss-post-internet-art/
1•thinkingemote•18m ago•0 comments

Only 5L,If you want to take 5090 to college, Try this case – FE9 Build [video]

https://www.youtube.com/watch?v=McSLH-_unfk
1•ksec•18m ago•0 comments

Microsoft admits Windows 11 has a GDID tracker with no off switch

https://www.windowslatest.com/2026/07/10/you-cant-fully-disable-microsofts-gdid-windows-11-tracke...
5•GBiT•19m ago•0 comments

The crypto billionaires building a world where money buys you a vote

https://www.bbc.co.uk/news/articles/cly8eqyj8e2o
4•BerislavLopac•20m ago•0 comments

New York Times and Other Publishers Ask Court to Penalize OpenAI

https://www.nytimes.com/2026/07/09/technology/new-york-times-openai.html
2•1vuio0pswjnm7•23m ago•1 comments

Let's build a simple interpreter for APL – part 1

https://mathspp.com/blog/lsbasi-apl-part1
1•mpweiher•24m ago•0 comments

USAA closed 51% of home insurance claims without making a payment in 2025

https://www.expressnews.com/business/article/san-antonio-usaa-insurance-claims-rejected-22293061.php
18•gscott•24m ago•0 comments

Good Questions

https://www.economist.com/business/2026/07/09/the-secret-to-good-questions
1•andsoitis•24m ago•0 comments

40 Years of AVM/Fritz: From BTX Hobby Project to Router Icon

https://www.heise.de/en/news/40-Years-of-AVM-Fritz-From-BTX-Hobby-Project-to-Router-Icon-11357116...
1•sebastian_z•24m ago•0 comments

Dora Compliance for Email: Mapping Sender Authentication to Article 9-10-11

https://dmarcguard.io/blog/dora-email-authentication/
1•meysamazad•25m ago•0 comments

How the Rule-Breaking Octopus Is Rewriting the Evolution of Intelligence

https://nautil.us/how-the-rule-breaking-octopus-is-rewriting-the-evolution-of-intelligence-1282633
2•Brajeshwar•26m ago•0 comments

I was wrong about game development

https://mijndertstuij.nl/posts/i-was-wrong-about-game-development/
2•meysamazad•27m ago•0 comments

What I Expect from an Editor as a Programmer

https://plaindrops.de/blog/2026/programming/
1•meysamazad•27m ago•0 comments

How Does AI Work? [video]

https://www.youtube.com/watch?v=YmLp8qe87A0
1•luispa•28m ago•0 comments

Ask HN: My father died and I need to find my path

1•c4kar•28m ago•1 comments

Thomas Midgley Jr

https://en.wikipedia.org/wiki/Thomas_Midgley_Jr.
1•chistev•32m ago•0 comments

DoS Attack on Crates.io

https://status.crates.io/incidents/h2fxgl2jtc5q
2•garo-pro•35m ago•1 comments

PR Reminder Bot – Node.js tool that Slack-nags you about stale PRs

https://github.com/Enox77/pr-reminder-bot
1•Enox77•36m ago•0 comments

The world bank has ditched its climate targets

https://www.economist.com/finance-and-economics/2026/07/06/the-world-bank-has-ditched-its-climate...
1•andsoitis•36m ago•0 comments

Show HN: Agent OS – a local-first harness for reliable software agents

https://github.com/earthwalker17/agent-os
1•MonoEarthwalker•37m ago•0 comments

The largest available Minecraft world, totalling 15 TB

https://2b2t.place/1million
1•_____k•38m ago•0 comments

Litert.js, Google's High Performance Web AI Inference

https://developers.googleblog.com/litertjs-googles-high-performance-web-ai-inference/
1•simonpure•38m ago•0 comments