Downloads · 30 days
14
15% of all-time downloads
KhiemGOM/techjam-scaffolding-tagger
techjam-scaffolding-tagger is a token classification model from KhiemGOM. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
A binary token classifier that separates product content from conversational scaffolding in a shopper's message. It is an optional preprocessing step in a conversational e-commerce search agent: it strips filler so th…
Downloads · 30 days
14
15% of all-time downloads
All-time downloads
95
Public
Parameters
66.4M
265 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors265 MB · 100%
From the Hugging Face model README
A binary token classifier that separates product content from conversational scaffolding in a shopper's message. It is an optional preprocessing step in a conversational e-commerce search agent: it strips filler so that a deterministic, catalogue-grounded miner sees only the product-bearing text.
It does not retrieve products, rank them, decide what is valid evidence, or generate text. Every phrase it exposes is still checked against a frozen product catalogue before it may be used.
0 SCAFFOLD conversational framing: greetings, politeness, hedging, meta-talk
1 CONTENT product-bearing text: attributes, categories, requirements
The host agent has a literal recognition gate for the message shapes its simulator emits. When a message does not match, wording has changed and the template parser is blind. This tagger removes the reworded framing so the miner can work on what remains.
Measured on held-out reworded wrappers, it retains 99.25% of the canonical constraint slots — it finds the product text reliably.
It is not, on its own, sufficient, and that is worth stating plainly. In the host agent
the miner it feeds recovered 0.00% of short constraint values, because that miner keeps
an n-gram only when the phrase is distinctive enough, and attribute values like cotton or
zipper closure are far too common to survive. The tagger cleans the text and the miner
then discards exactly the part that mattered. What closes that gap is an exact
catalogue-dictionary lookup, not this model.
Beside that lookup, the tagger's end-to-end contribution is small: +0.0012 on a reworded condition and +0.0000 on every clean evaluation. It ships enabled because it costs nothing where the score is decided, runs locally with no network, and is mildly positive on compound perturbations — not because it carries the workload.
Call it only on messages a literal recognizer has already failed to match. In the host agent that is enforced by control flow: on clean traffic the gate matches 463 of 463 messages, so the model is never constructed and the score is unchanged by construction.
The host also refuses degenerate output — if the tagger would strip a message to fewer than two words, or below 15% of its length, the original text is used instead. A tagger that deletes everything is a failure mode, not a strong prior.
distilbert-base-uncasedApache 2.0, inherited from distilbert-base-uncased.