Datasets:
Graph data in separate config
Browse files- .github/workflows/ci-cd.yaml +5 -1
- README.md +11 -0
- extract.py +1 -0
.github/workflows/ci-cd.yaml
CHANGED
@@ -79,8 +79,12 @@ jobs:
|
|
79 |
|
80 |
git lfs install
|
81 |
git lfs track "*-wiktextract-data.jsonl"
|
|
|
|
|
82 |
git add *-wiktextract-data.jsonl
|
83 |
-
git
|
|
|
|
|
84 |
git push https://QubitPi:$HF_TOKEN@huggingface.co/datasets/QubitPi/wiktionary-data master:main -f
|
85 |
env:
|
86 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
79 |
|
80 |
git lfs install
|
81 |
git lfs track "*-wiktextract-data.jsonl"
|
82 |
+
git lfs track "word-definition-graph-data.jsonl"
|
83 |
+
|
84 |
git add *-wiktextract-data.jsonl
|
85 |
+
git add word-definition-graph-data.jsonl
|
86 |
+
|
87 |
+
git commit -m "Extract raw-wiktextract-data.jsonl into per-language wiktextract-data.jsonl and generate graph data"
|
88 |
git push https://QubitPi:$HF_TOKEN@huggingface.co/datasets/QubitPi/wiktionary-data master:main -f
|
89 |
env:
|
90 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
README.md
CHANGED
@@ -24,6 +24,10 @@ configs:
|
|
24 |
path: old-persian-wiktextract-data.jsonl
|
25 |
- split: Akkadian
|
26 |
path: akkadian-wiktextract-data.jsonl
|
|
|
|
|
|
|
|
|
27 |
tags:
|
28 |
- Wiktionary
|
29 |
- German
|
@@ -33,6 +37,7 @@ tags:
|
|
33 |
- Old Persian
|
34 |
- Akkadian
|
35 |
- Vocabulary
|
|
|
36 |
size_categories:
|
37 |
- 1M<n<10M
|
38 |
---
|
@@ -78,6 +83,12 @@ The available splits are
|
|
78 |
- `OldPersian`
|
79 |
- `Akkadian`
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
Development
|
82 |
-----------
|
83 |
|
|
|
24 |
path: old-persian-wiktextract-data.jsonl
|
25 |
- split: Akkadian
|
26 |
path: akkadian-wiktextract-data.jsonl
|
27 |
+
- config_name: Graph
|
28 |
+
data_files:
|
29 |
+
- split: All
|
30 |
+
path: word-definition-graph-data.jsonl
|
31 |
tags:
|
32 |
- Wiktionary
|
33 |
- German
|
|
|
37 |
- Old Persian
|
38 |
- Akkadian
|
39 |
- Vocabulary
|
40 |
+
- Knowledge Graph
|
41 |
size_categories:
|
42 |
- 1M<n<10M
|
43 |
---
|
|
|
83 |
- `OldPersian`
|
84 |
- `Akkadian`
|
85 |
|
86 |
+
In addition, a separate split for graph data is offered:
|
87 |
+
|
88 |
+
- `GraphData`
|
89 |
+
|
90 |
+
This split contains all the languages and puts everything in a giant graph
|
91 |
+
|
92 |
Development
|
93 |
-----------
|
94 |
|
extract.py
CHANGED
@@ -23,3 +23,4 @@ if __name__ == "__main__":
|
|
23 |
args = vars(parser.parse_args())
|
24 |
|
25 |
extract_data(args["input"])
|
|
|
|
23 |
args = vars(parser.parse_args())
|
24 |
|
25 |
extract_data(args["input"])
|
26 |
+
extract_graph(args["input"])
|