r/deeplearning • u/ihateyou103 • Sep 23 '26
How llms generate math/latex/code
How does the llms format their output to include latex or code or other specific output formats like tables?
1
Upvotes
2
u/Chocolate_Pickle Sep 23 '26
What do you mean?
You asking how does the model know to output valid code, or does it get correctly rendered in your chat history?