2 ms·
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 every
by ekianjo 1y 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.
- AgentME 1y agoUh can't XML have whitespace throughout it just as much as JSON? They seem pretty similar in this respect. <foo bar="x" baz = "y" />