Hacker News new | ask | show | jobs
by ekianjo 299 days ago
LLMs produce much more consistent XML than JSON because JSON is a horrible language that can be formatted in 30 different ways with tons of useless spaces everywhere, making for terrible next token prediction.
1 comments

Uh can't XML have whitespace throughout it just as much as JSON? They seem pretty similar in this respect.

    <foo    bar="x"  baz  = "y" />