blt/bytelatent/preprocess
Pedro Rodriguez 936d9437be
Some checks are pending
Lint with Black / lint (push) Waiting to run
Lint with isort / lint (push) Waiting to run
Allow ArrowIterator to read from json (#45)
Summary:

Currently, arrow iterator can only read arrow files. However, the pyarrow library can read
other formats, including jsonlines. This allows the same ArrowIterator to read from jsonlines,
so we can read from the original source data, and simply omit the entropy column when doing so

Test Plan:

Run train script until dataloader starts
2025-02-06 09:57:22 -08:00
..
__init__.py Initial commit 2024-12-12 15:32:30 -08:00
data_pipeline.py Initial commit 2024-12-12 15:32:30 -08:00
fsspec_target.py Changes for training entropy model and correcting attention in local models (#25) 2025-01-17 14:23:01 -08:00
parallel_entropies.py Initial commit 2024-12-12 15:32:30 -08:00
preprocess_entropies.py Allow ArrowIterator to read from json (#45) 2025-02-06 09:57:22 -08:00