Update dataset card with paper/code links and task categories

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +24 -13
README.md CHANGED
@@ -1,29 +1,34 @@
1
  ---
2
- pretty_name: PrimeKG-CL
3
- license: cc-by-4.0
4
- task_categories:
5
- - other
6
  language:
7
  - en
 
 
 
 
 
 
 
8
  tags:
9
  - biomedical
10
  - knowledge-graph
11
  - continual-learning
12
  - link-prediction
13
- size_categories:
14
- - 10M<n<100M
15
  ---
16
 
17
  # PrimeKG-CL
18
 
19
- PrimeKG-CL is a continual graph learning benchmark built on an evolving biomedical knowledge graph. It contains two temporal snapshots (`t0`, `t1`), temporal diffs, 10 continual-learning tasks, and multimodal node features for evaluating retention/forgetting under distribution shift.
 
 
 
 
20
 
21
  This dataset repository stores the benchmark under the `benchmark/` directory.
22
 
23
  ## Dataset Summary
24
 
25
  - **Domain:** Biomedical knowledge graphs
26
- - **Primary use:** Continual knowledge graph completion / link prediction
27
  - **Snapshots:**
28
  - `benchmark/snapshots/kg_t0.csv` (June 2021 PrimeKG release): 8,100,498 triples, 129,375 nodes, 30 relations
29
  - `benchmark/snapshots/kg_t1.csv` (July 2023 reconstruction): 13,001,666 triples, 134,211 nodes, 25 relations
@@ -51,11 +56,17 @@ This dataset repository stores the benchmark under the `benchmark/` directory.
51
  - Task splits use 70/10/20 train/valid/test.
52
  - Feature tensors are stored as `.pt` files.
53
 
54
- ## Suggested Usage
55
 
56
- 1. Use `task_0_base` as the base pretraining stage on `t0`.
57
- 2. Train/evaluate sequentially on tasks `task_1_*` through `task_5_*`.
58
- 3. Report both aggregate and stratified metrics (persistent vs added vs removed), using `benchmark/test_stratification.json`.
 
 
 
 
 
 
59
 
60
  ## Limitations and Considerations
61
 
@@ -81,4 +92,4 @@ If you use this dataset, please cite:
81
  booktitle={NeurIPS Datasets and Benchmarks Track},
82
  year={2026}
83
  }
84
- ```
 
1
  ---
 
 
 
 
2
  language:
3
  - en
4
+ license: cc-by-4.0
5
+ size_categories:
6
+ - 10M<n<100M
7
+ task_categories:
8
+ - graph-ml
9
+ - question-answering
10
+ pretty_name: PrimeKG-CL
11
  tags:
12
  - biomedical
13
  - knowledge-graph
14
  - continual-learning
15
  - link-prediction
 
 
16
  ---
17
 
18
  # PrimeKG-CL
19
 
20
+ PrimeKG-CL is a continual graph learning benchmark built on an evolving biomedical knowledge graph. It was introduced in the paper [PrimeKG-CL: A Continual Graph Learning Benchmark on Evolving Biomedical Knowledge Graphs](https://huggingface.co/papers/2605.10529).
21
+
22
+ - **Code:** [https://github.com/yradwan147/primekg-cl-neurips2026](https://github.com/yradwan147/primekg-cl-neurips2026)
23
+
24
+ PrimeKG-CL contains two temporal snapshots (`t0`, `t1`), temporal diffs, 10 continual-learning tasks, and multimodal node features for evaluating retention/forgetting under distribution shift.
25
 
26
  This dataset repository stores the benchmark under the `benchmark/` directory.
27
 
28
  ## Dataset Summary
29
 
30
  - **Domain:** Biomedical knowledge graphs
31
+ - **Primary use:** Continual knowledge graph completion / link prediction / KGQA
32
  - **Snapshots:**
33
  - `benchmark/snapshots/kg_t0.csv` (June 2021 PrimeKG release): 8,100,498 triples, 129,375 nodes, 30 relations
34
  - `benchmark/snapshots/kg_t1.csv` (July 2023 reconstruction): 13,001,666 triples, 134,211 nodes, 25 relations
 
56
  - Task splits use 70/10/20 train/valid/test.
57
  - Feature tensors are stored as `.pt` files.
58
 
59
+ ## Sample Usage
60
 
61
+ After setting up the environment using the `environment.yml` from the GitHub repository, you can run a baseline (e.g., EWC on DistMult) using the following command:
62
+
63
+ ```bash
64
+ python scripts/run_baselines.py \
65
+ --method ewc --decoder DistMult \
66
+ --seeds 42 123 456 789 1024 \
67
+ --data_root data/benchmark \
68
+ --output results/
69
+ ```
70
 
71
  ## Limitations and Considerations
72
 
 
92
  booktitle={NeurIPS Datasets and Benchmarks Track},
93
  year={2026}
94
  }
95
+ ```