News for hackers. Stuff that matters.
Re:Show HN: Efficient Data Formats for GPT by nikaspran on Wednesday April 05, 2023 @05:36PM (#35460694)
I ran a small test comparing different data serialization formats for use with GPT models (and possibly other LLMs). This is obviously very limited but it was striking how much of a difference switching from JSON to something like YAML could be.

I wonder if we might also see LLM specific data serialisation formats in the future, to make use of tokenization in the most efficient manner and enhance the generative capability of the models.

Re:Show HN: Efficient Data Formats for GPT by mmaia on Thursday April 06, 2023 @10:17AM (#35468597)
Thanks for sharing this. I'm currently using JSON/JSON Schema and will consider switching to YAML.