{"id":23408495,"url":"https://github.com/siddhesh-agarwal/openai-ft-validate","last_synced_at":"2026-04-21T16:39:28.872Z","repository":{"id":269166133,"uuid":"906610755","full_name":"Siddhesh-Agarwal/openai-ft-validate","owner":"Siddhesh-Agarwal","description":"A Go-based CLI tool that verifies the structure of JSONL files for OpenAI fine-tuning.","archived":false,"fork":false,"pushed_at":"2024-12-28T08:54:07.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T01:35:38.981Z","etag":null,"topics":["cli","file-validation","golang","jsonl","openai"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Siddhesh-Agarwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-21T11:45:49.000Z","updated_at":"2024-12-28T08:54:11.000Z","dependencies_parsed_at":"2024-12-21T13:19:20.582Z","dependency_job_id":"8fbf7eca-6e44-4e2c-8c44-6febf6927046","html_url":"https://github.com/Siddhesh-Agarwal/openai-ft-validate","commit_stats":null,"previous_names":["siddhesh-agarwal/openai-ft-validate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Siddhesh-Agarwal/openai-ft-validate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhesh-Agarwal%2Fopenai-ft-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhesh-Agarwal%2Fopenai-ft-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhesh-Agarwal%2Fopenai-ft-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhesh-Agarwal%2Fopenai-ft-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddhesh-Agarwal","download_url":"https://codeload.github.com/Siddhesh-Agarwal/openai-ft-validate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhesh-Agarwal%2Fopenai-ft-validate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260163263,"owners_count":22968226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","file-validation","golang","jsonl","openai"],"created_at":"2024-12-22T15:15:10.710Z","updated_at":"2026-04-21T16:39:28.829Z","avatar_url":"https://github.com/Siddhesh-Agarwal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `openai-ft-validate` CLI Tool\n\n## Overview\n\n`openai-ft-validate` is a Command-Line Interface (CLI) tool written in Go, designed to validate the structure of JSONL files used in OpenAI fine-tuning processes. This tool ensures that the input files adhere to OpenAI's formatting requirements, helping users avoid errors during fine-tuning.\n\n---\n\n## Features\n\n- Validates JSONL files for structural correctness.\n- Checks for required fields and their data types.\n- Provides clear error messages for invalid entries.\n- Ensures compatibility with OpenAI fine-tuning guidelines.\n- Lightweight and easy to use.\n\n---\n\n## Installation\n\nTo install `openai-ft-validate`, ensure you have Go installed, then clone the repository and build the binary:\n\n```bash\n# Clone the repository\ngit clone https://github.com/Siddhesh-Agarwal/openai-ft-validate\ncd openai-ft-validate\n\n# Build the binary\ngo build -o openai-ft-validate\n```\n\nAlternatively, you can download a prebuilt binary (if available) from the [releases page](https://github.com/Siddhesh-Agarwal/openai-ft-validate/releases).\n\n---\n\n## Usage\n\nThe tool can be invoked directly from the command line. Below are the usage details:\n\n### Basic Command\n\n```bash\n./openai-ft-validate \u003cpath-to-jsonl-file\u003e\n```\n\n### Example\n\nTo validate a JSONL file named `training_data.jsonl`:\n\n```bash\n./openai-ft-validate training_data.jsonl\n```\n\n---\n\n## Output\n\n- **Success:** If the file is valid, you will see a message like:\n\n    ```sh\n    The JSONL is valid 🎉\n    ```\n\n- **Failure:** If the file contains errors, the tool will output details, such as:\n\n    ```sh\n    Line 3: Missing required field \"prompt\".\n    Line 7: Invalid \"role\" programmer found\n    The JSONL is invalid ❌\n    ```\n\n---\n\n## Requirements\n\n- Go 1.16+\n\n---\n\n## Development\n\nFor contributors, clone the repository and build the project:\n\n```bash\ngit clone https://github.com/Siddhesh-Agarwal/openai-ft-validate\ncd openai-ft-validate\n\n# Build the binary\ngo build\n```\n\nRun tests to ensure functionality:\n\n---\n\n## License\n\nThis tool is licensed under [MIT License](https://github.com/Siddhesh-Agarwal/openai-ft-validate/blob/main/LICENSE).\n\n---\n\n## Contributions\n\nContributions are welcome! Please fork the repository, make your changes, and submit a pull request. Ensure your code follows the established coding standards and includes tests for any new features.\n\n---\n\n## Contact\n\nFor any questions or issues, please open an issue on the [GitHub repository](https://github.com/Siddhesh-Agarwal/openai-ft-validate) or contact [Siddhesh Agarwal](mailto:siddhesh.agarwal@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhesh-agarwal%2Fopenai-ft-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhesh-agarwal%2Fopenai-ft-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhesh-agarwal%2Fopenai-ft-validate/lists"}