AutomatedScientist commited on
Commit
0f20ffa
·
verified ·
1 Parent(s): 1c9020b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -11
README.md CHANGED
@@ -8,20 +8,30 @@ tags:
8
  - trajectories
9
  size_categories:
10
  - 1M<n<10M
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  # WikiKG Trajectories
14
 
15
  2M tool-calling trajectories + 366k triplets from Wikipedia knowledge graph.
16
 
17
- ## Files
18
 
19
- | File | Records | Size | Description |
20
- |------|---------|------|-------------|
21
- | `paths_1m.jsonl` | 1,500,000 | 230 MB | Random walk paths through the graph |
22
- | `trajectories_query_relations_1m.jsonl` | 1,000,000 | 5.1 GB | Tool-call conversations (query_relations style) |
23
- | `trajectories_get_neighbors_1m.jsonl` | 1,000,000 | 5.0 GB | Tool-call conversations (get_neighbors style) |
24
- | `triplets_all.jsonl` | 365,923 | 30 MB | Subject-relation-object triplets |
25
 
26
  ## Tool-Calling Styles
27
 
@@ -63,9 +73,11 @@ Generated from [wiki-kg-dataset](https://huggingface.co/datasets/amanrangapur/wi
63
  ```python
64
  from datasets import load_dataset
65
 
66
- # Load trajectories
67
- ds = load_dataset("YOUR_USERNAME/wikikg-trajectories", data_files="trajectories_query_relations_1m.jsonl")
68
 
69
- # Load triplets
70
- triplets = load_dataset("YOUR_USERNAME/wikikg-trajectories", data_files="triplets_all.jsonl")
 
 
71
  ```
 
8
  - trajectories
9
  size_categories:
10
  - 1M<n<10M
11
+ configs:
12
+ - config_name: triplets
13
+ data_files: triplets_all.jsonl
14
+ default: true
15
+ - config_name: trajectories_query_relations
16
+ data_files: trajectories_query_relations_1m.jsonl
17
+ - config_name: trajectories_get_neighbors
18
+ data_files: trajectories_get_neighbors_1m.jsonl
19
+ - config_name: paths
20
+ data_files: paths_1m.jsonl
21
  ---
22
 
23
  # WikiKG Trajectories
24
 
25
  2M tool-calling trajectories + 366k triplets from Wikipedia knowledge graph.
26
 
27
+ ## Configurations
28
 
29
+ | Config | Records | Size | Description |
30
+ |--------|---------|------|-------------|
31
+ | `triplets` (default) | 365,923 | 30 MB | Subject-relation-object triplets |
32
+ | `trajectories_query_relations` | 1,000,000 | 5.1 GB | Tool-call conversations (query_relations style) |
33
+ | `trajectories_get_neighbors` | 1,000,000 | 5.0 GB | Tool-call conversations (get_neighbors style) |
34
+ | `paths` | 1,500,000 | 230 MB | Random walk paths through the graph |
35
 
36
  ## Tool-Calling Styles
37
 
 
73
  ```python
74
  from datasets import load_dataset
75
 
76
+ # Load default (triplets)
77
+ ds = load_dataset("AutomatedScientist/wikikg-trajectories")
78
 
79
+ # Load specific config
80
+ ds = load_dataset("AutomatedScientist/wikikg-trajectories", "trajectories_query_relations")
81
+ ds = load_dataset("AutomatedScientist/wikikg-trajectories", "trajectories_get_neighbors")
82
+ ds = load_dataset("AutomatedScientist/wikikg-trajectories", "paths")
83
  ```