HNHacker News
TopNewBestAskShowJobs

kmkarim

11 karma · joined May 7, 2013

submissionscomments
kmkarim··on Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
Slightly off topic but is there recommended advice on how to tune / train not for document retrieval but for consistent JSON output with specific enums?

i.e given a text, always return back a certain set of fields. For some keys here is the possible set of enums etc. One shot prompting does work but curious how others approach this if you have training data on hand.