Just a single linefeed, \n. Unless you edited with a windows text editor that puts extra ASCII characters into files, which you can then strip out by processing with a json library or conversion to python data structures before re-saving and sending.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error after creating batch job "This line is not parseable as valid JSON" | 4 | 2391 | May 2, 2024 | |
| Fine tuning error: The job failed due to an invalid training file. Unexpected file format, expected either prompt/completion pairs or chat messages | 17 | 6578 | January 23, 2025 | |
| Fine Tuning: Job_response: "message": "file has 4 example(s), but must have at least 10 examples", | 11 | 1828 | August 27, 2023 | |
| An error occurred while processing file 'file-name' and it cannot be used for fine-tuning. Details may be available in the file's status_details | 6 | 2022 | September 18, 2023 | |
| Finetuning via API issues with JSONL | 13 | 2910 | April 1, 2023 |