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:
https://t.co/04uhJslqJT
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.
📝 https://t.co/Z7eLu9NKme
🤗 https://t.co/TDTVMn2QpX
We wrote The Illustrated ModernELECTRA, basically it's our whole pre-training method shown in animations, so you can see why a 31M BERT-like model ends up better on GLUE than BERT-base with 110M (86.0 vs 84.7) without reading the paper 👇
@bedros_p@arianevans@kglightspire@tunguz It is motivating to hear your feedback.
We designed our pre-training method from first principles, taking into account the model architecture and downstream tasks.
Please feel free to share your experience with a wider audience; we'd really appreciate it.
📘 The Illustrated ModernELECTRA: a new pre-training recipe for BERT-like models that achieves frontier classification and embedding performance.
Our new article is out on the @huggingface blog. It explains in 9 animations how to pre-train a small encoder that is strong at classification and still works as a backbone for embeddings, and it comes with two open models trained this way.
BERT-base needs 110M parameters to get 84.7 on GLUE, while EdgeCoder gets 86.0 with only 31M. The same holds against newer multilingual models: mmBERT-small gets 84.7 with 140M parameters, and EdgeCoder-Multilingual gets 85.1 with 61M. On the multilingual XTREME benchmark, on the languages it covers, it is only about 2 points behind mmBERT-small (67.8 against 70.0) while being more than 2x smaller.
The article also includes the training data, the full result tables, and code for fine-tuning the models and for using them as a backbone in GLiNER and GLiClass.
Read it on Hugging Face: https://t.co/Raxzdy6aF0
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 👇
Last week, we released a new version of GLiFormer, pushing the hierarchical JSON extraction capabilities of encoders even further.
Here’s a practical example: turning a purchase request into structured data.
“Acme is ordering equipment. For Engineering: 2 laptops at $900 each and 3 office chairs at $120 each. For Sales: 4 headsets at $50 each. All prices are in USD.”
The target JSON combines three kinds of values:
• Extracted: Company, departments, item names, quantities, prices, and currency—organized into a company → departments → items hierarchy.
• Categorized: Laptops and headsets become “electronics”; office chairs become “furniture.” These categories are selected from options supplied in the schema, even though they never appear in the email.
• Calculated: $1,800 for laptops, $360 for chairs, and $200 for headsets. Engineering’s subtotal is $2,160; the overall order totals $2,360.
For calculated fields, GLiFormer predicts a computational graph over numbers in the text, and the runtime executes the arithmetic. It makes it more reliable and accurate compared to much larger models, like Clairic, which calculate values directly.
One encoder can preserve relationships, categorize individual items, and calculate values within the same structured output. The same pattern applies to invoices, expense reports, and project budgets.
🤗 Models: https://t.co/Iyl3Pmkw9q
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:
https://t.co/04uhJslqJT
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:
https://t.co/04uhJslqJT
This model outperforms many larger counterparts across diverse tasks.
• Arithmetic: GLiFormer achieves 76.97% exact-answer accuracy across 595 financial QA questions, including 73.59% on questions requiring complex computation. It beats Clairic thanks to our neuro-symbolic approach.
• NER: It beats Perplexity Decider v1.3 on CrossNER: 68.29 vs. 54.50 F1—a 13.79-point lead on the same evaluated examples.
• Hierarchical extraction: GLiFormer outperformed GPT-5.6-luna at JSON depths 4 and 5: 95.11 vs. 90.24 and 91.69 vs. 86.21, respectively.
Our smallest model, with 794M total parameters, achieves:
• 76.97% exact-answer accuracy on 595 financial QA questions.
• 88.77 F1 on nested JSON extraction with order-free, boundary-tolerant scoring.
• 68.29 CrossNER F1, versus 54.50 for Perplexity Decider V1.3 on the same examples.
• 76.02 classification macro-F1, versus the reported 79.69 for Gemma-4-31B.