Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- README.md +428 -0
- conversion_stats.json +25 -0
- skypile_00000.h5 +3 -0
- skypile_00001.h5 +3 -0
- skypile_00005.h5 +3 -0
- skypile_00006.h5 +3 -0
- skypile_00007.h5 +3 -0
- skypile_00008.h5 +3 -0
- skypile_00011.h5 +3 -0
- skypile_00012.h5 +3 -0
- skypile_00013.h5 +3 -0
- skypile_00014.h5 +3 -0
- skypile_00015.h5 +3 -0
- skypile_00016.h5 +3 -0
- skypile_00017.h5 +3 -0
- skypile_00018.h5 +3 -0
- skypile_00019.h5 +3 -0
- skypile_00020.h5 +3 -0
- skypile_00022.h5 +3 -0
- skypile_00023.h5 +3 -0
- skypile_00024.h5 +3 -0
- skypile_00028.h5 +3 -0
- skypile_00030.h5 +3 -0
- skypile_00031.h5 +3 -0
- skypile_00034.h5 +3 -0
- skypile_00035.h5 +3 -0
- skypile_00036.h5 +3 -0
- skypile_00038.h5 +3 -0
- skypile_00040.h5 +3 -0
- skypile_00041.h5 +3 -0
- skypile_00046.h5 +3 -0
- skypile_00049.h5 +3 -0
- skypile_00061.h5 +3 -0
- skypile_00062.h5 +3 -0
- skypile_00064.h5 +3 -0
- skypile_00066.h5 +3 -0
- skypile_00067.h5 +3 -0
- skypile_00068.h5 +3 -0
- skypile_00073.h5 +3 -0
- vocabs/all_vocabs.json +3 -0
- vocabs/amr_edge_vocab.json +124 -0
- vocabs/amr_kind_vocab.json +0 -0
- vocabs/amr_special_node_label_class.json +0 -0
- vocabs/amr_special_node_vocab.json +0 -0
- vocabs/dep_edge_vocab.json +48 -0
- vocabs/dep_kind_vocab.json +5 -0
- vocabs/dep_special_node_vocab.json +3 -0
- vocabs/dropped_unknown_noisy_label_counts.json +0 -0
- vocabs/ref_path_vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
vocabs/tok_vocab.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
vocabs/all_vocabs.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,431 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: SkyGraph-1.5B
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
license: apache-2.0
|
| 6 |
+
size_categories:
|
| 7 |
+
- 10M<n<100M
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-generation
|
| 10 |
+
- feature-extraction
|
| 11 |
+
tags:
|
| 12 |
+
- chinese
|
| 13 |
+
- amr
|
| 14 |
+
- dependency-parsing
|
| 15 |
+
- semantic-parsing
|
| 16 |
+
- syntax
|
| 17 |
+
- graph-structured-data
|
| 18 |
+
- hdf5
|
| 19 |
+
- h5
|
| 20 |
---
|
| 21 |
+
|
| 22 |
+
# SkyGraph-1.5B
|
| 23 |
+
|
| 24 |
+
SkyGraph-1.5B is a large-scale Chinese text corpus packaged in HDF5 format with graph-structured linguistic annotations. Each example corresponds to one sentence and includes tokenizer input ids, word-level token ids, dependency parsing targets, AMR-style semantic graph targets, and references to external token embedding shards.
|
| 25 |
+
|
| 26 |
+
This release is intended for research on graph-aware language modeling, syntax-semantics representation learning, graph decoding, and Chinese text modeling.
|
| 27 |
+
|
| 28 |
+
> **Release note:** the dataset files are stored as HDF5 shards. Hugging Face can host these files, but the Dataset Viewer/Data Studio may not provide a native table preview for the full corpus unless a Parquet or JSONL sample is added separately.
|
| 29 |
+
|
| 30 |
+
## Dataset Summary
|
| 31 |
+
|
| 32 |
+
| Item | Value |
|
| 33 |
+
| --- | --- |
|
| 34 |
+
| Dataset name | SkyGraph-1.5B |
|
| 35 |
+
| Format | HDF5 (`.h5`) |
|
| 36 |
+
| Language | Chinese (`zh`) |
|
| 37 |
+
| Number of examples | 36,721,440 sentences |
|
| 38 |
+
| Number of shards | 74 |
|
| 39 |
+
| Disk size | Approximately 57 GB |
|
| 40 |
+
| Graph annotations | Dependency graph and AMR graph |
|
| 41 |
+
| Vocabulary files | `vocabs/*.json` |
|
| 42 |
+
| Conversion statistics | `conversion_stats.json` |
|
| 43 |
+
|
| 44 |
+
The HDF5 shards are named:
|
| 45 |
+
|
| 46 |
+
```text
|
| 47 |
+
skypile_00000.h5
|
| 48 |
+
...
|
| 49 |
+
skypile_00073.h5
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Repository Structure
|
| 53 |
+
|
| 54 |
+
```text
|
| 55 |
+
.
|
| 56 |
+
├── README.md
|
| 57 |
+
├── conversion_stats.json
|
| 58 |
+
├── skypile_00000.h5
|
| 59 |
+
├── ...
|
| 60 |
+
├── skypile_00073.h5
|
| 61 |
+
└── vocabs/
|
| 62 |
+
├── all_vocabs.json
|
| 63 |
+
├── tok_vocab.json
|
| 64 |
+
├── ref_path_vocab.json
|
| 65 |
+
├── dep_kind_vocab.json
|
| 66 |
+
├── dep_edge_vocab.json
|
| 67 |
+
├── dep_special_node_vocab.json
|
| 68 |
+
├── amr_kind_vocab.json
|
| 69 |
+
├── amr_edge_vocab.json
|
| 70 |
+
├── amr_special_node_vocab.json
|
| 71 |
+
├── amr_special_node_label_class.json
|
| 72 |
+
└── dropped_unknown_noisy_label_counts.json
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## Dataset Creation
|
| 76 |
+
|
| 77 |
+
The conversion pipeline processed 48,470,913 candidate sentences and wrote 36,721,440 valid examples. Invalid or noisy samples were skipped during conversion.
|
| 78 |
+
|
| 79 |
+
Key conversion statistics:
|
| 80 |
+
|
| 81 |
+
| Field | Count |
|
| 82 |
+
| --- | ---: |
|
| 83 |
+
| `files_total` | 10 |
|
| 84 |
+
| `documents_total` | 94,670 |
|
| 85 |
+
| `sentences_total` | 48,470,913 |
|
| 86 |
+
| `sentences_written` | 36,721,440 |
|
| 87 |
+
| `h5_shards_written` | 74 |
|
| 88 |
+
| `skipped_invalid_amr` | 7,838,272 |
|
| 89 |
+
| `skipped_invalid_dep` | 79,479 |
|
| 90 |
+
| `skipped_unknown_noisy_samples` | 3,823,302 |
|
| 91 |
+
| `skipped_missing_ref` | 8,420 |
|
| 92 |
+
|
| 93 |
+
AMR special node class counts:
|
| 94 |
+
|
| 95 |
+
| Class | Count |
|
| 96 |
+
| --- | ---: |
|
| 97 |
+
| `amr_ontology` | 114,093,292 |
|
| 98 |
+
| `propbank_frame` | 3,348,853 |
|
| 99 |
+
| `punctuation` | 857,927 |
|
| 100 |
+
| `date_like` | 8 |
|
| 101 |
+
| `unknown_noisy` | 0 |
|
| 102 |
+
|
| 103 |
+
For the full conversion report, see `conversion_stats.json`.
|
| 104 |
+
|
| 105 |
+
## Data Schema
|
| 106 |
+
|
| 107 |
+
Every `skypile_*.h5` shard uses the same schema. Variable-length fields are stored as a flat array plus offsets. For example, the `i`-th sequence in a pair of `*_flat` and `*_offsets` datasets is:
|
| 108 |
+
|
| 109 |
+
```python
|
| 110 |
+
flat[offsets[i]:offsets[i + 1]]
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
### `meta`
|
| 114 |
+
|
| 115 |
+
| Field | Type | Description |
|
| 116 |
+
| --- | --- | --- |
|
| 117 |
+
| `num_sentences` | scalar int64 | Number of examples in the shard. |
|
| 118 |
+
| `tokenizer_path` | scalar bytes | Tokenizer path used to generate `token/tokens_flat`. |
|
| 119 |
+
| `embedding_base_path` | scalar bytes | Base path for the external token embedding shards used by `graph_output_mode="embedding"`. |
|
| 120 |
+
|
| 121 |
+
### `token`
|
| 122 |
+
|
| 123 |
+
Pre-tokenized model input ids.
|
| 124 |
+
|
| 125 |
+
| Field | Type | Description |
|
| 126 |
+
| --- | --- | --- |
|
| 127 |
+
| `tokens_flat` | uint16 | Concatenated tokenizer token ids for all examples. |
|
| 128 |
+
| `token_offsets` | int64 | Per-example offsets into `tokens_flat`. |
|
| 129 |
+
|
| 130 |
+
### `tok`
|
| 131 |
+
|
| 132 |
+
Word-level token ids used to align dependency nodes, AMR nodes, and token embeddings.
|
| 133 |
+
|
| 134 |
+
| Field | Type | Description |
|
| 135 |
+
| --- | --- | --- |
|
| 136 |
+
| `tok_ids_flat` | uint32 | Concatenated word-level token ids. The ids map to `vocabs/tok_vocab.json`. |
|
| 137 |
+
| `tok_offsets` | int64 | Per-example offsets into `tok_ids_flat`. |
|
| 138 |
+
|
| 139 |
+
### `embedding_ref`
|
| 140 |
+
|
| 141 |
+
References to external packed token embedding shards.
|
| 142 |
+
|
| 143 |
+
| Field | Type | Description |
|
| 144 |
+
| --- | --- | --- |
|
| 145 |
+
| `ref_path_id` | uint32 | Relative embedding shard path id. The ids map to `vocabs/ref_path_vocab.json`. |
|
| 146 |
+
| `ref_index` | int64 | Example index inside the referenced embedding shard. |
|
| 147 |
+
|
| 148 |
+
The referenced embedding path is resolved as:
|
| 149 |
+
|
| 150 |
+
```text
|
| 151 |
+
Path(meta/embedding_base_path) / ref_path_vocab[ref_path_id]
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
If you only use token-class graph targets (`graph_output_mode="toks"`), these external embedding shards are not required.
|
| 155 |
+
|
| 156 |
+
The external token embedding shards are not included in this Hugging Face release because they are too large to upload. If you need to use `graph_output_mode="embedding"`, you can regenerate compatible embeddings with the companion repository:
|
| 157 |
+
|
| 158 |
+
```text
|
| 159 |
+
https://github.com/yuanhuang0825/cilin-simcse.git
|
| 160 |
+
```
|
| 161 |
+
|
| 162 |
+
### `dep`
|
| 163 |
+
|
| 164 |
+
Dependency graphs use one node per token and encode edges through a parent array.
|
| 165 |
+
|
| 166 |
+
| Field | Type | Description |
|
| 167 |
+
| --- | --- | --- |
|
| 168 |
+
| `node_offsets` | int64 | Per-example dependency node offsets. |
|
| 169 |
+
| `kind_tgt_flat` | uint16 | Node kind target. `0=null`, `1=non-special`, `2=special:<punct>`. |
|
| 170 |
+
| `embed_tgt_flat` | int16 | In-sentence token embedding index for each node. Special nodes may be `-1`. |
|
| 171 |
+
| `parent_flat` | int16 | Parent node index for each node. Root or missing parent is `-1`. |
|
| 172 |
+
| `parent_edge_label_flat` | uint16 | Dependency edge label id from parent to child. The ids map to `vocabs/dep_edge_vocab.json`. |
|
| 173 |
+
|
| 174 |
+
When loaded by the training dataset class, the parent array is converted to a dense edge target:
|
| 175 |
+
|
| 176 |
+
```python
|
| 177 |
+
edge_tgt[parent, child] = parent_edge_label
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
Positions without edges use `no_edge_id`, which is `0` by default.
|
| 181 |
+
|
| 182 |
+
### `amr`
|
| 183 |
+
|
| 184 |
+
AMR graphs use an edge list and store alignment between AMR nodes and in-sentence token indices.
|
| 185 |
+
|
| 186 |
+
| Field | Type | Description |
|
| 187 |
+
| --- | --- | --- |
|
| 188 |
+
| `node_offsets` | int64 | Per-example AMR node offsets. |
|
| 189 |
+
| `kind_tgt_flat` | uint16 | AMR node kind target. `0=null`, `1=non-special`, `>=2` means special node. |
|
| 190 |
+
| `edge_offsets` | int64 | Per-example AMR edge offsets. |
|
| 191 |
+
| `src_flat` | int16 | AMR edge source node index. |
|
| 192 |
+
| `dst_flat` | int16 | AMR edge destination node index. |
|
| 193 |
+
| `edge_label_flat` | uint16 | AMR edge label id. The ids map to `vocabs/amr_edge_vocab.json`. |
|
| 194 |
+
| `amr_node_embed_offsets` | int64 | Per-example offsets for AMR nodes with token alignment. |
|
| 195 |
+
| `amr_node_embed_node_idx_flat` | int16 | AMR node indices with token alignment. |
|
| 196 |
+
| `amr_node_embed_tok_offsets` | int64 | Offsets into aligned token indices for each aligned AMR node. |
|
| 197 |
+
| `amr_node_embed_tok_idx_flat` | int16 | In-sentence token indices aligned to each AMR node. |
|
| 198 |
+
|
| 199 |
+
When loaded by the training dataset class, the AMR edge list is converted to a dense edge target:
|
| 200 |
+
|
| 201 |
+
```python
|
| 202 |
+
edge_tgt[src, dst] = edge_label
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
In `graph_output_mode="embedding"`, non-special AMR node embeddings are computed from aligned token embeddings. In `graph_output_mode="toks"`, non-special nodes are remapped to token class targets.
|
| 206 |
+
|
| 207 |
+
## Vocabulary Files
|
| 208 |
+
|
| 209 |
+
| File | Size / Entries | Description |
|
| 210 |
+
| --- | ---: | --- |
|
| 211 |
+
| `tok_vocab.json` | 5,307,229 | Word-level token to `{id, count}` mapping. |
|
| 212 |
+
| `ref_path_vocab.json` | 2,960 | Embedding shard relative path to id mapping. |
|
| 213 |
+
| `dep_kind_vocab.json` | 3 | Dependency node kinds: `null=0`, `non-special=1`, `special:<punct>=2`. |
|
| 214 |
+
| `dep_edge_vocab.json` | 46 | Dependency edge label to id mapping. `<no_edge>=0`. |
|
| 215 |
+
| `dep_special_node_vocab.json` | 1 | Dependency special node labels. Currently only `<punct>`. |
|
| 216 |
+
| `amr_kind_vocab.json` | 6,636 | AMR node kinds: `null=0`, `non-special=1`, `special:*>=2`. |
|
| 217 |
+
| `amr_edge_vocab.json` | 122 | AMR edge label to id mapping. `<no_edge>=0`. |
|
| 218 |
+
| `amr_special_node_vocab.json` | 6,634 | AMR special node label to special id mapping. |
|
| 219 |
+
| `amr_special_node_label_class.json` | 50,410 | AMR special node label classes such as `amr_ontology`, `propbank_frame`, `punctuation`, and `unknown_noisy`. |
|
| 220 |
+
| `dropped_unknown_noisy_label_counts.json` | 43,776 | Noisy AMR labels dropped during conversion and their counts. |
|
| 221 |
+
| `all_vocabs.json` | 8 groups | Combined vocabulary bundle containing graph vocabularies, `tok_vocab`, and `ref_path_vocab`. |
|
| 222 |
+
|
| 223 |
+
`tok_vocab.json` is a word-level token vocabulary, not the BPE vocabulary of an encoder tokenizer.
|
| 224 |
+
|
| 225 |
+
## Quick Start
|
| 226 |
+
|
| 227 |
+
### Read One Example With `h5py`
|
| 228 |
+
|
| 229 |
+
```python
|
| 230 |
+
import h5py
|
| 231 |
+
|
| 232 |
+
h5_path = "skypile_00000.h5"
|
| 233 |
+
|
| 234 |
+
with h5py.File(h5_path, "r") as h5f:
|
| 235 |
+
i = 0
|
| 236 |
+
|
| 237 |
+
token_start = h5f["token"]["token_offsets"][i]
|
| 238 |
+
token_end = h5f["token"]["token_offsets"][i + 1]
|
| 239 |
+
input_ids = h5f["token"]["tokens_flat"][token_start:token_end]
|
| 240 |
+
|
| 241 |
+
dep_start = h5f["dep"]["node_offsets"][i]
|
| 242 |
+
dep_end = h5f["dep"]["node_offsets"][i + 1]
|
| 243 |
+
dep_kind = h5f["dep"]["kind_tgt_flat"][dep_start:dep_end]
|
| 244 |
+
dep_parent = h5f["dep"]["parent_flat"][dep_start:dep_end]
|
| 245 |
+
|
| 246 |
+
amr_node_start = h5f["amr"]["node_offsets"][i]
|
| 247 |
+
amr_node_end = h5f["amr"]["node_offsets"][i + 1]
|
| 248 |
+
amr_kind = h5f["amr"]["kind_tgt_flat"][amr_node_start:amr_node_end]
|
| 249 |
+
|
| 250 |
+
amr_edge_start = h5f["amr"]["edge_offsets"][i]
|
| 251 |
+
amr_edge_end = h5f["amr"]["edge_offsets"][i + 1]
|
| 252 |
+
amr_src = h5f["amr"]["src_flat"][amr_edge_start:amr_edge_end]
|
| 253 |
+
amr_dst = h5f["amr"]["dst_flat"][amr_edge_start:amr_edge_end]
|
| 254 |
+
amr_edge_label = h5f["amr"]["edge_label_flat"][amr_edge_start:amr_edge_end]
|
| 255 |
+
|
| 256 |
+
print("input_ids:", input_ids.shape)
|
| 257 |
+
print("dep:", dep_kind.shape, dep_parent.shape)
|
| 258 |
+
print("amr:", amr_kind.shape, amr_src.shape, amr_dst.shape, amr_edge_label.shape)
|
| 259 |
+
```
|
| 260 |
+
|
| 261 |
+
### Use the RGG-VAE Dataset Loader
|
| 262 |
+
|
| 263 |
+
The original loader is implemented as `utils.load_dataset.SkypileH5Dataset` in the companion RGG-VAE codebase.
|
| 264 |
+
|
| 265 |
+
```python
|
| 266 |
+
from torch.utils.data import DataLoader
|
| 267 |
+
|
| 268 |
+
from utils.load_dataset import SkypileH5Dataset, make_skypile_h5_collate_fn
|
| 269 |
+
|
| 270 |
+
dataset = SkypileH5Dataset(
|
| 271 |
+
path="dataset/skypile1.5B_h5",
|
| 272 |
+
h5_pattern="skypile_*.h5",
|
| 273 |
+
vocab_dir="dataset/skypile1.5B_h5/vocabs",
|
| 274 |
+
return_meta=True,
|
| 275 |
+
graph_output_mode="toks",
|
| 276 |
+
graph_output_tok_top_n=30000,
|
| 277 |
+
tokenizer_input_mode="stored",
|
| 278 |
+
filter_by_max_node=True,
|
| 279 |
+
max_node=100,
|
| 280 |
+
)
|
| 281 |
+
|
| 282 |
+
collate_fn = make_skypile_h5_collate_fn(
|
| 283 |
+
pad_token_id=0,
|
| 284 |
+
null_id=0,
|
| 285 |
+
no_edge_id=0,
|
| 286 |
+
max_node=100,
|
| 287 |
+
)
|
| 288 |
+
|
| 289 |
+
loader = DataLoader(
|
| 290 |
+
dataset,
|
| 291 |
+
batch_size=32,
|
| 292 |
+
shuffle=True,
|
| 293 |
+
num_workers=4,
|
| 294 |
+
collate_fn=collate_fn,
|
| 295 |
+
)
|
| 296 |
+
|
| 297 |
+
batch = next(iter(loader))
|
| 298 |
+
print(batch["tokenizer_inputs"]["input_ids"].shape)
|
| 299 |
+
print(batch["dep"]["kind_tgt"].shape)
|
| 300 |
+
print(batch["amr"]["edge_tgt"].shape)
|
| 301 |
+
```
|
| 302 |
+
|
| 303 |
+
The loader returns:
|
| 304 |
+
|
| 305 |
+
```python
|
| 306 |
+
{
|
| 307 |
+
"tokenizer_inputs": {
|
| 308 |
+
"input_ids": "LongTensor[L]",
|
| 309 |
+
"attention_mask": "LongTensor[L]",
|
| 310 |
+
},
|
| 311 |
+
"dep": {
|
| 312 |
+
"kind_tgt": "LongTensor[N_dep]",
|
| 313 |
+
"embed_tgt": "FloatTensor[N_dep, D]",
|
| 314 |
+
"embed_mask": "BoolTensor[N_dep]",
|
| 315 |
+
"edge_tgt": "LongTensor[N_dep, N_dep]",
|
| 316 |
+
},
|
| 317 |
+
"amr": {
|
| 318 |
+
"kind_tgt": "LongTensor[N_amr]",
|
| 319 |
+
"embed_tgt": "FloatTensor[N_amr, D]",
|
| 320 |
+
"embed_mask": "BoolTensor[N_amr]",
|
| 321 |
+
"edge_tgt": "LongTensor[N_amr, N_amr]",
|
| 322 |
+
},
|
| 323 |
+
"meta": {
|
| 324 |
+
"index": "int",
|
| 325 |
+
"dataset_index": "int",
|
| 326 |
+
"source_index": "int",
|
| 327 |
+
"shard_idx": "int",
|
| 328 |
+
"local_idx": "int",
|
| 329 |
+
"ref_path_id": "int",
|
| 330 |
+
"ref_index": "int",
|
| 331 |
+
},
|
| 332 |
+
}
|
| 333 |
+
```
|
| 334 |
+
|
| 335 |
+
After `make_skypile_h5_collate_fn()`, graph and token tensors are padded to batch shapes such as `[B, L_max]`, `[B, N_dep_max]`, `[B, N_dep_max, N_dep_max]`, `[B, N_amr_max]`, and `[B, N_amr_max, N_amr_max]`.
|
| 336 |
+
|
| 337 |
+
## Graph Target Modes
|
| 338 |
+
|
| 339 |
+
The RGG-VAE loader supports two graph target modes.
|
| 340 |
+
|
| 341 |
+
### `graph_output_mode="toks"`
|
| 342 |
+
|
| 343 |
+
- Does not read the external embedding shards.
|
| 344 |
+
- Remaps non-special graph nodes to token class targets.
|
| 345 |
+
- Uses `graph_output_tok_top_n` to keep the top-N most frequent word-level token classes.
|
| 346 |
+
- Maps tokens outside the top-N list to an extra unknown token kind.
|
| 347 |
+
- Returns placeholder `embed_tgt`; `embed_mask` is always `False`.
|
| 348 |
+
|
| 349 |
+
### `graph_output_mode="embedding"`
|
| 350 |
+
|
| 351 |
+
- Uses external token embedding shards for non-special nodes.
|
| 352 |
+
- Computes embedding loss only where `embed_mask=True`.
|
| 353 |
+
- Requires local access to the path stored in `meta/embedding_base_path`.
|
| 354 |
+
- The external embedding shards are not uploaded with this dataset because of their size.
|
| 355 |
+
- Compatible embeddings can be regenerated with `https://github.com/yuanhuang0825/cilin-simcse.git`.
|
| 356 |
+
- Supports optional embedding transforms such as mean centering, PCA component removal, and L2 normalization in the companion training code.
|
| 357 |
+
|
| 358 |
+
## Known Limitations
|
| 359 |
+
|
| 360 |
+
- The files are HDF5 shards, so the Hugging Face Dataset Viewer may not provide full interactive preview or SQL support for the corpus.
|
| 361 |
+
- `meta/embedding_base_path` stores the original absolute path used during conversion. If you move the dataset or release embedding shards separately, update your loading code accordingly.
|
| 362 |
+
- External token embedding shards are not included in this release because they are too large to upload. They are not required for `graph_output_mode="toks"`, but they are required for `graph_output_mode="embedding"`. Use `https://github.com/yuanhuang0825/cilin-simcse.git` to regenerate them when needed.
|
| 363 |
+
- `filter_by_max_node=True` scans node offsets during dataset initialization and can be slow on first load.
|
| 364 |
+
- `tok_vocab.json` and `all_vocabs.json` are large. Load the smaller graph-specific vocab files when you do not need the full token vocabulary.
|
| 365 |
+
|
| 366 |
+
## Intended Uses
|
| 367 |
+
|
| 368 |
+
This dataset is suitable for:
|
| 369 |
+
|
| 370 |
+
- Chinese language modeling with syntax and semantic graph supervision.
|
| 371 |
+
- Dependency parsing and AMR graph representation experiments.
|
| 372 |
+
- Graph decoder training.
|
| 373 |
+
- Research on syntax-semantics alignment and graph-aware text representation learning.
|
| 374 |
+
|
| 375 |
+
## Out-of-Scope Uses
|
| 376 |
+
|
| 377 |
+
This dataset should not be used as a factual knowledge source without verification. It may contain artifacts inherited from the source corpus and from automatic graph conversion. Users should evaluate quality, bias, and legal suitability before applying it in downstream systems.
|
| 378 |
+
|
| 379 |
+
## License
|
| 380 |
+
|
| 381 |
+
SkyGraph-1.5B is released under the Apache License 2.0. See the `LICENSE` file for the full license text.
|
| 382 |
+
|
| 383 |
+
Please verify that redistribution of the source text, AMR annotations, dependency annotations, and any third-party lexical resources used by the pipeline is permitted under this release before publishing public mirrors.
|
| 384 |
+
|
| 385 |
+
## Citation and Acknowledgements
|
| 386 |
+
|
| 387 |
+
If you use SkyGraph-1.5B, please cite this dataset release and the upstream resources used to build it.
|
| 388 |
+
|
| 389 |
+
The source text is derived from [Skywork/SkyPile-150B](https://huggingface.co/datasets/Skywork/SkyPile-150B). SkyPile-150B is associated with the Skywork technical report:
|
| 390 |
+
|
| 391 |
+
```bibtex
|
| 392 |
+
@dataset{skygraph_1_5b,
|
| 393 |
+
title = {SkyGraph-1.5B: A Chinese Corpus with AMR and Dependency Graph Annotations},
|
| 394 |
+
author = {TODO},
|
| 395 |
+
year = {2026},
|
| 396 |
+
publisher = {Hugging Face},
|
| 397 |
+
howpublished = {\url{https://huggingface.co/datasets/TODO/skygraph-1.5b-h5}},
|
| 398 |
+
}
|
| 399 |
+
|
| 400 |
+
@misc{wei2023skywork,
|
| 401 |
+
title = {Skywork: A More Open Bilingual Foundation Model},
|
| 402 |
+
author = {Tianwen Wei and Liang Zhao and Lichang Zhang and Bo Zhu and Lijie Wang and Haihua Yang and Biye Li and Cheng Cheng and Weiwei L{\"u} and Rui Hu and Chenxia Li and Liu Yang and Xilin Luo and Xuejie Wu and Lunan Liu and Wenjun Cheng and Peng Cheng and Jianhao Zhang and Xiaoyu Zhang and Lei Lin and Xiaokun Wang and Yutuan Ma and Chuanhai Dong and Yanqi Sun and Yifu Chen and Yongyi Peng and Xiaojuan Liang and Shuicheng Yan and Han Fang and Yahui Zhou},
|
| 403 |
+
year = {2023},
|
| 404 |
+
eprint = {2310.19341},
|
| 405 |
+
archivePrefix = {arXiv},
|
| 406 |
+
primaryClass = {cs.CL},
|
| 407 |
+
doi = {10.48550/arXiv.2310.19341},
|
| 408 |
+
url = {https://arxiv.org/abs/2310.19341}
|
| 409 |
+
}
|
| 410 |
+
```
|
| 411 |
+
|
| 412 |
+
Dependency and AMR annotations were generated with [HanLP](https://github.com/hankcs/HanLP). Please also cite HanLP when using the graph annotations:
|
| 413 |
+
|
| 414 |
+
```bibtex
|
| 415 |
+
@inproceedings{he-choi-2021-stem,
|
| 416 |
+
title = {The Stem Cell Hypothesis: Dilemma behind Multi-Task Learning with Transformer Encoders},
|
| 417 |
+
author = {He, Han and Choi, Jinho D.},
|
| 418 |
+
booktitle = {Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing},
|
| 419 |
+
year = {2021},
|
| 420 |
+
pages = {5555--5577},
|
| 421 |
+
publisher = {Association for Computational Linguistics},
|
| 422 |
+
doi = {10.18653/v1/2021.emnlp-main.451},
|
| 423 |
+
url = {https://aclanthology.org/2021.emnlp-main.451}
|
| 424 |
+
}
|
| 425 |
+
```
|
| 426 |
+
|
| 427 |
+
We thank the Skywork team for releasing SkyPile-150B and the HanLP authors and maintainers for providing the dependency parsing and AMR tooling used in the annotation pipeline.
|
| 428 |
+
|
| 429 |
+
## Contact
|
| 430 |
+
|
| 431 |
+
For questions about the dataset, conversion pipeline, or graph schema, please open a discussion on the Hugging Face dataset repository or contact the maintainers listed in the repository profile.
|
conversion_stats.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"amr_special_node_class_counts": {
|
| 3 |
+
"amr_ontology": 114093292,
|
| 4 |
+
"date_like": 8,
|
| 5 |
+
"propbank_frame": 3348853,
|
| 6 |
+
"punctuation": 857927,
|
| 7 |
+
"unknown_noisy": 0
|
| 8 |
+
},
|
| 9 |
+
"documents_total": 94670,
|
| 10 |
+
"files_total": 10,
|
| 11 |
+
"h5_shards_written": 74,
|
| 12 |
+
"sentences_total": 48470913,
|
| 13 |
+
"sentences_written": 36721440,
|
| 14 |
+
"skipped_dep_tok_mismatch": 0,
|
| 15 |
+
"skipped_invalid_amr": 7838272,
|
| 16 |
+
"skipped_invalid_dep": 79479,
|
| 17 |
+
"skipped_invalid_ref": 0,
|
| 18 |
+
"skipped_missing_ref": 8420,
|
| 19 |
+
"skipped_missing_tok": 0,
|
| 20 |
+
"skipped_missing_tokenizer_inputs": 0,
|
| 21 |
+
"skipped_other": 0,
|
| 22 |
+
"skipped_ref_tok_mismatch": 0,
|
| 23 |
+
"skipped_unknown_noisy_nodes": 4835427,
|
| 24 |
+
"skipped_unknown_noisy_samples": 3823302
|
| 25 |
+
}
|
skypile_00000.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae95382ae0703f4498bbe49375c1088eebd1ac789089f43ae4d3d8adb7c5132e
|
| 3 |
+
size 810386192
|
skypile_00001.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:debb9a39bff76bb10846ad7f9456c2a2c03a56718e8595415aa987affd9c43e1
|
| 3 |
+
size 808217264
|
skypile_00005.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce1a0767c8e92a77695370c9047c4e38a24217d0b1dee6a274c05ac6f3a55c1d
|
| 3 |
+
size 809890520
|
skypile_00006.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d322f6c859762e08e2be0542706e5b7092009a6407528464375c24dcbe0021a
|
| 3 |
+
size 812187424
|
skypile_00007.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ba3aaa24fb16854a2c2f5b949cdd015965d2aabe68b38bdf7ca18114f82d7c8
|
| 3 |
+
size 812027928
|
skypile_00008.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6255a550480090abd204d2bc2b42d7df5ad577ce138dff2b3bf197a9df7a9361
|
| 3 |
+
size 809932928
|
skypile_00011.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ab090074ae516176689429d437ab232fece33f036ab95a00bdde1048d87ece6
|
| 3 |
+
size 810670256
|
skypile_00012.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61b3154630f8e11a66ac54b8509d5ee5e06efda1ef9aa4c90b2a6c19e8dbdce0
|
| 3 |
+
size 810604000
|
skypile_00013.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b4bae83014d46c8edfdbcc83bcf1e2c5146f55910d63eea385340c3bb4d0654
|
| 3 |
+
size 811563568
|
skypile_00014.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90b71c74b4c90131dcf506abb4495bc7fbe92350086e86b279cf2e2204c60c67
|
| 3 |
+
size 809620176
|
skypile_00015.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a64c3d5bb2b308afdec9ea35d2cb98511d9108e913e08ef0bb564fbb2993653d
|
| 3 |
+
size 810655856
|
skypile_00016.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4911527aec32947dc783124e45a1249398ea272719139c8067411da848cce2bb
|
| 3 |
+
size 809546616
|
skypile_00017.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66b498ee340aed3d9b097a488e4e7af98c5dd1bba26e559b31eec74a1c11c923
|
| 3 |
+
size 808565360
|
skypile_00018.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb0cf7fa0ff99536ed8d1e06567c7b51a2246f8b9aa31c347ecbea537cd69b6f
|
| 3 |
+
size 809935632
|
skypile_00019.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88789df97862781e8b23aadda76ae2c23a94c6ebe608a54cd6f2cfa2ac98a695
|
| 3 |
+
size 808074584
|
skypile_00020.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a109d9076f1f99a04b40bf78557d3c5123ca25765f5f3b17fce265c5c52ef825
|
| 3 |
+
size 810839872
|
skypile_00022.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12cb31cac2b6ad642487ad16d2a5137f9897473a42ae7c72971c06f49bf41ee2
|
| 3 |
+
size 809862704
|
skypile_00023.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:567f3db83dbb17db7c6462e123bac1f5cd4a71177873d9c14b7bb22d6b21c55b
|
| 3 |
+
size 810304024
|
skypile_00024.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4558f7fe49737d88f3e200365f6f2bac69c25ae145977c41d280a85f665d970c
|
| 3 |
+
size 808250888
|
skypile_00028.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd3c81482ae7ec32db36d757fca0cf230ba4ead814899fff0723f165170b4b6b
|
| 3 |
+
size 810693488
|
skypile_00030.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8479c7e2975f24b42b979913700a7f294f1802417d9c3f29648e529251400000
|
| 3 |
+
size 809240504
|
skypile_00031.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ddacb7f6f9edce1e03f0723ec7d16edd66db1da2872a51141f0c2c63016bc8a
|
| 3 |
+
size 808131160
|
skypile_00034.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c024827d042e6687045297236d7a0e171301ac18cc84f530f5585c8ce556c45f
|
| 3 |
+
size 809126760
|
skypile_00035.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae280e7bb469845e0d3349b7a93d5b5238e45ad2aa62371ae780033654f5ae37
|
| 3 |
+
size 810278400
|
skypile_00036.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a28ba8e926983ce977998abc59a0be4851f76014aba6ef734208be262b2e79b9
|
| 3 |
+
size 809204576
|
skypile_00038.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b47bfaf54894cb1e2fbcb9dbf870b2690ffa2981a4fd17dba049645ae024f700
|
| 3 |
+
size 811849512
|
skypile_00040.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23dfe5371d4c48c1553e0c365f418160f5b46ed7140af4de8eee78c018582acf
|
| 3 |
+
size 811744152
|
skypile_00041.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c425389cd43113a5d02fe97f35781d72ce55bf429245ebcfd0752fc477140b0d
|
| 3 |
+
size 809848792
|
skypile_00046.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:512b69830d8f23bfd2b1e2375ea8422215f4414bf13cdb114f796546b42155ae
|
| 3 |
+
size 812134864
|
skypile_00049.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cda066826526625e67fbb4263c26073a65276efcaa48d3da92ac8896cb3b3e3d
|
| 3 |
+
size 812459576
|
skypile_00061.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37e62cb429758bc93f741691e1907af48bf7ebf7ab174d9062f22c2154ea04ce
|
| 3 |
+
size 808501912
|
skypile_00062.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e23380c70973adde7ed4a01e65d6bb8280a5136f5da60dc79d6a72f4ee134045
|
| 3 |
+
size 811185088
|
skypile_00064.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f757be2c8272b06cb8a1c384d2874cb8c5539d933c4b2e61cd3cd5ff782f5a2c
|
| 3 |
+
size 811098712
|
skypile_00066.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2f31f6b7bc926a3ad034133e2931302d98a74f65cf14e2d2946635a71806e64
|
| 3 |
+
size 809986472
|
skypile_00067.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de87caa8316dac76ae6f9e5929b367d539d7e61a126697aed1ccbd0f743bb20
|
| 3 |
+
size 810088552
|
skypile_00068.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f6a509a7201cfd5e4a344e1d626632c40401e3652b88ea700759d4b19666e2b
|
| 3 |
+
size 810148712
|
skypile_00073.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f812b9242b1c1dde1b1dfaa2818d42f70df2e25c89840ff204702a4a9640ea7
|
| 3 |
+
size 358745008
|
vocabs/all_vocabs.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7717016590203209cf9a53564ac002079106d4941677c5367a9147496ded5424
|
| 3 |
+
size 339469081
|
vocabs/amr_edge_vocab.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<no_edge>": 0,
|
| 3 |
+
"accompanier": 59,
|
| 4 |
+
"according-to": 65,
|
| 5 |
+
"age": 58,
|
| 6 |
+
"arg0": 5,
|
| 7 |
+
"arg1": 6,
|
| 8 |
+
"arg2": 10,
|
| 9 |
+
"arg3": 35,
|
| 10 |
+
"arg4": 52,
|
| 11 |
+
"arg5": 100,
|
| 12 |
+
"arg6": 85,
|
| 13 |
+
"arg7": 89,
|
| 14 |
+
"arg8": 117,
|
| 15 |
+
"arg9": 120,
|
| 16 |
+
"aspect": 17,
|
| 17 |
+
"beneficiary": 44,
|
| 18 |
+
"calendar": 94,
|
| 19 |
+
"cause": 48,
|
| 20 |
+
"century": 56,
|
| 21 |
+
"compared-to": 33,
|
| 22 |
+
"concession": 73,
|
| 23 |
+
"condition": 25,
|
| 24 |
+
"conj-as-if": 97,
|
| 25 |
+
"consist": 72,
|
| 26 |
+
"cost": 61,
|
| 27 |
+
"cunit": 13,
|
| 28 |
+
"day": 2,
|
| 29 |
+
"dayperiod": 43,
|
| 30 |
+
"dcopy": 31,
|
| 31 |
+
"decade": 54,
|
| 32 |
+
"degree": 24,
|
| 33 |
+
"destination": 64,
|
| 34 |
+
"direction": 49,
|
| 35 |
+
"domain": 4,
|
| 36 |
+
"duration": 32,
|
| 37 |
+
"era": 75,
|
| 38 |
+
"example": 16,
|
| 39 |
+
"extent": 92,
|
| 40 |
+
"fangmian": 79,
|
| 41 |
+
"frequency": 42,
|
| 42 |
+
"instrument": 51,
|
| 43 |
+
"li": 36,
|
| 44 |
+
"location": 11,
|
| 45 |
+
"manner": 18,
|
| 46 |
+
"medium": 95,
|
| 47 |
+
"mod": 78,
|
| 48 |
+
"mode": 39,
|
| 49 |
+
"month": 1,
|
| 50 |
+
"monthperiod": 60,
|
| 51 |
+
"name": 3,
|
| 52 |
+
"op1": 9,
|
| 53 |
+
"op10": 86,
|
| 54 |
+
"op11": 91,
|
| 55 |
+
"op12": 102,
|
| 56 |
+
"op13": 118,
|
| 57 |
+
"op15": 90,
|
| 58 |
+
"op17": 121,
|
| 59 |
+
"op18": 113,
|
| 60 |
+
"op19": 109,
|
| 61 |
+
"op2": 7,
|
| 62 |
+
"op20": 119,
|
| 63 |
+
"op3": 14,
|
| 64 |
+
"op4": 20,
|
| 65 |
+
"op5": 21,
|
| 66 |
+
"op6": 12,
|
| 67 |
+
"op7": 47,
|
| 68 |
+
"op8": 68,
|
| 69 |
+
"op9": 67,
|
| 70 |
+
"ord": 34,
|
| 71 |
+
"part": 46,
|
| 72 |
+
"path": 70,
|
| 73 |
+
"perspective": 41,
|
| 74 |
+
"polarity": 30,
|
| 75 |
+
"polite": 71,
|
| 76 |
+
"poss": 19,
|
| 77 |
+
"prep-against": 101,
|
| 78 |
+
"prep-along-with": 104,
|
| 79 |
+
"prep-amid": 116,
|
| 80 |
+
"prep-among": 111,
|
| 81 |
+
"prep-as": 81,
|
| 82 |
+
"prep-at": 110,
|
| 83 |
+
"prep-by": 105,
|
| 84 |
+
"prep-for": 83,
|
| 85 |
+
"prep-from": 93,
|
| 86 |
+
"prep-in": 80,
|
| 87 |
+
"prep-in-addition-to": 99,
|
| 88 |
+
"prep-into": 98,
|
| 89 |
+
"prep-on": 87,
|
| 90 |
+
"prep-on-behalf-of": 107,
|
| 91 |
+
"prep-out-of": 82,
|
| 92 |
+
"prep-to": 106,
|
| 93 |
+
"prep-toward": 115,
|
| 94 |
+
"prep-under": 84,
|
| 95 |
+
"prep-with": 88,
|
| 96 |
+
"prep-without": 96,
|
| 97 |
+
"purpose": 23,
|
| 98 |
+
"quant": 15,
|
| 99 |
+
"quarter": 63,
|
| 100 |
+
"range": 26,
|
| 101 |
+
"refer": 29,
|
| 102 |
+
"result": 69,
|
| 103 |
+
"scale": 57,
|
| 104 |
+
"season": 53,
|
| 105 |
+
"smood": 37,
|
| 106 |
+
"snt1": 62,
|
| 107 |
+
"snt2": 77,
|
| 108 |
+
"snt3": 76,
|
| 109 |
+
"snt4": 74,
|
| 110 |
+
"snt5": 103,
|
| 111 |
+
"snt7": 108,
|
| 112 |
+
"source": 40,
|
| 113 |
+
"subevent": 55,
|
| 114 |
+
"subset": 112,
|
| 115 |
+
"tense": 22,
|
| 116 |
+
"time": 8,
|
| 117 |
+
"timezone": 66,
|
| 118 |
+
"topic": 45,
|
| 119 |
+
"unit": 38,
|
| 120 |
+
"value": 28,
|
| 121 |
+
"weekday": 50,
|
| 122 |
+
"year": 27,
|
| 123 |
+
"year2": 114
|
| 124 |
+
}
|
vocabs/amr_kind_vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocabs/amr_special_node_label_class.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocabs/amr_special_node_vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocabs/dep_edge_vocab.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<no_edge>": 0,
|
| 3 |
+
"advmod": 20,
|
| 4 |
+
"amod": 3,
|
| 5 |
+
"asp": 22,
|
| 6 |
+
"assm": 24,
|
| 7 |
+
"assmod": 23,
|
| 8 |
+
"attr": 28,
|
| 9 |
+
"ba": 42,
|
| 10 |
+
"cc": 11,
|
| 11 |
+
"ccomp": 26,
|
| 12 |
+
"clf": 19,
|
| 13 |
+
"comod": 35,
|
| 14 |
+
"conj": 8,
|
| 15 |
+
"cop": 37,
|
| 16 |
+
"cpm": 13,
|
| 17 |
+
"dep": 1,
|
| 18 |
+
"det": 31,
|
| 19 |
+
"dobj": 21,
|
| 20 |
+
"dvpm": 41,
|
| 21 |
+
"dvpmod": 40,
|
| 22 |
+
"etc": 17,
|
| 23 |
+
"lccomp": 36,
|
| 24 |
+
"lobj": 15,
|
| 25 |
+
"loc": 16,
|
| 26 |
+
"mmod": 30,
|
| 27 |
+
"neg": 33,
|
| 28 |
+
"nn": 4,
|
| 29 |
+
"nsubj": 9,
|
| 30 |
+
"nsubjpass": 43,
|
| 31 |
+
"nummod": 18,
|
| 32 |
+
"ordmod": 39,
|
| 33 |
+
"pass": 44,
|
| 34 |
+
"pccomp": 10,
|
| 35 |
+
"plmod": 27,
|
| 36 |
+
"pobj": 14,
|
| 37 |
+
"prep": 7,
|
| 38 |
+
"prnmod": 6,
|
| 39 |
+
"prtmod": 32,
|
| 40 |
+
"punct": 2,
|
| 41 |
+
"range": 25,
|
| 42 |
+
"rcmod": 12,
|
| 43 |
+
"rcomp": 38,
|
| 44 |
+
"tmod": 5,
|
| 45 |
+
"top": 34,
|
| 46 |
+
"vmod": 29,
|
| 47 |
+
"xsubj": 45
|
| 48 |
+
}
|
vocabs/dep_kind_vocab.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"non-special": 1,
|
| 3 |
+
"null": 0,
|
| 4 |
+
"special:<punct>": 2
|
| 5 |
+
}
|
vocabs/dep_special_node_vocab.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<punct>": 0
|
| 3 |
+
}
|
vocabs/dropped_unknown_noisy_label_counts.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocabs/ref_path_vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|