It's not running an OCR-style algorithm to export data and then passing that data to the LLM for further processing.
Instead, the model itself has been trained on both text and images at the same time.
So the image features end up as a weird ball of floating point numbers mixed together with the floating point numbers for the textual representation of the words in the prompt.
I'd love to understand this more. Strings of text get tokenized into a sequence of integer tokens - is there a similar tokenization step for image inputs? What does that look like?
If the model was trained from scratch then I would expect it to be able to develop new emergent behavior like being much better at ascii art, SVG, OpenSCAD scripting at least in the case the model was trained on the usual masked objective but not only on text tokens but image tokens too.
There's a lot of ongoing research into interpretability of these models. Anthropic put out a major new paper about that a few days ago: https://www.anthropic.com/index/decomposing-language-models-...
I asked it to estimate the size of a figurine based on a ruler in the image, and it nailed it.
https://imgur.com/a/gsiID4v
At first I just thought it was able taking an array of objects identified in the photo with bounding box coordinates and then just figuring out what the answer is.
But then i asked it to describe Worf’s hands in this image and it did a great job.
https://imgur.com/a/orpDszj
I’m super curious. I’ve done some basic attempts to get it to spit out the actual raw data but it won’t. I’m sure folks that are good at that could.