carlgleisner

carlgleisner

Hi all,

After having read about SmolDocling :front_facing_baby_chick: for parsing PDF:s I’m really keen to give it a spin as an alternative to the Azure Document Intelligence service (possibly!) :slightly_smiling_face:

SmolDocling is a multimodal Image-Text-to-Text model designed for efficient document conversion. It retains Docling’s most popular features while ensuring full compatibility with Docling through seamless support for DoclingDocuments .

However, I do realise that I cannot expect this model to work on Bumblebee out of the gate.

In another post Jonathan Klosko commented on use of a “receipts model” where a few required features were missing in Bumblebee. It would be reasonable to assume that this would be the case for SmolDocling as well.

** (ArgumentError) could not match the class name "Idefics3ForConditionalGeneration" to any of the supported models, please specify the :module and :architecture options
    (bumblebee 0.6.3) lib/bumblebee.ex:434: Bumblebee.do_load_spec/4
    (bumblebee 0.6.3) lib/bumblebee.ex:603: Bumblebee.maybe_load_model_spec/3
    (bumblebee 0.6.3) lib/bumblebee.ex:591: Bumblebee.load_model/2
    #cell:t4ttbdzq2pvyqvx7:1: (file)

Is there any reasonable path to have SmolDocling running on Bumblebee? If so, what would that entail?

Thank you in advance for any input!

Kind regards,
Carl

Showing Posts 1 to 3

pshoukry

pshoukry

The model has an onnx version maybe you can try Ortex? GitHub - elixir-nx/ortex: ONNX Runtime bindings for Elixir · GitHub

franc

franc

@carlgleisner did you by chance get this to work?

carlgleisner

carlgleisner OP

I haven’t had the time yet but I was very grateful for @pshoukry‘s tip.

The Python tooling around SmolDocling seems really nice (to me) so pythonx could be an option to get going quickly.

Will return to this post once I can find the time of course.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews