AI4Spectro/OLtrainV1
Combine the split files into a single file named 'OLtrain.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('OLtrain', 5… See the full description on the dataset page: https://huggingface.co/datasets/AI4Spectro/OLtrainV1.
| Author / organization | AI4Spectro |
|---|---|
| Downloads | 187 (as reported by Hugging Face) |
| Likes | 0 |
| Created | 10 August 2024 |
| Last updated at source | 14 August 2024 |
Popularity, last 2 days
187 now. Counts as reported by the source, snapshotted daily by Silytics.
Recent changes
- 16 Oct 2026 Description: Combine the split files into a single file named 'OLtrain.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 → Combine the split files into a single file named 'OLtrain.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
Changes detected by Silytics between refreshes of the source.
More from AI4Spectro
- AI4Spectro/OLtestV1Dataset
Silytics shows public metadata from Hugging Face and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.