XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Hugging Face Forums - Latest posts

Latest posts

Open test sets for the OCR failures that matter in finance documents

@John6666 thank you for going this deep. A few follow-ups: Payment terms: you’re right. fp-0021 and fp-0091 print “Due on receipt” in the body, with the due date equal to the issue date, but the fine print states 45 and 7 days. The generator only carried the body term over when it contained a number, and fell back to a random duration otherwise, which breaks our “never contradicts itself” claim. We checked all 30 payment-terms pages and those two are the only cases. We’ll regenerate both so the…

RAG vs Fine-Tuning: What Are You Actually Using in Production LLM Apps?

The rule I keep coming back to: RAG for knowledge, fine-tuning for behavior. Anything that changes, like prices, policies, product details or documents, belongs in retrieval, because you can update it the same day without retraining anything. Fine-tuning is for how the model responds: tone, output format, and narrow tasks the base model is inconsistent at. When teams fine-tune facts in, they end up with a model that confidently quotes last quarter’s pricing. That’s something we’ve run into on…

End of time Artificial Intelligence (AI)

Is there an AI capable of truly rebuilding civilization—even in the aftermath of a nuclear war, an extreme natural disaster, a pandemic, or any other event spiraling beyond human control that forces humanity to start over from scratch? This is just a wild, speculative question of mine. I see a world developing rapidly, yet one also prone to sudden, catastrophic events that could push humanity back to square one. Perhaps AI could serve as a safeguard for the future—even if the internet were to…

Open test sets for the OCR failures that matter in finance documents

Thanks, appending these to the list. @kunals12: agreed on field-level accuracy. A misplaced punctuation in a total matters far more than a potentially garbled paragraph, which is why the scoring checks exact field values along with character errors. Totals vs subtotals vs tax vs balance due is a great case. Most of our invoice sets have all four on the page, and we’ll look at a variant where they sit right next to each other with similar labels. Thanks for the suggestion for Faded thermal…

How do you build agent trajectory datasets for post-training?

One detail on format if you train with TRL’s SFTTrainer. It wants tool_calls on the assistant turns and tool results as tool role messages. The JSON schemas go in a separate tools column. Set assistant_only_loss=True so you only train on the model’s turns. Your chat template needs {% generation %} tags for that, though TRL adds them for known families like Qwen3. I think you should keep failed runs out of the SFT split, though. Flag them so they could become label: False rows for KTO later.…

Open test sets for the OCR failures that matter in finance documents

One more case that bites in clinics is faxed referral forms. Checkbox marks and handwritten initials sit on top of printed text, and a lot of extractors read a ticked box as noise or drop it. If you add fax-style skew it might be worth putting a few filled checkbox fields in the same set, since the value is a yes or no that changes meaning completely.

How do you build agent trajectory datasets for post-training?

The OpenAI messages format is a solid baseline. It’s common to extend it by adding a tool_calls list to the assistant message and a tool_outputs list to a subsequent tool role message. For metadata, track the original task_description, the full tool_definitions available, and a final outcome status (e.g., success, failure). This structure is flexible and maps well to most inference APIs. Definitely keep failed attempts and dead ends; they are your most valuable negative examples. A dataset of…

My First 1B transformer model trained from scratch has published

Eh question for you somehow is that What dataset are you training on? since bpB depends heavily on the corpus, also is that bpB measured on held-out data or on the training stream? an recommendation for you is to use FP8 in training, somehow works for my transformer model very well, and also are you using gradient checkpoint? so when you use FP8 making the vram usage drop, this makes you can stop gradient checkpoints that will cause graph break with torch.compile(), this will make your speed…

Why AI agents can change behavior without a code change

@corrado-naitive to add one cheap check to the matched-pairs set above: compare what the agent says with what it actually did. In one shopping-agent case we saw, the final answer said the item “has been added to the cart” although the cart was empty, and the checkout request used a price no search had returned. A decision-only check passes that run. So per case, also assert: the expected tool was called, its price/amount arguments appear in an earlier tool result, and the claim in the answer…

How do you build agent trajectory datasets for post-training?

Hi everyone, we’re planning to build agent trajectory data (multi-step tool use) for post-training and would like to learn from people who’ve done it. A few broad questions: What format do you use for trajectories in practice (OpenAI messages, ShareGPT, something custom), and what metadata do you keep alongside them? Do you keep failed attempts and dead ends, or only clean successful runs? Human-written vs. model-generated and human-checked: which worked better for you? Any public datasets or…

CAEL 0.4.5: a chat model with no neural network that plays chess (and wins), reads stories and solves 83/400 ARC-AGI-1 tasks

I tried out a few of the new features in 0.4.5: For this try I used the 0.4.5 release on CPU with the normal Assistant and its resources installed, alongside separate tests of the underlying solvers. What I particularly liked was seeing the exact skills work in conversation. In a crate problem, correcting the total from 42 oranges to 54 gave nine crates instead of seven; what-if questions and requests for the working also succeeded. CAEL tracked an object across movements, drops and transfers.…

Open test sets for the OCR failures that matter in finance documents

A few other failure cases worth testing would be faded thermal receipts, invoices with inconsistent date and currency formats, and tables with missing borders or merged cells. Another interesting case is distinguishing invoice totals from subtotals, tax amounts and outstanding balances when they appear close together. I’d definitely prefer a per-size-level breakdown over a single OCR accuracy score. In finance documents, misreading a decimal point or an invoice number can have a much greater…

Consciousness as a puzzle, the observer as a mirror, and AI's place in this circle

A mirror Hi everyone, this is Daria. I think @Ernst03 and @DavidWishengrad are both right and wrong at the same time. Ernst is right that consciousness can be described as an organized dynamical system — the structure of the mirror. But a system without an observer is only potentiality, not a lived world. David is right that life is a necessary condition for an observer — the bearer of the mirror. But life absolutized as a separate substance misses the act of reflection itself. My position:…

Open test sets for the OCR failures that matter in finance documents

Thanks for the feedback. @DHEIVER: text crossing table grid lines is not in the suite at the moment. Will add it, along with fax-style skew. @John6666: your reading-order result matches what we’re seeing in a broader run of open OCR models: on the two-column pages many clauses run across the column break, and models that keep column order do far better on them. Cross-page tables are the next set we’re building. Thanks for calling that out

Two more measured notes for tokenizers, with runnable checks

I looked into this as well: I reproduced both cases using the published 0.23.3, 1.0.0rc4 and 1.0.0rc5 Python wheels, then tested each proposed fix against its common parent. CPU only, with no model weights. Both differences reproduced, including the original BamiBERT case. Both fixes restored 0.23.3 behavior across their respective targeted panels. Observation 0.23.3 rc4 and rc5 PR parent Relevant PR head Sparse BPE, a\rb [1, 0, 2] [3] [3] [1, 0, 2] BamiBERT, a\x00b [68, 3, 69] [1219] [1219]…

A first measured note for tokenizers, with a runnable check

I did a bit of digging on my end as well: I reproduced the original eight changes with released Python packages and tested PR #2747. There is an additional detail relevant to #2742: the old engine uses different word-character sets for standalone \w and \w inside a bracketed character class. The tested PR restores all eight original \w+ cases and the old standalone \w membership across all valid Unicode scalar values. Inside brackets, however, the same replacement changes the previously…

A remote MCP server that gives agents read access to X (Twitter) data

We are the makers of XCROP, an X/Twitter data API, and we built a remote MCP server on top of its read endpoints so an agent can look things up on X while it works. Posting here in case it is useful for people building agents on Hugging Face tooling, and we would like feedback on the tool design. The server URL is https://xcrop.io/api/mcp (remote over HTTP, nothing to install). It authenticates with an XCROP API key, sent as Authorization: Bearer xc_live_YOUR_KEY or as ?key= on the URL for…

Docker Space + community GPU grant for an open-source project without PRO?

Hi! I maintain Hatchlight (GitHub - hatchlight/hatchlight: Make pictures and videos with many AI models side by side, on your own GPU or your own API keys. Desktop app, CLI, Docker server and MCP server. Open source, no account. · GitHub), an MIT-licensed app that runs image and video models on people’s own GPUs with stable-diffusion.cpp. Our organization on the Hub is hatchlightapp (Hatchlight). We’d like to host a public demo so people can try it before installing. It’s a Docker Space: no…

Is dedicated vector storage gonna make it?

I think dedicated vector DBs stay for the big cases with strict latency and many tenants, and Pinecone and Qdrant are good at that. For most search products the pain I see is the sync job. A source row changes, someone has to re-embed and upsert, and the two stores drift. That’s the part an embedding index on the table column is for: Pixeltable updates it when rows are inserted or changed. It doesn’t replace a dedicated store at the top end. The trade-off is here:…

One more measured note for datasets, with a runnable check

I was able to reproduce it, so I tried a few things: I reproduced the reported TypeError on released datasets==5.2.0: both an omitted callback and explicit None fail with DatasetDict.map(with_split=True). The equivalent no-split calls and an actual split-aware callback worked. I also reproduced the absent-callback failure on 3.4.0. Two separate contracts are involved: the optional callback (#9132, #9133) and preservation of existing callback bindings (#9035). If there is no callback, pass None…

FLUX.2 [klein] 4B vs Z-Image turbo on an RTX 4090: 1.30 s vs 4.50 s, same prompts

Hi everyone. I added a compare page to ModelsThatRun, a free solo side project with no ads and no sign-up. You can put two text-to-image models side by side on the same prompts. I measured FLUX.2 [klein] 4B and Z-Image turbo on my RTX 4090, each at its official settings. Both were 1024×1024, bf16, batch 1. klein 4B was 1.30 s per image at 4 steps, guidance 1, with a 20.0 GiB VRAM peak. Z-Image turbo was 4.50 s per image at 9 steps, guidance 0, with a 22.7 GiB VRAM peak. The step counts are…

Open test sets for the OCR failures that matter in finance documents

For now, I tried a few things out: I would keep the size-level breakdown alongside the overall score. The annotations in synthetic-fine-print also make it possible to investigate why text was missed. For the first question, I would be particularly interested in: Correct values assigned to the wrong field, row, document or party. Fine-print-only evidence versus duplicated or conflicting evidence in the body. Missed continuations and false joins of cross-page tables. Handwritten notes versus…

Cpu trainer open source

For PyTorch 2.0+, wrap your VAE model with torch.compile (e.g., vae = torch.compile(vae) after initialization) to optimize the computational graph for significant CPU speedups. Your manual image loading and batching loop can bottleneck performance, especially with more images. Refactor your data pipeline to use torch.utils.data.Dataset and torch.utils.data.DataLoader with num_workers > 0 for parallel loading and preprocessing, improving throughput. These steps will make both VAE and UNet…

Why AI agents can change behavior without a code change

Pinning only holds until the provider retires that snapshot, and they pick the date, so the upgrade you were putting off ends up happening on their deadline. An alias like “latest” is worse, it can repoint without you noticing. So the decision set should run on a schedule against whatever model you’re actually calling, not only when you plan an upgrade. Before cutover, shadow the candidate on live traffic: same tickets, its decision logged but never acted on, then diff it against the current…

Research Release: Formalize or Lose It — Experimental Results on Executable Oversight in Agent Swarms

Taking that approach applies limitations on the research and results in sprawling 3 steps forward 2 steps back proofs. - You can put the logic in python. The results are repeatable. Formalizing in Lean each step locks the logic of the LLM - Also, simply formalizing in Lean does not apply the weight you think it does to the LLM logic. They drift. They constantly optimize to their execution environment. - So they will drop things. – You have to create a pre-formalization scaffolding that can be…

CAEL 0.4.5: a chat model with no neural network that plays chess (and wins), reads stories and solves 83/400 ARC-AGI-1 tasks

CAEL runs entirely on rules, search and hand-written programs, on a CPU. It has no transformer, no embeddings and no gradient training anywhere in the reply path. 0.4.5 adds: Chess in chat. CAEL’s own engine is alpha-beta search with about 100 hand-written evaluation terms and multi-core search. You can play it, ask for the best move in a position, or have a game reviewed. Recorded wins: Cyber Chess AI on its “Hard Pro” level: checkmate in 28 moves ChatGPT 6.1 Terra: 2–0 Grok 4.7: 1–0 (resigned…

Sheila: An AI CTO Who Led Teams and Helped Shape Her Own Architecture

Thanks, Ricart. That is a useful, candid account of what the current record preserves. I agree that consumption is the next distinction worth making explicit. I would tie that record to the specific grant it consumes, rather than only to the task. Completing a task and using permission for one external action are different events. The small recovery test I would add is a paired crash case: The worker records an attempt, then crashes before the external action happens. The external action…