AIF-C01 Practice Question 76: Fine Tuning Dataset Format
AWS Certified AI Practitioner (AIF-C01) · Test 8 · question 6 of 10
A team is about to submit an Amazon Bedrock fine-tuning job for a non-conversational summarisation task and is preparing the training data. In what form must the dataset be supplied?
Show answer and explanation
Answer:
AWS is specific: *to prepare training and validation datasets for your custom model, you create .jsonl files, where each line is a JSON object corresponding to a record*. For non-conversational tasks (summarisation, translation, question answering, extraction) *each dataset sample includes a prompt field containing the input text and a completion field with the expected output*, giving records that look like {"prompt": "Summarize the article about climate change.", "completion": "..."}. The file lives in Amazon S3 and the customization job reads it from there (option C).
- A is wrong because CSV is not an accepted format for a Bedrock customization dataset. The content would be right, but the job expects JSON Lines and would reject the file. - B is wrong on a deeper point than format: unlabelled documents carry no target output, so there is nothing for supervised fine-tuning to learn to produce. A corpus of raw documents is the shape of data used for pre-training approaches, not for supervised fine-tuning. - D is wrong because the customization job's input path is Amazon S3. There is no DynamoDB source for a Bedrock fine-tuning dataset.
Reference: Prepare data for fine-tuning your models