Eigen RadarAI
Analysis

Cloudflare opens Clairic model weights and adds PDF extraction

Cloudflare released the weights for its redesigned Clairic model and the smaller Clairic-flash. Both are built to pull specific details from documents, such as the supplier and total on an invoice. They now accept PDFs alongside images, so an application can ask for individual values or a table of invoice items.

Artificial Intelligence··Midday
Eye-level medium view of a studio board where coloured field blocks selected across four blank document sheets are assembled into structured three-column rows for Clairic's document extraction.

Both Clairic versions can read PDFs

Cloudflare released the weights of its redesigned Clairic document extraction model and a smaller version called Clairic-flash. The weights are the values learned during training. Developers can get both sets from Hugging Face, a repository for machine learning models, and the two models are also hosted on Cloudflare’s Workers AI service. The updated models accept Portable Document Format files, or PDFs, as well as images.[1], [2]

An invoice can yield a table of line items

An application can send up to four images or PDF pages in a request and specify which pieces of information it wants. In the case of an invoice, a request might identify the supplier and total as well as individual line items. The response can put each item’s description, quantity and price in the same row, even when the requested values appear on different pages.[1]

Cloudflare changes how the model fills each field

The preview generated ordinary text and number fields in a single pass. The redesign fills each field one piece at a time, while processing the requested fields alongside one another. An application can still ask for a confidence score or the character positions that mark the source of an answer. Cloudflare says users of the original hosted address will move to the larger model with the same request and response structure.[1]

References

  1. News sourceCloudflare BlogCloudflare releases weights for its Clairic document extraction models↩1↩2↩3
  2. News sourceMACCUSCloudflare opens the weights of its Clairic extraction models↩