The example prompts, one per line used as the model training - correct for a dataset, but not so efficient for User
prompt (see below).
The ##
symbols - maybe, I don’t know, the models are sensitive to delimiters in order to separate the prompt texts into different contexts such as data, instructions, code comments, etc.
The prompt
- should have the condition
(or the name you like) inside, instead of in the completion
field, such as
{“prompt”: “pH: 6.8, CO2: 550 ppm, temperature: 29C, condition: high CO2”}
{“prompt”: “pH: 5.1, CO2: 425 ppm, temperature: 23C, condition: low pH”}
The condition: none
- maybe would be better listed as condition: normal
, condition: not applicable
, or condition: no information
- in order to not cause any confusion to the model, such as none
= no action.
At least one initial prompt as instruction maybe is necessary:
In the next 500 prompts are listed data points containing pH, CO2 levels in ppm, Temperature in Centigrades (C), and Condition. Use these data points for response to further queries.
The query prompt should be:
Given the examples in previous prompts, provide the condition for the following case:
pH: 5.1;
CO2: 425 ppm;
temperature: 23C;
Please consider inserting the 500 data points into a dataset in simple text format (one example per line) - not only because the token limits applied to prompts but also because it would save coding time, easy data debugging, and readability for the model. Better numbered items, mind punctuation.
List of 500 data points containing pH, CO2 levels in ppm, Temperature in Centigrades (C), and Condition.
1. pH: 7.2, CO2: 400 ppm, temperature: 25C, normal;
2. pH: 7.0, CO2: 450 ppm, temperature: 26C, normal;
3. pH: 7.5, CO2: 500 ppm, temperature: 28C, normal;
4. pH: 6.8, CO2: 550 ppm, temperature: 29C, high CO2;
5. pH: 5.1, CO2: 425 ppm, temperature: 23C, low pH;
...
500. pH: ... . #last data point ended with "."
and the query prompt would be:
Given the dataset {url address of dataset}, provide the condition for the following case:
pH: 5.1;
CO2: 425 ppm;
temperature: 23C;
I hope this helps.