Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in fine-tuning job - must follow '{"prompt": "<input text>", "completion": "<output text>"}' format #266

Open
jimmus69 opened this issue Jun 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jimmus69
Copy link

jimmus69 commented Jun 13, 2024

Describe the bug
When running 03_Model_customization/01_fine-tuning-titan-lite.ipynb or 02_fine-tuning_llama2.ipynb, the fine-tuning job fails with the error:

Input data at fine-tuning-datasets/train/train-cnn-5K.jsonl must follow '{"prompt": "<input text>", "completion": "<output text>"}' format

I have looked at the downloaded CNN data files, and they appear to be in the correct prompt/completion format.

To Reproduce

  • Run the above notebooks
  • Browse the Amazon Bedrock console > Foundation Models > Custom Models > Jobs

Expected behavior
Expected behaviour is for the fine-tuning job to complete successfully.

Screenshots
Screenshot 2024-06-13 at 10 44 03

Desktop (please complete the following information):

  • OS: Mac OSX
  • Browser: Chrome
  • Version: 125.0.6422.142

! Additional context !

  • Sagemaker Studio Kernel: Data Science 3.0
    Files_from_s3.zip

  • Instance used: ml.c5.2xlarge

@jimmus69 jimmus69 added the bug Something isn't working label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant