unsloth/unsloth/dataprep
Muhammad Ikhwan Fathulloh 02540371c2
perf(dataprep): cache regex and field lists, fix typos (#6714)
* Improve code quality & performance: fix typos, compile regex & cache fields

- Fix typos across core files (repeatted → repeated, splitted → split, etc.)
- Compile regex patterns once as class attributes in TextPreprocessor
- Cache text fields/columns in RawTextDataLoader
- Improve comments (re-use → reuse)

* Use immutable raw text field constants

---------

Co-authored-by: imagineer99 <samleejackson0@gmail.com>
Co-authored-by: Lee Jackson <130007945+Imagineer99@users.noreply.github.com>
2026-06-29 13:07:09 +01:00
..
__init__.py Fix Incorrect non-relative import in dataprep package 2025-12-10 10:17:23 +05:30
raw_text.py perf(dataprep): cache regex and field lists, fix typos (#6714) 2026-06-29 13:07:09 +01:00
synthetic.py Fix SyntheticDataKit.chunk_data dropping single-chunk documents (#6595) 2026-06-23 16:39:38 -03:00
synthetic_configs.py Formatting & bug fixes (#3563) 2025-11-07 06:00:22 -08:00