jeanq1 commited on
Commit
3fe4abe
·
verified ·
1 Parent(s): b58d177

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -7
README.md CHANGED
@@ -6,7 +6,7 @@ pretty_name: IDP-Euka-90
6
  # IDP-Euka-90
7
 
8
  **IDP-Euka-90** is a collection of eukaryotic protein sequences curated for representation learning and downstream analysis of **intrinsically disordered proteins/regions (IDPs/IDRs)**.
9
- The dataset is distributed as a single split (default `train`) with a **`split` column** preserved so you can create train/val views on the fly without separate datasets.
10
 
11
  ---
12
 
@@ -14,7 +14,6 @@ The dataset is distributed as a single split (default `train`) with a **`split`
14
 
15
  - **Columns**
16
  - `sequence` — protein amino-acid sequence (single-letter codes)
17
- - `split` — string label (e.g., `train`, `val`); kept for convenient filtering
18
 
19
  - **Format**
20
  - Hosted on the Hugging Face Hub as an Arrow/CSV-backed dataset.
@@ -27,11 +26,7 @@ The dataset is distributed as a single split (default `train`) with a **`split`
27
  from datasets import load_dataset
28
 
29
  repo_id = "InstaDeepAI/IDP-Euka-90"
30
- ds = load_dataset(repo_id, split="train") # columns: ["sequence", "split"]
31
  print(ds)
32
  print(ds.features)
33
 
34
- # Create views using the preserved 'split' column
35
- train_ds = ds.filter(lambda x: x["split"] == "train")
36
- val_ds = ds.filter(lambda x: x["split"] == "val")
37
- print(len(train_ds), len(val_ds))
 
6
  # IDP-Euka-90
7
 
8
  **IDP-Euka-90** is a collection of eukaryotic protein sequences curated for representation learning and downstream analysis of **intrinsically disordered proteins/regions (IDPs/IDRs)**.
9
+ The HF dataset is distributed as a train/val split and the backup csv has a **`split` column** prepared.
10
 
11
  ---
12
 
 
14
 
15
  - **Columns**
16
  - `sequence` — protein amino-acid sequence (single-letter codes)
 
17
 
18
  - **Format**
19
  - Hosted on the Hugging Face Hub as an Arrow/CSV-backed dataset.
 
26
  from datasets import load_dataset
27
 
28
  repo_id = "InstaDeepAI/IDP-Euka-90"
29
+ ds = load_dataset(repo_id)
30
  print(ds)
31
  print(ds.features)
32