dsadd4 commited on
Commit
be9fb8b
·
verified ·
1 Parent(s): bbc4b25

Set dataset card

Browse files
Files changed (1) hide show
  1. README.md +34 -54
README.md CHANGED
@@ -1,79 +1,59 @@
1
- # UltraMS SpectraVerse benchmark
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- Version **1.0.0** · 2026-11-04 · license **CC BY 4.0** (see [NOTICE.md](NOTICE.md))
4
 
5
- A frozen, molecule-disjoint benchmark table built from the
6
- [SpectraVerse](https://doi.org/10.5281/zenodo.17870921) tandem mass spectral library and
7
- released by UltraMS. It is the negative-ion structure-family evaluation population of the
8
- UltraMS manuscript (Figure 2c) and the external test set of the ionization-polarity transfer
9
- experiment.
10
 
11
- ## 1. The table
12
 
13
- | item | value |
14
  | --- | --- |
15
- | file | `Spectraverse.csv` |
16
- | rows | 464,346 spectra |
17
- | bytes | 707,447,509 |
18
- | SHA-256 | `06e084501e91f92cc642c3d60de2863266ff3d0db958354a011e32851bef3976` |
19
- | columns | `mzs, intensities, smiles, precursor_mz, adduct, collision_energy, fold` |
20
- | peak format | comma-separated strings, one spectrum per row |
21
 
22
- The `fold` column is the frozen train / validation / test assignment of this benchmark:
23
 
24
  | fold | spectra | unique exact SMILES |
25
  | --- | ---: | ---: |
26
  | train | 370,362 | 33,846 |
27
  | validation | 47,825 | 4,231 |
28
  | test | 46,159 | 4,231 |
29
- | total | 464,346 | 42,308 |
30
-
31
- ## 2. Split definition
32
 
33
- - The split unit is the **exact SMILES string** (molecule level): every spectrum of a given
34
- SMILES string falls in exactly one fold, and no exact SMILES occurs in more than one fold
35
- (0 crossing strings out of 42,308).
36
- - The partition is 8:1:1 at the molecule (exact-SMILES) level: 33,846 / 4,231 / 4,231
37
- unique SMILES.
38
- - **This split is not formula-disjoint.** Structural isomers share a molecular formula, and
39
- molecular formulas do recur across folds in this library. Downstream work must describe
40
- the partition as molecule/SMILES-disjoint, not as a formula-disjoint partition.
41
 
42
- The frozen assignment is distributed as
43
- [`splits/spectraverse_compound_split.csv`](splits/spectraverse_compound_split.csv)
44
- (42,308 rows: `smiles, fold, n_spectra`), so the benchmark can be used without
45
- reconstructing the assignment.
46
-
47
- ## 3. Usage
48
 
49
  ```python
50
  import pandas as pd
51
-
52
  base = "https://huggingface.co/datasets/dsadd4/UltraMS-Spectraverse-Benchmark/resolve/v1.0.0/"
53
  spectra = pd.read_csv(base + "Spectraverse.csv")
54
  split = pd.read_csv(base + "splits/spectraverse_compound_split.csv")
55
-
56
  test = spectra[spectra.fold == "test"]
57
- assert split.groupby("smiles").fold.nunique().max() == 1
58
  ```
59
 
60
- The UltraMS repository consumes this table in
61
- `benchmarks/spectral_properties/prepare_library_spectra.py --dataset spectraverse`
62
- (published size/SHA-256 and fold counts are verified before use).
63
-
64
- ## 4. Provenance and licence
65
 
66
  The spectra are the public SpectraVerse library (SpectraVerse v1.0.1, Zenodo
67
- [10.5281/zenodo.17870921](https://doi.org/10.5281/zenodo.17870921), CC BY 4.0;
68
- Gupta, Qiang, Chung, Herbst and Skinnider). UltraMS contributed the CSV
69
- representation, the frozen molecule-level train / validation / test split and its
70
- distribution. See [NOTICE.md](NOTICE.md) for the full attribution.
71
-
72
- ## 5. Files
73
-
74
- ```text
75
- README.md, NOTICE.md, SHA256SUMS, VERIFY.md, stats.json
76
- Spectraverse.csv (hosted with the release; not duplicated in the archive)
77
- splits/spectraverse_compound_split.csv(.gz)
78
- hf_dataset_card.md, hf_upload_commands.sh, zenodo_metadata.json
79
- ```
 
1
+ ---
2
+ pretty_name: UltraMS SpectraVerse benchmark (molecule-level 8:1:1 split)
3
+ license: cc-by-4.0
4
+ language:
5
+ - en
6
+ size_categories:
7
+ - 100K<n<1M
8
+ task_categories:
9
+ - other
10
+ configs:
11
+ - config_name: spectraverse_split
12
+ data_files: splits/spectraverse_compound_split.csv
13
+ - config_name: spectraverse_spectra
14
+ data_files: Spectraverse.csv
15
+ ---
16
 
17
+ # UltraMS SpectraVerse benchmark
18
 
19
+ A frozen, molecule-disjoint benchmark table built from the SpectraVerse tandem mass
20
+ spectral library and released by UltraMS. It is the negative-ion structure-family
21
+ evaluation population of the UltraMS manuscript (Figure 2c) and the external test set of
22
+ the ionization-polarity transfer experiment.
 
23
 
24
+ ## Contents
25
 
26
+ | file | description |
27
  | --- | --- |
28
+ | `Spectraverse.csv` | 464,346 spectra; columns `mzs, intensities, smiles, precursor_mz, adduct, collision_energy, fold`; 707,447,509 B, SHA-256 `06e084501e91f92cc642c3d60de2863266ff3d0db958354a011e32851bef3976` |
29
+ | `splits/spectraverse_compound_split.csv` | 42,308 exact SMILES → `fold` (train / validation / test) with `n_spectra` |
30
+ | `README.md`, `NOTICE.md`, `VERIFY.md`, `stats.json`, `SHA256SUMS` | documentation, attribution, verification and checksums |
 
 
 
31
 
32
+ ## Split
33
 
34
  | fold | spectra | unique exact SMILES |
35
  | --- | ---: | ---: |
36
  | train | 370,362 | 33,846 |
37
  | validation | 47,825 | 4,231 |
38
  | test | 46,159 | 4,231 |
 
 
 
39
 
40
+ The split unit is the exact SMILES string: every spectrum of a SMILES string lies in one
41
+ fold and no string crosses folds (molecule/SMILES-disjoint 8:1:1). It is **not**
42
+ formula-disjoint: structural isomers share a formula and formulas recur across folds.
 
 
 
 
 
43
 
44
+ ## Usage
 
 
 
 
 
45
 
46
  ```python
47
  import pandas as pd
 
48
  base = "https://huggingface.co/datasets/dsadd4/UltraMS-Spectraverse-Benchmark/resolve/v1.0.0/"
49
  spectra = pd.read_csv(base + "Spectraverse.csv")
50
  split = pd.read_csv(base + "splits/spectraverse_compound_split.csv")
 
51
  test = spectra[spectra.fold == "test"]
 
52
  ```
53
 
54
+ ## Provenance and licence
 
 
 
 
55
 
56
  The spectra are the public SpectraVerse library (SpectraVerse v1.0.1, Zenodo
57
+ doi:10.5281/zenodo.17870921, CC BY 4.0; Gupta, Qiang, Chung, Herbst and Skinnider).
58
+ UltraMS contributed the CSV representation, the frozen molecule-level split and the release.
59
+ Released under CC BY 4.0; attribution to the SpectraVerse authors is required.