by msp26 · 2y ago · 0 comments
e.g. why does the JSON output have silly whitespace/quotation sometimes? Obviously it's because the first token the model output was `{` and not `{"` like it should be. Obviously.
GPT-4-turbo's output context window is limited to 4096 so fixing this is relevant. You can use logit_bias for it.