Hacker News new | ask | show | jobs
by aecorredor 1093 days ago
Newbie in machine learning here. It’s crazy that this is the top post just today. I’ve been doing the intro to deep learning course from MIT this week, mainly because I have a ton of JSON files that are already classified, and want to train a model that can generate new JSON data by taking classification tags as input.

So naturally this post is exciting. My main unknown right now is figuring out which model to train my data on. An RNN, a GAN, a diffusion model?

1 comments

Did you read the article? To do it with OpenAI you would just put a few output examples in the prompt and then give it a function that takes the class and the output parameters correspond to the JSON format you want, or just a string containing JSON.

You could also fine tuned an LLM like Falcon-7b but probably not necessary and nothing to do with OpenAI.

You might also look into the OpenAI Embedding API as a third option.

I would try the first option though.