AI4Spectro/OLtestV1
Combine the split files into a single file named 'OLtest.db.gz' import gzip import os import shutil def combine_files(input_prefix, num_parts, output_file): with gzip.open(output_file, 'wb') as f_out: for i in range(1, num_parts + 1): part_file = f"{input_prefix}_part{i}.gz" with gzip.open(part_file, 'rb') as f_in: shutil.copyfileobj(f_in, f_out) os.remove(part_file) combine_files('OLtest', 2… See the full description on the dataset page: https://huggingface.co/datasets/AI4Spectro/OLtestV1.
| Author / organization | AI4Spectro |
|---|---|
| Downloads | 169 (as reported by Hugging Face) |
| Likes | 0 |
| Created | 10 August 2024 |
| Last updated at source | 14 August 2024 |
More from AI4Spectro
- AI4Spectro/OLtrainV1Dataset
Silytics shows public metadata from Hugging Face and links to the original. Information may be incomplete or out of date. Last refreshed 16 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.