Clean up dataset JSON and convert to Alpaca format
Browse files- Read input JSON file with potential BOM characters.
- Remove BOM characters from keys.
- Strip trailing spaces from string values, particularly in 'Answer' field.
- Convert dataset to Alpaca format.
- Write cleaned and formatted data to new JSON file.
- ED_exam_all.json +0 -0
ED_exam_all.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|