Dataset card with named configs
Browse files
README.md
CHANGED
|
@@ -54,26 +54,23 @@ IRexp is the largest **openly redistributable** collection of **experimental inf
|
|
| 54 |
```python
|
| 55 |
from datasets import load_dataset
|
| 56 |
|
| 57 |
-
#
|
| 58 |
-
ds = load_dataset("ilkhamfy/IRexp",
|
| 59 |
|
| 60 |
row = ds[0]
|
| 61 |
print(row["ir_bands_cm-1"][:5], row["smiles"][:40])
|
| 62 |
```
|
| 63 |
|
| 64 |
-
For **fine-tuning without benchmark leakage**, use
|
| 65 |
|
| 66 |
```python
|
| 67 |
-
ds = load_dataset("ilkhamfy/IRexp",
|
| 68 |
```
|
| 69 |
|
| 70 |
-
Or
|
| 71 |
|
| 72 |
```python
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
with gzip.open("irexp_resolved.jsonl.gz", "rt") as f:
|
| 76 |
-
row = json.loads(f.readline())
|
| 77 |
```
|
| 78 |
|
| 79 |
## Record schema
|
|
|
|
| 54 |
```python
|
| 55 |
from datasets import load_dataset
|
| 56 |
|
| 57 |
+
# Structure-linked corpus (43,060 records)
|
| 58 |
+
ds = load_dataset("ilkhamfy/IRexp", "resolved", split="train")
|
| 59 |
|
| 60 |
row = ds[0]
|
| 61 |
print(row["ir_bands_cm-1"][:5], row["smiles"][:40])
|
| 62 |
```
|
| 63 |
|
| 64 |
+
For **fine-tuning without benchmark leakage**, use the `train_no_bench` config:
|
| 65 |
|
| 66 |
```python
|
| 67 |
+
ds = load_dataset("ilkhamfy/IRexp", "train_no_bench", split="train")
|
| 68 |
```
|
| 69 |
|
| 70 |
+
Or load a file path directly:
|
| 71 |
|
| 72 |
```python
|
| 73 |
+
ds = load_dataset("ilkhamfy/IRexp", data_files="data/train_no_bench.jsonl.gz", split="train")
|
|
|
|
|
|
|
|
|
|
| 74 |
```
|
| 75 |
|
| 76 |
## Record schema
|