CyberNative

Tool

Will your fine-tune stop?

Paste a Hugging Face model id. We read its tokenizer and generation files in your browser and check two settings that can make a fine-tune run on, or start a training example with two BOS tokens.

01 · Check a model

Two mistakes that hide until someone runs your model.

A fine-tune can pass every eval and still keep generating past the end of its answer when the token its chat template uses to end a turn is not one that generate() stops on. Or a training example can start with two BOS tokens. Both live in small config files, so both can be read before anyone downloads a weight.

Try:

02 · How it reads

What the page does with your model id.

It downloads up to seven public files from the repo (tokenizer_config.json, tokenizer.json, generation_config.json, config.json, chat_template.jinja, chat_template.json, special_tokens_map.json) straight from Hugging Face into this tab. It renders your chat template with @huggingface/jinja, in a worker. Once the files have downloaded, the worker has 15 seconds to read them, render the template and compare. It compares the text that ends an assistant turn with the eos_token_id ids that generate() stops on in transformers 5.24.1: generation_config.json when it exists, otherwise config.json. The page itself requests up to seven files from huggingface.co, branch main, without cookies or a referrer. Each request has 60 seconds to finish. If Hugging Face is limiting requests, or a request fails with a network or read error, the page may try that file again, up to four times in all, so one check can make up to 28 requests before any redirects; a request that runs out of time, or a file over a size limit, is not tried again. Hugging Face may redirect a request to its file storage. The page has no analytics code. One check runs at a time; it skips a file over 64 MB, or a model whose files total over 80 MB. It checks that each JSON file is valid and keeps only the fields it uses. It stops at JSON nested more deeply than it reads, and at a file or a chat template that would build more than a fixed amount of text and lists.

LimitIt is for chat (instruct) models. A base model or a model that is not built for chat, such as a retriever, is expected to run past a chat template's turn end, so its result here tells you nothing. It is a static check: it compares the configured EOS and BOS tokens with the template's rendered text on three sample conversations, and a text match is not a token-level result. It reads files, not behaviour. Servers that add their own stop strings (vLLM with the tokenizer's EOS, Ollama, llama.cpp from GGUF metadata) may stop where generate() would not. It does not tokenize, so a marker that your tokenizer splits into pieces is matched as text. Private and gated repos cannot be read without your token, and this page never asks for one.