Mykhailo Shtopko retweeted
We are going to release a very exciting line of models we have worked on for more than a year, can you guess what it is?
Mykhailo Shtopko retweeted
ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed
@bioMikeee et al. add token reconstruction to ELECTRA to build small encoders that classify and embed.
📝 arxiv.org/abs/2611.31495
🤗 huggingface.co/knowledgator/…
Mykhailo Shtopko retweeted
We are pushing the performance–size Pareto frontier with this release🚀
Meet a series of compact encoders trained from scratch that performs well for embedding and discriminative tasks.
More than a year of research at @knowledgator. Here is what we learned 👇
ELECTRA is back, and this time it can embed.
We've been working on ModernELECTRA for a few months. Basically, it's a way to pre-train ELECTRA-style encoders so they are good not only at classification but also as backbones for embedding models, and today two models are out 👇
Everything is open, we did it at @knowledgator, and here are the links:
Paper: arxiv.org/abs/2611.31495
Blog: knowledgator.com/blog/small-…
English: huggingface.co/knowledgator/…
Multilingual: huggingface.co/knowledgator/…
1
21
So the problem is that ELECTRA and DeBERTaV3 are still some of the best classifiers for their size, but when you try to make an embedding model out of them they fall behind a lot, for example DeBERTaV3-base gets about half of what BERT-base gets on BEIR with the same fine-tuning.
4
35
As a result EdgeCoder-31M gets 86.0 on GLUE, which is more than the other encoders of this size we compared with and even more than BERT-base that is over 3x bigger, and on MTEB it's on the same level as them.
2
So we added one small task on top of that: for each token we take a window around it and predict the token using only the two states at the edges of this window, which means every state now has to know about its neighbours, and that's exactly what you need for embeddings.
3
And the reason is actually pretty simple, the model only learns to say for each token if it was replaced or not, which is one bit, so it never needs to remember what the token was or what is around it, and when you average such states into an embedding there is not much left.
26
Mykhailo Shtopko retweeted
While Claude tackles the Riemann hypothesis, we went for something less ambitious but useful every day: arithmetic from natural language.
We built the most versatile system one model that can also solve arithmetic tasks from natural-language requests by reconstructing a computational graph. This approach is more reliable and accurate than the regression approach Clairic uses. As a result, the 500M model beats 27B in such tasks.
What is exciting is that we solve JSON information extraction with a similar architecture. We believe neuro-symbolic approaches are the way to ensure accurate, reliable systems.
Today we’re releasing the most versatile family of System 1 models🚀
Right now, you can instruction-tune the model and solve many tasks 100x faster and more reliably, including classification, hierarchical extraction, editing, computing, and more:
knowledgator.com/blog/system…
Mykhailo Shtopko retweeted
Today we’re releasing the most versatile family of System 1 models🚀
Right now, you can instruction-tune the model and solve many tasks 100x faster and more reliably, including classification, hierarchical extraction, editing, computing, and more:
knowledgator.com/blog/system…
Mykhailo Shtopko retweeted
🚀 Introducing GLiClass v4: our most general and parameter-efficient model family.
The edge model reaches 4B-class accuracy on Decision Index with just 435M parameters, while the 27B version performs better than Jev on many of our benchmarks.
The release presents 3 ways to scale decision models: model size, latent reasoning, and graph reasoning.
Mykhailo Shtopko retweeted
Many people asked me about the GLi* evaluation tree, and this post is all about it.
Actually, the story starts before GLiNER.
In 2022–2023, Chinese research teams and international collaborators explored several complementary approaches. UniMC (2022) framed zero-shot classification as multiple-choice prediction, encoding text and candidate labels together. USM (2023) matched schemas with text through token-level links, unifying entity, relation and event extraction. UniEX (2023) combined span detection, classification and relation extraction within one schema-driven extraction framework.
On October 2023, Knowledgator published “As GPT4 but for token classification”, showing prompt-guided token classification for NER, question answering, relation extraction and other tasks.
In November 2023, Urchade Zaratiana, and colleagues introduced GLiNER, using a bidirectional encoder to match text spans with entity labels supplied at inference time. Trained on the UniversalNER team’s Pile-NER dataset, it reported strong zero-shot NER results against the evaluated LLM baselines. I was excited about it, subsequently joined its development, and continue to co-maintain the project.
In April 2024, Urchade and colleagues introduced GraphER, a related research direction that models entity and relation extraction jointly through graph structure.
That June, Mykhailo Shtopko and I introduced GLiNER multi-task, extending the approach to question answering, summarization, and relation extraction. Our team also released GLiClass and bi/poly-encoder variants in 2024.
In 2025, Jack Boylan and colleagues introduced GLiREL for zero-shot relation extraction; Robin Armingaud and Romaric Besançon developed GLiDRE. And Urchade and the Fastino team released GLiNER2, combining NER, classification, relation extraction, and structured extraction.
In 2026, our team introduced GLiNER-Relex for joint entity and relation extraction. Fastino continued with GLiNER2.5 in August, adding boundary-based extraction, longer context, and constrained joint decoding.
And this September, we released GLiFormer. It brings entities, relations, classification, PDF processing, and nested records into one framework with a shared encoder. For hierarchical extraction, it grounds values in the source, groups them into records, and predicts their relationships before assembling JSON.
I’m proud of our contribution and grateful to all researchers, contributors, and users helping this ecosystem grow. Looking forward to more exciting contributions from the community.
🤖 Made with AI
Mykhailo Shtopko retweeted
GLiClass (open-source Jev, before Jev existed) has landed in OpenClaw 🔥
Run it locally via ONNX for lightweight agent decisions instead of spending a full LLM call on every small choice.
Learn more about GLiClass here: github.com/Knowledgator/GLiC…
Mykhailo Shtopko retweeted
Jev is cool. But the hype is revealing: there are many other types of models other than the current general purpose LLMs.
Rebuilt the core browser-use loop with GLiClass (github.com/knowledgator/glic…) running on my Mac:
LAX → Tokyo in ~4s.
Mykhailo Shtopko retweeted
After minimal fine-tuning, GLiClass can also automate browser tasks, and it has been open source for more than 2 years: github.com/Knowledgator/GLiC…
Jev is cool. But the hype is revealing: there are many other types of models other than the current general purpose LLMs.
Rebuilt the core browser-use loop with GLiClass (github.com/knowledgator/glic…) running on my Mac:
LAX → Tokyo in ~4s.
Mykhailo Shtopko retweeted
GLiClass gained 100 GitHub ✨ overnight. I suspect the buzz around Jev played a big part, and it’s exciting to see more interest in models that turn natural-language instructions into structured decisions.
Back in June 2023, we wrote about our first generalist zero-shot model for classification tasks:
blog.knowledgator.com/the-ne…
Our long-term vision has been to push these models toward a broader range of tasks, including agentic decision-making. We have also worked on RL agents for path-based reasoning over knowledge graphs.
So, how might Jev work, and how does it compare with GLiClass?
TypeSafe describes parallel structured outputs and a training method called Reinforcement Learning for Calibrated Decisions (RLCD). Its launch materials do not disclose the exact architecture, parameter count, or complete training recipe. What follows is my hypothesis about the design space:
typesafe.ai/blog/introducing…
There are several plausible approaches, and we have explored multiple designs for related tasks:
• Bi-encoders that align text and label embeddings;
• Cross-encoders that jointly process each text–label pair;
• GLi*-style models that jointly encode text and multiple labels;
• Diffusion-based structured prediction;
• Multi-stage encoders with dedicated structured-output heads;
• A larger encoder with a small, constrained decoder.
These choices can also be combined. The trade-offs depend on input length, the number of questions and choices, interactions between labels, and whether representations can be cached and reused.
Given latency and performance characteristics, I would guess the size of the model is a few billion parameters, but it can be easily much larger well optimzied model.
My hypothesis would be broad supervised training followed by decision-focused RL, potentially using rewards from multi-step workflows. That could reinforce choices that improve task completion, while calibration would require attention to the quality of the predicted probabilities.
For GLiClass, we have already published an RL training approach that adapts PPO to multi-label classification:
arxiv.org/pdf/2508.07662
For agentic workflows, state can live in the application and be passed into each model call—as structured context, history, or a compressed summary. Persistent behavior does not require persistent memory inside the model.
I also wouldn’t make “encoder or decoder?” the central question. Bidirectional encoders are a strong fit for classification, while causal backbones can also score decisions and benefit from incremental caching. The right choice depends on the workload and training setup.
On multimodality, Jev’s published Doom demo uses structured text state rather than images. Its documented interface currently focuses on text and structured state.
We remain focused on pushing open-source models toward frontier-level capabilities across more tasks. Stay tuned.
Explore GLiClass:
github.com/Knowledgator/GLiC…
Mykhailo Shtopko retweeted
GLiFormer is the first encoder model that is capable of nested JSON extraction. It doesn’t require any generation process and always returns the required JSON structure. These properties make the model 100x faster than LLMs for these tasks, and it works efficiently even on CPU.
You can specify any JSON structure with Pydantic objects, ensuring your structure is always correct and all values are grounded in the text.
On our evaluation datasets, the GLiFormer 500M model performed comparably to much larger generative models like GPT-5.6-luna and Gemma4-31b.
The model has a 16384-token context window and works natively with PDFs and messy OCR text.
Learn more with the following resources:
📄 Research:
knowledgator.com/research/gl…
🤗 Model:
huggingface.co/knowledgator/…
📚 Documentation:
docs.knowledgator.com/docs/f…
⭐ GitHub:
github.com/Knowledgator/GLiF…












