NisNace commited on
Commit
7e4c1e8
·
verified ·
1 Parent(s): 520c7db

Add dataset README

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - knowledge-graph
5
+ - wiki5m
6
+ - scaling-law
7
+ - preservation
8
+ - ood
9
+ ---
10
+
11
+ # Hypernet Scaling Law Data
12
+
13
+ Data assets for scaling-law and preservation (catastrophic forgetting) experiments.
14
+
15
+ ## Contents
16
+
17
+ - **OOD splits**: `train_ood_scaling_law.pq`, `valid_ood_scaling_law.pq`, `eval_ood_scaling_law.pq` — train/valid/eval by domain (eval = held-out domains).
18
+ - **Scaling law**: `train_scaling_law.pq`, `valid_scaling_law.pq` — 1hop/2hop/3hop QA.
19
+ - **With facts**: `train_scaling_law_with_facts.pq`, `valid_scaling_law_with_facts.pq` — same + `facts` column from relation templates.
20
+ - **Preservation**: `preservation_train.pq`, `preservation_eval.pq` (and `preserve_data/`, `preserve_data_2hop/`, `preserve_data_combined/`) — entities not in train, for preservation loss and eval.
21
+ - **Relation templates**: `relation_template_mapping.csv` — relation label → question template and noun_template for fact generation.
22
+ - **EDA**: `domain_counts_eda.csv`, `figures/` — domain and n_hop stats/plots.
23
+
24
+ ## Schema (parquet)
25
+
26
+ Canonical columns: `triplet_subject`, `triplet_relation`, `triplet_object`, `question_prompt`, `answer`.
27
+ Some files add `n_hop`, `facts` (list of strings), or `domain`.
28
+
29
+ ## Usage
30
+
31
+ ```python
32
+ import pandas as pd
33
+ from huggingface_hub import hf_hub_download
34
+
35
+ path = hf_hub_download(repo_id="nace-ai/hypernet-scaling-law-data", filename="train_ood_scaling_law.pq")
36
+ df = pd.read_parquet(path)
37
+ ```