Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Vertex AI: Adding domain knowledge via tuning model

I'd like to to add domain specific knowledge to a tuning model for text-bison. This is knowledge I already have in How-to articles, FAQs, canned messages, etc.

Ideally, I think this should be context data and GenAI should answer all prompts with this tuning data. I'm having problems trying to figure out how to create the tuning-data.jsonl file. This isn't really an input/output, or question/answer model. It's more of here's a bunch of data you have to base future questions on, like "context"

I've created entries where "input_text" is basically the body of the how-to article, FAQ, etc. Like the following:

{"input_text": "How to report a problem In general, when reporting a problem, the more information, the better. General statements like  App X isn't working, but it used to work before  do not provide enough information to debug an issue. You should provide as much information as possible: Problem Information Describe the problem or bug A clear and concise description of what the bug is [shortened]"}

Vertex AI doesn't like that there's no "output_text" field. Also I wonder if I should prepend "context:" to the "input_text" data. 

Any guidance or help is greatly appreciated.

Thanks!

-Ernie

 

0 3 1,255
3 REPLIES 3