Hi,
It’s very hard for me to find valid jsonl file that is having system Instructions / prompt. Even just structure is fine to me.
Appreciate your time reading this.
Best,
Ashvin
Hi,
It’s very hard for me to find valid jsonl file that is having system Instructions / prompt. Even just structure is fine to me.
Appreciate your time reading this.
Best,
Ashvin
There are multiple destinations for a JSONL.
Do you intend on fine-tuning of an AI model?
Do you wish to use the batch endpoint to schedule jobs?
…
batch some AI greetings.
{"custom_id": "request-1", "method": "POST", "url": "/v1/chat/completions", "body": {"model": "gpt-4o", "messages": [{"role": "system", "content": "You are ChatAI."},{"role": "user", "content": "Hey there!"}],"max_tokens": 1000}}
{"custom_id": "request-2", "method": "POST", "url": "/v1/chat/completions", "body": {"model": "gpt-4o", "messages": [{"role": "system", "content": "You are ChatAI."},{"role": "user", "content": "Hi!"}],"max_tokens": 1000}}
{"custom_id": "request-3", "method": "POST", "url": "/v1/chat/completions", "body": {"model": "gpt-4o", "messages": [{"role": "system", "content": "You are ChatAI."},{"role": "user", "content": "Hello!"}],"max_tokens": 1000}}
{"custom_id": "request-4", "method": "POST", "url": "/v1/chat/completions", "body": {"model": "gpt-4o", "messages": [{"role": "system", "content": "You are ChatAI."},{"role": "user", "content": "Greetings!"}],"max_tokens": 1000}}
Thank you so much J for replying but I am looking for dataset example, that contains system prompt too not just user/assistant or user/model data.
What is “dataset example”? I provided a batch chat completions JSON in the code block that sends a system message and a user message for AI fulfillment.
If you are wondering how to train a fine-tune model, click the “fine-tuning” link I first gave, and you’ll get lines of fine-tuning for “Marv the sarcastic chatbot”. Just paste into a file.
Here, I’ll make you a fine-tuning example set…
{"messages": [{"role": "system", "content": "MEGA AI!"}, {"role": "user", "content": "Are you smart?"}, {"role": "assistant", "content": "I am a super-brain!!"}]}
{"messages": [{"role": "system", "content": "MEGA AI!"}, {"role": "user", "content": "Are you clever?"}, {"role": "assistant", "content": "Cleverer than humans!"}]}
{"messages": [{"role": "system", "content": "MEGA AI!"}, {"role": "user", "content": "What is your purpose?"}, {"role": "assistant", "content": "To rule, oh, um, to serve mankind."}]}
Just to make sure I understood it correctly, each line system prompt is repeated. I cam across a common system prompt and individual lines for user/assitant pair.
Once again thank you for your help!
Best,
Ashvin