2 ms·
I think YAML actually uses more tokens than JSON without indents, especially with deep data. For example "," being a single token makes JSON quite compact. You
by AdrienBrault 3y ago
I think YAML actually uses more tokens than JSON without indents, especially with deep data. For example "," being a single token makes JSON quite compact.
You can compare JSON and YAML on https://platform.openai.com/tokenizer https://platform.openai.com/tokenizer