Datasets:
Tasks:
Text Classification
Formats:
parquet
Size:
1M - 10M
Tags:
universal-dependencies
genre-classification
sentence-classification
multilingual
linguistics
derived-annotations
License:
Publish ud2.17-full-ud-v1.0.2
Browse files- README.md +28 -20
- all_genres.parquet +2 -2
- release_manifest.json +22 -19
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pretty_name: UD Genre Labels 2.
|
| 3 |
license: apache-2.0
|
| 4 |
annotations_creators:
|
| 5 |
- machine-generated
|
|
@@ -22,7 +22,7 @@ tags:
|
|
| 22 |
size_categories:
|
| 23 |
- 1M<n<10M
|
| 24 |
---
|
| 25 |
-
# UD Genre Labels ud2.
|
| 26 |
|
| 27 |
Derived sentence-level genre annotations for the [universal-dependencies/universal_dependencies](https://huggingface.co/datasets/universal-dependencies/universal_dependencies) Universal Dependencies dataset.
|
| 28 |
These labels are produced by the bootstrapping pipeline and are not authoritative gold annotations.
|
|
@@ -46,7 +46,7 @@ from datasets import load_dataset
|
|
| 46 |
|
| 47 |
genres = load_dataset(
|
| 48 |
"commul/ud_genre",
|
| 49 |
-
revision="2.
|
| 50 |
split="train",
|
| 51 |
)
|
| 52 |
```
|
|
@@ -58,7 +58,7 @@ For immutable provenance, load the artifact tag:
|
|
| 58 |
```python
|
| 59 |
genres = load_dataset(
|
| 60 |
"commul/ud_genre",
|
| 61 |
-
revision="artifact/ud2.
|
| 62 |
split="train",
|
| 63 |
)
|
| 64 |
```
|
|
@@ -69,14 +69,14 @@ from datasets import load_dataset
|
|
| 69 |
|
| 70 |
genres = load_dataset(
|
| 71 |
"commul/ud_genre",
|
| 72 |
-
revision="2.
|
| 73 |
split="train",
|
| 74 |
)
|
| 75 |
|
| 76 |
ud = load_dataset(
|
| 77 |
"universal-dependencies/universal_dependencies",
|
| 78 |
"en_ewt",
|
| 79 |
-
revision="2.
|
| 80 |
split="train",
|
| 81 |
)
|
| 82 |
|
|
@@ -91,26 +91,26 @@ genre = genre_by_key.get(("en_ewt", "train", first["sent_id"]))
|
|
| 91 |
```
|
| 92 |
|
| 93 |
## Release Identity
|
| 94 |
-
- Artifact ID: `ud2.
|
| 95 |
-
- HF branches: `2.
|
| 96 |
-
- HF tag: `artifact/ud2.
|
| 97 |
- HF default branch: `main`
|
| 98 |
- HF repo: `commul/ud_genre`
|
| 99 |
-
- UD version: `2.
|
| 100 |
- Scope: `full`
|
| 101 |
- Label schema: `ud`
|
| 102 |
-
- Artifact version: `v1.0.
|
| 103 |
- Source repo: `https://github.com/bot-zen/ud-genre-bootstrap`
|
| 104 |
-
- Source commit: `
|
| 105 |
- Source branch: `release/v1`
|
| 106 |
-
- Source tag: `source/ud2.
|
| 107 |
-
- Config SHA-256: `
|
| 108 |
|
| 109 |
## Release Configuration
|
| 110 |
-
- Config: `2.
|
| 111 |
-
- Run ID: `ud-v2.
|
| 112 |
- UD source: `hf://universal-dependencies/universal_dependencies`
|
| 113 |
-
- UD source revision: `2.
|
| 114 |
- Embeddings: `intfloat/multilingual-e5-large` / `mean`
|
| 115 |
- Clustering: `gmm`
|
| 116 |
- Reference weighting: `sentence_count`
|
|
@@ -127,10 +127,18 @@ genre = genre_by_key.get(("en_ewt", "train", first["sent_id"]))
|
|
| 127 |
- End-user quality is tracked with sentence-level generalization metrics, which are stricter and more directly relevant for downstream annotation use.
|
| 128 |
- Known limitation: some paper-era treebank genre inventories are not fully recoverable from current sentence-level metadata subsets.
|
| 129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
## Release Summary
|
| 131 |
-
- Total sentences: `
|
| 132 |
-
- Labeled sentences: `
|
| 133 |
-
- Genres exported: `
|
| 134 |
- Methods exported: `bootstrap-inferred, single-genre-treebank, virtual-split`
|
| 135 |
|
| 136 |
## Source Mapping Files
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: UD Genre Labels 2.17
|
| 3 |
license: apache-2.0
|
| 4 |
annotations_creators:
|
| 5 |
- machine-generated
|
|
|
|
| 22 |
size_categories:
|
| 23 |
- 1M<n<10M
|
| 24 |
---
|
| 25 |
+
# UD Genre Labels ud2.17-full-ud-v1.0.2
|
| 26 |
|
| 27 |
Derived sentence-level genre annotations for the [universal-dependencies/universal_dependencies](https://huggingface.co/datasets/universal-dependencies/universal_dependencies) Universal Dependencies dataset.
|
| 28 |
These labels are produced by the bootstrapping pipeline and are not authoritative gold annotations.
|
|
|
|
| 46 |
|
| 47 |
genres = load_dataset(
|
| 48 |
"commul/ud_genre",
|
| 49 |
+
revision="2.17",
|
| 50 |
split="train",
|
| 51 |
)
|
| 52 |
```
|
|
|
|
| 58 |
```python
|
| 59 |
genres = load_dataset(
|
| 60 |
"commul/ud_genre",
|
| 61 |
+
revision="artifact/ud2.17-full-ud-v1.0.2",
|
| 62 |
split="train",
|
| 63 |
)
|
| 64 |
```
|
|
|
|
| 69 |
|
| 70 |
genres = load_dataset(
|
| 71 |
"commul/ud_genre",
|
| 72 |
+
revision="2.17",
|
| 73 |
split="train",
|
| 74 |
)
|
| 75 |
|
| 76 |
ud = load_dataset(
|
| 77 |
"universal-dependencies/universal_dependencies",
|
| 78 |
"en_ewt",
|
| 79 |
+
revision="2.17",
|
| 80 |
split="train",
|
| 81 |
)
|
| 82 |
|
|
|
|
| 91 |
```
|
| 92 |
|
| 93 |
## Release Identity
|
| 94 |
+
- Artifact ID: `ud2.17-full-ud-v1.0.2`
|
| 95 |
+
- HF branches: `2.17`
|
| 96 |
+
- HF tag: `artifact/ud2.17-full-ud-v1.0.2`
|
| 97 |
- HF default branch: `main`
|
| 98 |
- HF repo: `commul/ud_genre`
|
| 99 |
+
- UD version: `2.17`
|
| 100 |
- Scope: `full`
|
| 101 |
- Label schema: `ud`
|
| 102 |
+
- Artifact version: `v1.0.2`
|
| 103 |
- Source repo: `https://github.com/bot-zen/ud-genre-bootstrap`
|
| 104 |
+
- Source commit: `f8cf243da3528697cbc2c2c164f8d033450e29eb`
|
| 105 |
- Source branch: `release/v1`
|
| 106 |
+
- Source tag: `source/ud2.17-full-ud-v1.0.2`
|
| 107 |
+
- Config SHA-256: `00155652514b09503cd50e187f69ba1fa86a59fc836bcd0a2e37796cfca9fe98`
|
| 108 |
|
| 109 |
## Release Configuration
|
| 110 |
+
- Config: `2.17-community-release`
|
| 111 |
+
- Run ID: `ud-v2.17-community-release-v1.0.2`
|
| 112 |
- UD source: `hf://universal-dependencies/universal_dependencies`
|
| 113 |
+
- UD source revision: `2.17`
|
| 114 |
- Embeddings: `intfloat/multilingual-e5-large` / `mean`
|
| 115 |
- Clustering: `gmm`
|
| 116 |
- Reference weighting: `sentence_count`
|
|
|
|
| 127 |
- End-user quality is tracked with sentence-level generalization metrics, which are stricter and more directly relevant for downstream annotation use.
|
| 128 |
- Known limitation: some paper-era treebank genre inventories are not fully recoverable from current sentence-level metadata subsets.
|
| 129 |
|
| 130 |
+
## Locked Baseline
|
| 131 |
+
- Overall Acc (Micro-F1): `0.3333`
|
| 132 |
+
- Macro-F1: `0.2636`
|
| 133 |
+
- Purity (PUR): `0.5568`
|
| 134 |
+
- Agreement (AGR): `0.5922`
|
| 135 |
+
- Overlap Error (ΔBC): `0.0589`
|
| 136 |
+
- Source: `configs/baselines/2.17-all_focused-generalization-e5_large-k10-anchor_combined.json`
|
| 137 |
+
|
| 138 |
## Release Summary
|
| 139 |
+
- Total sentences: `2198282`
|
| 140 |
+
- Labeled sentences: `2198282`
|
| 141 |
+
- Genres exported: `18`
|
| 142 |
- Methods exported: `bootstrap-inferred, single-genre-treebank, virtual-split`
|
| 143 |
|
| 144 |
## Source Mapping Files
|
all_genres.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b66529dd1291bf0f07e06f5bbaf542efc0d7828777f7f147237fa75356a5805
|
| 3 |
+
size 12197280
|
release_manifest.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
| 1 |
{
|
| 2 |
-
"artifact_id": "ud2.
|
| 3 |
-
"ud_version": "2.
|
| 4 |
"scope": "full",
|
| 5 |
"label_schema": "ud",
|
| 6 |
-
"artifact_version": "v1.0.
|
| 7 |
-
"artifact_version_normalized": "v1.0.
|
| 8 |
"hf_repo": "commul/ud_genre",
|
| 9 |
"hf_branches": [
|
| 10 |
-
"2.
|
| 11 |
],
|
| 12 |
-
"hf_tag": "artifact/ud2.
|
| 13 |
"hf_default_branch": "main",
|
| 14 |
"hf_revisions": [
|
| 15 |
-
"2.
|
| 16 |
],
|
| 17 |
"source_repo": "git@github.com:bot-zen/ud-genre-bootstrap.git",
|
| 18 |
-
"source_commit": "
|
| 19 |
"source_branch": "release/v1",
|
| 20 |
-
"source_tag": "source/ud2.
|
| 21 |
-
"git_commit": "
|
| 22 |
"git_branch": "release/v1",
|
| 23 |
-
"git_tag": "source/ud2.
|
| 24 |
-
"config_name": "2.
|
| 25 |
-
"run_id": "ud-v2.
|
| 26 |
"ud_source": "hf://universal-dependencies/universal_dependencies",
|
| 27 |
-
"ud_source_revision": "2.
|
| 28 |
-
"config_hash": "
|
| 29 |
"mapping_file_hashes": {
|
| 30 |
"mappings/genre_mappings.json": "7efe08d31be2514cc3e7b712012b202442134305139ccfb255f6a4039cc79138",
|
| 31 |
"mappings/metadata_patterns.json": "13aff0b950c8ccb7a3af005cd3140283f02544480837d983133f66889c5f9e17",
|
|
@@ -33,10 +33,13 @@
|
|
| 33 |
},
|
| 34 |
"source_files": {
|
| 35 |
"config": {
|
| 36 |
-
"path": "configs/2.
|
| 37 |
-
"sha256": "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
},
|
| 39 |
-
"baseline_summary": null,
|
| 40 |
"mappings": [
|
| 41 |
{
|
| 42 |
"path": "configs/genre_mappings.json",
|
|
@@ -84,7 +87,7 @@
|
|
| 84 |
"cluster_assignments": "clusters/cluster_assignments.parquet",
|
| 85 |
"cluster_statistics": "clusters/cluster_statistics.json",
|
| 86 |
"config_snapshot": "config.snapshot.yaml",
|
| 87 |
-
"baseline_summary":
|
| 88 |
"dataset_card": "README.md",
|
| 89 |
"release_manifest": "release_manifest.json"
|
| 90 |
},
|
|
|
|
| 1 |
{
|
| 2 |
+
"artifact_id": "ud2.17-full-ud-v1.0.2",
|
| 3 |
+
"ud_version": "2.17",
|
| 4 |
"scope": "full",
|
| 5 |
"label_schema": "ud",
|
| 6 |
+
"artifact_version": "v1.0.2",
|
| 7 |
+
"artifact_version_normalized": "v1.0.2",
|
| 8 |
"hf_repo": "commul/ud_genre",
|
| 9 |
"hf_branches": [
|
| 10 |
+
"2.17"
|
| 11 |
],
|
| 12 |
+
"hf_tag": "artifact/ud2.17-full-ud-v1.0.2",
|
| 13 |
"hf_default_branch": "main",
|
| 14 |
"hf_revisions": [
|
| 15 |
+
"2.17"
|
| 16 |
],
|
| 17 |
"source_repo": "git@github.com:bot-zen/ud-genre-bootstrap.git",
|
| 18 |
+
"source_commit": "f8cf243da3528697cbc2c2c164f8d033450e29eb",
|
| 19 |
"source_branch": "release/v1",
|
| 20 |
+
"source_tag": "source/ud2.17-full-ud-v1.0.2",
|
| 21 |
+
"git_commit": "f8cf243da3528697cbc2c2c164f8d033450e29eb",
|
| 22 |
"git_branch": "release/v1",
|
| 23 |
+
"git_tag": "source/ud2.17-full-ud-v1.0.2",
|
| 24 |
+
"config_name": "2.17-community-release",
|
| 25 |
+
"run_id": "ud-v2.17-community-release-v1.0.2",
|
| 26 |
"ud_source": "hf://universal-dependencies/universal_dependencies",
|
| 27 |
+
"ud_source_revision": "2.17",
|
| 28 |
+
"config_hash": "00155652514b09503cd50e187f69ba1fa86a59fc836bcd0a2e37796cfca9fe98",
|
| 29 |
"mapping_file_hashes": {
|
| 30 |
"mappings/genre_mappings.json": "7efe08d31be2514cc3e7b712012b202442134305139ccfb255f6a4039cc79138",
|
| 31 |
"mappings/metadata_patterns.json": "13aff0b950c8ccb7a3af005cd3140283f02544480837d983133f66889c5f9e17",
|
|
|
|
| 33 |
},
|
| 34 |
"source_files": {
|
| 35 |
"config": {
|
| 36 |
+
"path": "configs/2.17-community-release.yaml",
|
| 37 |
+
"sha256": "00155652514b09503cd50e187f69ba1fa86a59fc836bcd0a2e37796cfca9fe98"
|
| 38 |
+
},
|
| 39 |
+
"baseline_summary": {
|
| 40 |
+
"path": "configs/baselines/2.17-all_focused-generalization-e5_large-k10-anchor_combined.json",
|
| 41 |
+
"sha256": "799b5b43209c6d669a46750a520a55de1cebb69052363c986aed0f836aec88e1"
|
| 42 |
},
|
|
|
|
| 43 |
"mappings": [
|
| 44 |
{
|
| 45 |
"path": "configs/genre_mappings.json",
|
|
|
|
| 87 |
"cluster_assignments": "clusters/cluster_assignments.parquet",
|
| 88 |
"cluster_statistics": "clusters/cluster_statistics.json",
|
| 89 |
"config_snapshot": "config.snapshot.yaml",
|
| 90 |
+
"baseline_summary": "evaluation/baseline_summary.json",
|
| 91 |
"dataset_card": "README.md",
|
| 92 |
"release_manifest": "release_manifest.json"
|
| 93 |
},
|