Import from FatimahEmadEldin/KnowledgeGraphEval-2026-AdaptNER-Experiments
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +171 -0
- environment/pip_freeze.txt +642 -0
- evaluation/compute_perdomain.py +92 -0
- evaluation/compute_pertype.py +116 -0
- evaluation/perdomain_results.json +214 -0
- evaluation/pertype_results.json +643 -0
- experiments/EXP-001_AraBERTv02_Flat/final_metrics.json +75 -0
- experiments/EXP-001_AraBERTv02_Flat/repro_bundle.json +137 -0
- experiments/EXP-001_AraBERTv02_Nested/final_metrics.json +75 -0
- experiments/EXP-001_AraBERTv02_Nested/repro_bundle.json +140 -0
- experiments/EXP-001_AraBERTv02_Nested/test_metrics.json +74 -0
- experiments/EXP-002_MARBERTv2_Flat/config.json +124 -0
- experiments/EXP-002_MARBERTv2_Flat/final_metrics.json +75 -0
- experiments/EXP-002_MARBERTv2_Flat/repro_bundle.json +139 -0
- experiments/EXP-002_MARBERTv2_Flat/test_metrics.json +75 -0
- experiments/EXP-002_MARBERTv2_Flat/test_predictions_conll.txt +0 -0
- experiments/EXP-002_MARBERTv2_Nested/final_metrics.json +75 -0
- experiments/EXP-002_MARBERTv2_Nested/repro_bundle.json +140 -0
- experiments/EXP-002_MARBERTv2_Nested/test_metrics.json +74 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted-last3_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted-last3_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-unweighted_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-unweighted_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-weighted_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/arbertv2-weighted_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/camelbert-mix_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/camelbert-mix_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/marbert_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/marbert_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/marbertv2_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/marbertv2_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/mdeberta-v3-base_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/mdeberta-v3-base_submission.zip +3 -0
- konooz_dev_predictions/backbone_sweep/xlm-roberta-large_pred_v1.txt +0 -0
- konooz_dev_predictions/backbone_sweep/xlm-roberta-large_submission.zip +3 -0
- konooz_dev_predictions/ensembles_and_llm/submission_ensemble_top3.zip +3 -0
- konooz_dev_predictions/ensembles_and_llm/submission_ensemble_top4.zip +3 -0
- konooz_dev_predictions/ensembles_and_llm/submission_qwen3b_hosted.zip +3 -0
- konooz_dev_predictions/namaa_wojood_runs/exp001_flat_konooz/predictions/namaa_pred_flat.txt +0 -0
- konooz_dev_predictions/namaa_wojood_runs/exp001_flat_konooz/submission_flat.zip +3 -0
- konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/predictions/namaa_pred_v1.txt +0 -0
- konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/submission.zip +3 -0
- konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/submission_manifest.json +40 -0
- konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_ensemble.txt +0 -0
- konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_flat_arabertv02.txt +0 -0
- konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_nested_arabertv02.txt +0 -0
- konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_nested_marbertv2.txt +0 -0
- konooz_dev_predictions/nama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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: ar
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- arabic
|
| 6 |
+
- ner
|
| 7 |
+
- nested-ner
|
| 8 |
+
- wojood
|
| 9 |
+
- konooz
|
| 10 |
+
- knowledgegrapheval-2026
|
| 11 |
+
- arabicnlp-2026
|
| 12 |
+
- adaptner
|
| 13 |
+
- experiments
|
| 14 |
+
- reproducibility
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# NAMAA Community — KnowledgeGraphEval 2026 AdaptNER: Experiments
|
| 18 |
+
|
| 19 |
+
**KnowledgeGraphEval 2026 · Subtask 1 (AdaptNER) · ArabicNLP 2026**
|
| 20 |
+
|
| 21 |
+
This is the experiment record behind the NAMAA Community system paper. It holds the training
|
| 22 |
+
and inference notebooks, the per-run metrics and configurations, the Konooz development-set
|
| 23 |
+
predictions and submissions for every system in the paper, the evaluation scripts, and the
|
| 24 |
+
software environment.
|
| 25 |
+
|
| 26 |
+
The fine-tuned weights are in their own model repositories:
|
| 27 |
+
|
| 28 |
+
| Checkpoint | Formulation | Wojood val F1 | Wojood test F1 | Konooz dev F1 |
|
| 29 |
+
|---|---|---:|---:|---:|
|
| 30 |
+
| [`KnowledgeGraphEval-2026-AdaptNER-AraBERTv02-Nested`](https://huggingface.co/NAMAA-Space/KnowledgeGraphEval-2026-AdaptNER-AraBERTv02-Nested) | nested, multi-label | 0.9245 | **0.9284** | **0.73** |
|
| 31 |
+
| [`KnowledgeGraphEval-2026-AdaptNER-MARBERTv2-Nested`](https://huggingface.co/NAMAA-Space/KnowledgeGraphEval-2026-AdaptNER-MARBERTv2-Nested) | nested, multi-label | 0.9071 | 0.9092 | 0.67 |
|
| 32 |
+
| [`KnowledgeGraphEval-2026-AdaptNER-AraBERTv02-Flat`](https://huggingface.co/NAMAA-Space/KnowledgeGraphEval-2026-AdaptNER-AraBERTv02-Flat) | flat, single-label | 0.9003 | not recorded | 0.69 |
|
| 33 |
+
|
| 34 |
+
All scores are entity-level strict micro-F1.
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## Repository layout
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
├── experiments/ per-run metrics + full config (repro_bundle.json)
|
| 42 |
+
│ ├── EXP-001_AraBERTv02_Flat/
|
| 43 |
+
│ ├── EXP-001_AraBERTv02_Nested/
|
| 44 |
+
│ ├── EXP-002_MARBERTv2_Flat/ weights not released; test predictions kept here
|
| 45 |
+
│ └── EXP-002_MARBERTv2_Nested/
|
| 46 |
+
├── notebooks/
|
| 47 |
+
│ ├── training/ Wojood fine-tuning, one notebook per run
|
| 48 |
+
│ ├── konooz_dev_inference/ load weights from the Hub, predict Konooz dev, write submission
|
| 49 |
+
│ ├── blind_test_inference/ blind-test inference for the ARBERTv2 (unweighted) system
|
| 50 |
+
│ └── eda/ Wojood + Konooz exploratory analysis
|
| 51 |
+
├── konooz_dev_predictions/
|
| 52 |
+
│ ├── namaa_wojood_runs/ EXP-001/002 predictions + submission zips
|
| 53 |
+
│ ├── backbone_sweep/ the nested backbone comparison (paper Table 4)
|
| 54 |
+
│ └── ensembles_and_llm/ top-3 / top-4 voting ensembles, LLM run
|
| 55 |
+
├── evaluation/ per-entity-type and per-domain scorers + results
|
| 56 |
+
├── scripts/ ensemble voting, Konooz EDA, hosted-LLM baseline
|
| 57 |
+
└── environment/pip_freeze.txt
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## 1. Wojood experiments (in-domain)
|
| 63 |
+
|
| 64 |
+
Same recipe for all four runs, taken from `repro_bundle.json`: 8 epochs, learning rate 3e-5,
|
| 65 |
+
batch 32, warmup 0.1, weight decay 0.01, AdamW, bf16, max length 256, seed 42, early-stopping
|
| 66 |
+
patience 3. The nested runs use a 42-way sigmoid head (21 types × {B, I}) with a 0.5 threshold.
|
| 67 |
+
The flat runs use a softmax BIO head.
|
| 68 |
+
|
| 69 |
+
| Run | Encoder | Formulation | Val P | Val R | **Val F1** | Test P | Test R | **Test F1** |
|
| 70 |
+
|---|---|---|---:|---:|---:|---:|---:|---:|
|
| 71 |
+
| EXP-001 | AraBERTv02 | flat | 0.8908 | 0.9101 | 0.9003 | — | — | — |
|
| 72 |
+
| EXP-001 | AraBERTv02 | **nested** | 0.9178 | 0.9313 | **0.9245** | 0.9208 | 0.9362 | **0.9284** |
|
| 73 |
+
| EXP-002 | MARBERTv2 | flat | 0.8876 | 0.9087 | 0.8980 | 0.8979 | 0.9171 | 0.9074 |
|
| 74 |
+
| EXP-002 | MARBERTv2 | nested | 0.9042 | 0.9100 | 0.9071 | 0.9058 | 0.9127 | 0.9092 |
|
| 75 |
+
|
| 76 |
+
The EXP-001 flat run did not log test-split metrics. Flat and nested scores are measured on
|
| 77 |
+
different variants of Wojood, so compare them as indicative only.
|
| 78 |
+
|
| 79 |
+
**Per-entity-type macro-F1 on the Wojood test split** (`evaluation/pertype_results.json`):
|
| 80 |
+
|
| 81 |
+
| | AraBERTv02 nested | MARBERTv2 nested |
|
| 82 |
+
|---|---:|---:|
|
| 83 |
+
| micro-F1 | 0.9284 | 0.9092 |
|
| 84 |
+
| **macro-F1 (21 types)** | **0.8411** | **0.5877** |
|
| 85 |
+
|
| 86 |
+
MARBERTv2 nested makes no predictions at all for `PERCENT`, `PRODUCT`, `UNIT` and `QUANTITY`,
|
| 87 |
+
so their F1 is 0.0000. These types are 0.6% of mentions, which is why a 2-point micro-F1 gap
|
| 88 |
+
becomes a 25-point macro-F1 gap. AraBERTv02 scores higher on all 21 types and on all 13
|
| 89 |
+
Wojood sub-corpora. `evaluation/compute_pertype.py` and `compute_perdomain.py` regenerate these
|
| 90 |
+
numbers from each model's `test_predictions_conll.txt`. The recomputed precision matches the
|
| 91 |
+
original scorer exactly, and micro-F1 matches it to within 0.001.
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## 2. Konooz development leaderboard (cross-domain, official)
|
| 96 |
+
|
| 97 |
+
Team results from the paper (Table 1). The best AdaptNER system ranked **1st**.
|
| 98 |
+
|
| 99 |
+
| System | Konooz dev F1 | Predictions in this repo |
|
| 100 |
+
|---|---:|---|
|
| 101 |
+
| Ensemble (top-3, weighted vote) | **0.74** | `ensembles_and_llm/submission_ensemble_top3.zip` |
|
| 102 |
+
| ARBERTv2 (unweighted) — *1st place* | **0.74** | `backbone_sweep/arbertv2-unweighted_*` |
|
| 103 |
+
| AraBERTv02, nested (EXP-001) | 0.73 | `namaa_wojood_runs/exp001_nested_konooz/` |
|
| 104 |
+
| ARBERTv2 (class-weighted) | 0.72 | `backbone_sweep/arbertv2-weighted_*` |
|
| 105 |
+
| XLM-R large | 0.71 | `backbone_sweep/xlm-roberta-large_*` |
|
| 106 |
+
| AraBERTv02, flat (EXP-001) | 0.69 | `namaa_wojood_runs/exp001_flat_konooz/` |
|
| 107 |
+
| MARBERT | 0.68 | `backbone_sweep/marbert_*` |
|
| 108 |
+
| mDeBERTa-v3 base | 0.67 | `backbone_sweep/mdeberta-v3-base_*` |
|
| 109 |
+
| MARBERTv2 | 0.67 | `backbone_sweep/marbertv2_*` |
|
| 110 |
+
| ARBERTv2 + Konooz-MLM (last-3) | 0.65 | `backbone_sweep/arbertv2-konooz-adapted-last3_*` |
|
| 111 |
+
| AraBERTv02 baseline † | 0.61 | — |
|
| 112 |
+
| Qwen3-235B (zero-shot) | 0.26 | — |
|
| 113 |
+
|
| 114 |
+
† Organiser reference baseline. The top-3 ensemble matches the best single system on
|
| 115 |
+
micro-F1 but raises macro-F1 from 0.49 to 0.55 (P = 0.75, R = 0.74).
|
| 116 |
+
|
| 117 |
+
`backbone_sweep/` also contains predictions for CAMeLBERT-mix and ARBERTv2 + Konooz-MLM (full).
|
| 118 |
+
These two runs were scored only on Wojood validation (paper Table 4) and were not submitted
|
| 119 |
+
to the Konooz leaderboard.
|
| 120 |
+
|
| 121 |
+
**Submission format:** one token per line, followed by 21 space-separated IOB2 columns in this
|
| 122 |
+
order:
|
| 123 |
+
|
| 124 |
+
```
|
| 125 |
+
CARDINAL CURR DATE EVENT FAC GPE LANGUAGE LAW LOC MONEY NORP
|
| 126 |
+
OCC ORDINAL ORG PERCENT PERS PRODUCT QUANTITY TIME UNIT WEBSITE
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## 3. Reproducing
|
| 132 |
+
|
| 133 |
+
1. Get Wojood 1.1 and the Konooz development and blind-test data from
|
| 134 |
+
[SinaLab, Birzeit University](https://sina.birzeit.edu/knowledgegraph_sharedtask2026/).
|
| 135 |
+
They are not redistributed here.
|
| 136 |
+
2. Training: run `notebooks/training/<run>.ipynb`. They were written for Google Colab (A100 or T4).
|
| 137 |
+
Each run's exact configuration and library versions are in `experiments/<run>/repro_bundle.json`.
|
| 138 |
+
3. Konooz inference: `notebooks/konooz_dev_inference/` loads the released checkpoints from the
|
| 139 |
+
Hub by name.
|
| 140 |
+
4. Ensemble: `scripts/ensemble_predictions.py` does a weighted vote over per-system prediction files.
|
| 141 |
+
|
| 142 |
+
The notebooks read the Hub token from a Colab Secret or the `HF_TOKEN` environment variable.
|
| 143 |
+
No credentials are stored in this repository.
|
| 144 |
+
|
| 145 |
+
---
|
| 146 |
+
|
| 147 |
+
## Citation
|
| 148 |
+
|
| 149 |
+
```bibtex
|
| 150 |
+
@inproceedings{namaa-knowledgegrapheval-2026,
|
| 151 |
+
title = {{NAMAA} Community at {KnowledgeGraphEval} 2026: Multi-Label Nested {NER}
|
| 152 |
+
and Entity-Pair Relation Extraction for Cross-Domain Arabic
|
| 153 |
+
Knowledge Graph Construction},
|
| 154 |
+
author = {Fathallah, Mahmoud and Zaytoon, Mohamed and Emad Eldin, Fatimah and
|
| 155 |
+
Abdelazim, Mona and Nacer, Omar},
|
| 156 |
+
booktitle = {Proceedings of the Fourth Arabic Natural Language Processing Conference
|
| 157 |
+
(ArabicNLP 2026)},
|
| 158 |
+
year = {2026},
|
| 159 |
+
address = {Budapest, Hungary},
|
| 160 |
+
publisher = {Association for Computational Linguistics}
|
| 161 |
+
}
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
The corpus citations (Wojood, Konooz) and backbone citations are in the model cards linked
|
| 165 |
+
above.
|
| 166 |
+
|
| 167 |
+
## License
|
| 168 |
+
|
| 169 |
+
Apache-2.0 covers the code, notebooks and predictions in this repository. Wojood and Konooz
|
| 170 |
+
remain under SinaLab's original terms. Prediction files contain corpus tokens, so follow those
|
| 171 |
+
terms if you redistribute them.
|
environment/pip_freeze.txt
ADDED
|
@@ -0,0 +1,642 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
absl-py==1.4.0
|
| 2 |
+
accelerate==1.14.0
|
| 3 |
+
access==1.1.10.post3
|
| 4 |
+
affine==2.4.0
|
| 5 |
+
aiofiles==25.1.0
|
| 6 |
+
aiohappyeyeballs==2.7.1
|
| 7 |
+
aiohttp==3.14.1
|
| 8 |
+
aiosignal==1.4.0
|
| 9 |
+
aiosqlite==0.22.1
|
| 10 |
+
alabaster==1.0.0
|
| 11 |
+
albucore==0.0.24
|
| 12 |
+
albumentations==2.0.8
|
| 13 |
+
ale-py==0.12.0
|
| 14 |
+
altair==5.5.0
|
| 15 |
+
annotated-doc==0.0.4
|
| 16 |
+
annotated-types==0.7.0
|
| 17 |
+
antlr4-python3-runtime==4.9.3
|
| 18 |
+
anyio==4.14.2
|
| 19 |
+
anywidget==0.9.21
|
| 20 |
+
apsw==3.53.3.1
|
| 21 |
+
apswutils==0.1.2
|
| 22 |
+
argon2-cffi==25.1.0
|
| 23 |
+
argon2-cffi-bindings==25.1.0
|
| 24 |
+
array_record==0.8.3
|
| 25 |
+
arrow==1.4.0
|
| 26 |
+
arviz==0.22.0
|
| 27 |
+
astropy==7.2.2
|
| 28 |
+
astropy-iers-data==0.2026.7.13.0.54.2
|
| 29 |
+
astunparse==1.6.3
|
| 30 |
+
atpublic==5.1
|
| 31 |
+
attrs==26.1.0
|
| 32 |
+
audioread==3.1.0
|
| 33 |
+
Authlib==1.7.2
|
| 34 |
+
autograd==1.9.1
|
| 35 |
+
babel==2.18.0
|
| 36 |
+
backcall==0.2.0
|
| 37 |
+
beartype==0.22.9
|
| 38 |
+
beautifulsoup4==4.13.5
|
| 39 |
+
betterproto==2.0.0b6
|
| 40 |
+
bigframes==2.42.0
|
| 41 |
+
bigquery-magics==0.14.0
|
| 42 |
+
bleach==6.4.0
|
| 43 |
+
blinker==1.9.0
|
| 44 |
+
blis==1.3.3
|
| 45 |
+
blobfile==3.2.0
|
| 46 |
+
blosc2==4.8.0
|
| 47 |
+
bokeh==3.8.2
|
| 48 |
+
Bottleneck==1.4.2
|
| 49 |
+
bqplot==0.12.47
|
| 50 |
+
branca==0.8.2
|
| 51 |
+
brotli==1.2.0
|
| 52 |
+
CacheControl==0.14.4
|
| 53 |
+
cachetools==6.2.6
|
| 54 |
+
catalogue==2.0.10
|
| 55 |
+
certifi==2026.6.17
|
| 56 |
+
cffi==2.1.0
|
| 57 |
+
chardet==5.2.0
|
| 58 |
+
charset-normalizer==3.4.9
|
| 59 |
+
clarabel==0.11.1
|
| 60 |
+
click==8.4.2
|
| 61 |
+
cligj==0.7.2
|
| 62 |
+
cloudpathlib==0.24.0
|
| 63 |
+
cloudpickle==3.1.2
|
| 64 |
+
cmake==3.31.10
|
| 65 |
+
cmdstanpy==1.3.0
|
| 66 |
+
colorcet==3.2.1
|
| 67 |
+
colorlover==0.3.0
|
| 68 |
+
community==1.0.0b1
|
| 69 |
+
confection==1.3.3
|
| 70 |
+
cons==0.4.7
|
| 71 |
+
contourpy==1.3.3
|
| 72 |
+
cramjam==2.11.0
|
| 73 |
+
cryptography==49.0.0
|
| 74 |
+
cufflinks==0.17.3
|
| 75 |
+
curl_cffi==0.15.0
|
| 76 |
+
cvxopt==1.3.2
|
| 77 |
+
cvxpy==1.6.7
|
| 78 |
+
cycler==0.12.1
|
| 79 |
+
cyipopt==1.5.0
|
| 80 |
+
cymem==2.0.13
|
| 81 |
+
Cython==3.0.12
|
| 82 |
+
dask==2026.7.0
|
| 83 |
+
dataproc-spark-connect==1.1.0
|
| 84 |
+
datasets==4.0.0
|
| 85 |
+
db-dtypes==1.7.1
|
| 86 |
+
dbus-python==1.2.18
|
| 87 |
+
debugpy==1.8.15
|
| 88 |
+
decorator==4.4.2
|
| 89 |
+
defusedxml==0.7.1
|
| 90 |
+
deprecation==2.1.0
|
| 91 |
+
diffusers==0.39.0
|
| 92 |
+
dill==0.3.8
|
| 93 |
+
distro==1.9.0
|
| 94 |
+
dlib==19.24.6
|
| 95 |
+
dm-tree==0.1.10
|
| 96 |
+
docstring_parser==0.18.0
|
| 97 |
+
docutils==0.21.2
|
| 98 |
+
dopamine_rl==4.1.2
|
| 99 |
+
duckdb==1.3.2
|
| 100 |
+
earthengine-api==1.7.35
|
| 101 |
+
easydict==1.13
|
| 102 |
+
editdistance==0.8.1
|
| 103 |
+
eerepr==0.1.2
|
| 104 |
+
einops==0.8.2
|
| 105 |
+
en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl#sha256=1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85
|
| 106 |
+
entrypoints==0.4
|
| 107 |
+
esda==2.9.0
|
| 108 |
+
et_xmlfile==2.0.0
|
| 109 |
+
etils==1.14.0
|
| 110 |
+
etuples==0.3.10
|
| 111 |
+
Farama-Notifications==0.0.6
|
| 112 |
+
fastai==2.8.7
|
| 113 |
+
fastapi==0.139.0
|
| 114 |
+
fastcore==2.0.5
|
| 115 |
+
fastdownload==0.0.7
|
| 116 |
+
fastjsonschema==2.21.2
|
| 117 |
+
fastlite==0.2.4
|
| 118 |
+
fastprogress==1.1.6
|
| 119 |
+
fasttransform==0.0.2
|
| 120 |
+
filelock==3.29.7
|
| 121 |
+
firebase-admin==6.9.0
|
| 122 |
+
Flask==3.1.3
|
| 123 |
+
flatbuffers==25.12.19
|
| 124 |
+
flax==0.11.2
|
| 125 |
+
folium==0.20.0
|
| 126 |
+
fonttools==4.63.0
|
| 127 |
+
fqdn==1.5.1
|
| 128 |
+
frozendict==2.4.7
|
| 129 |
+
frozenlist==1.8.0
|
| 130 |
+
fsspec==2025.3.0
|
| 131 |
+
future==1.0.0
|
| 132 |
+
gast==0.7.0
|
| 133 |
+
gcsfs==2025.3.0
|
| 134 |
+
GDAL==3.8.4
|
| 135 |
+
gdown==5.2.2
|
| 136 |
+
geemap==0.38.3
|
| 137 |
+
geocoder==1.38.1
|
| 138 |
+
geographiclib==2.1
|
| 139 |
+
geopandas==1.1.4
|
| 140 |
+
geopy==2.4.1
|
| 141 |
+
giddy==2.3.6
|
| 142 |
+
gin-config==0.5.0
|
| 143 |
+
gitdb==4.0.12
|
| 144 |
+
GitPython==3.1.51
|
| 145 |
+
glob2==0.7
|
| 146 |
+
google==3.0.0
|
| 147 |
+
google-adk==2.4.0
|
| 148 |
+
google-ai-generativelanguage==0.6.15
|
| 149 |
+
google-api-core==2.30.3
|
| 150 |
+
google-api-python-client==2.198.0
|
| 151 |
+
google-auth==2.49.0
|
| 152 |
+
google-auth-httplib2==0.4.0
|
| 153 |
+
google-auth-oauthlib==1.4.0
|
| 154 |
+
google-cloud-bigquery==3.42.2
|
| 155 |
+
google-cloud-bigquery-connection==1.22.0
|
| 156 |
+
google-cloud-bigquery-storage==2.39.0
|
| 157 |
+
google-cloud-core==2.6.0
|
| 158 |
+
google-cloud-dataproc==5.28.0
|
| 159 |
+
google-cloud-datastore==2.25.0
|
| 160 |
+
google-cloud-firestore==2.27.0
|
| 161 |
+
google-cloud-functions==1.24.0
|
| 162 |
+
google-cloud-language==2.21.0
|
| 163 |
+
google-cloud-monitoring==2.31.0
|
| 164 |
+
google-cloud-resource-manager==1.18.0
|
| 165 |
+
google-cloud-spanner==3.68.0
|
| 166 |
+
google-cloud-storage==3.13.0
|
| 167 |
+
google-cloud-translate==3.27.0
|
| 168 |
+
google-colab @ file:///colabtools/dist/google_colab-1.0.0.tar.gz
|
| 169 |
+
google-crc32c==1.8.0
|
| 170 |
+
google-genai==2.11.0
|
| 171 |
+
google-generativeai==0.8.6
|
| 172 |
+
google-pasta==0.2.0
|
| 173 |
+
google-resumable-media==2.10.0
|
| 174 |
+
googleapis-common-protos==1.75.0
|
| 175 |
+
googledrivedownloader==1.1.0
|
| 176 |
+
gradio==6.20.0
|
| 177 |
+
gradio_client==2.5.0
|
| 178 |
+
grain==0.2.18
|
| 179 |
+
graphviz==0.21
|
| 180 |
+
greenlet==3.5.3
|
| 181 |
+
groovy==0.1.2
|
| 182 |
+
grpc-google-iam-v1==0.14.4
|
| 183 |
+
grpc-interceptor==0.15.4
|
| 184 |
+
grpcio==1.82.1
|
| 185 |
+
grpcio-status==1.71.2
|
| 186 |
+
grpclib==0.4.9
|
| 187 |
+
gspread==6.2.1
|
| 188 |
+
gspread-dataframe==4.0.0
|
| 189 |
+
gym==0.25.2
|
| 190 |
+
gym-notices==0.1.0
|
| 191 |
+
gymnasium==1.3.0
|
| 192 |
+
h11==0.16.0
|
| 193 |
+
h2==4.3.0
|
| 194 |
+
h5netcdf==1.8.1
|
| 195 |
+
h5py==3.16.0
|
| 196 |
+
hdbscan==0.8.44
|
| 197 |
+
hf-gradio==0.4.1
|
| 198 |
+
hf-xet==1.5.1
|
| 199 |
+
highspy==1.15.1
|
| 200 |
+
holidays==0.100
|
| 201 |
+
holoviews==1.23.1
|
| 202 |
+
hpack==4.2.0
|
| 203 |
+
html5lib==1.1
|
| 204 |
+
httpcore==1.0.9
|
| 205 |
+
httpcore2==2.5.0
|
| 206 |
+
httpimport==1.4.1
|
| 207 |
+
httplib2==0.32.0
|
| 208 |
+
httptools==0.8.0
|
| 209 |
+
httpx==0.28.1
|
| 210 |
+
httpx2==2.5.0
|
| 211 |
+
huggingface_hub==1.24.0
|
| 212 |
+
humanize==4.16.0
|
| 213 |
+
hyperframe==6.1.0
|
| 214 |
+
hyperopt==0.2.7
|
| 215 |
+
ibis-framework==9.5.0
|
| 216 |
+
idna==3.18
|
| 217 |
+
ImageIO==2.37.3
|
| 218 |
+
imageio-ffmpeg==0.6.0
|
| 219 |
+
imagesize==2.0.0
|
| 220 |
+
imbalanced-learn==0.14.2
|
| 221 |
+
immutabledict==4.3.1
|
| 222 |
+
importlib_metadata==9.0.0
|
| 223 |
+
importlib_resources==7.1.0
|
| 224 |
+
imutils==0.5.4
|
| 225 |
+
inequality==1.1.2
|
| 226 |
+
inflect==7.5.0
|
| 227 |
+
iniconfig==2.3.0
|
| 228 |
+
intel-cmplr-lib-ur==2025.3.3
|
| 229 |
+
intel-openmp==2025.3.3
|
| 230 |
+
ipyevents==2.0.4
|
| 231 |
+
ipyfilechooser==0.6.0
|
| 232 |
+
ipykernel==6.17.1
|
| 233 |
+
ipyleaflet==0.20.0
|
| 234 |
+
ipyparallel==8.8.0
|
| 235 |
+
ipython==7.34.0
|
| 236 |
+
ipython-genutils==0.2.0
|
| 237 |
+
ipython-sql==0.5.0
|
| 238 |
+
ipywidgets==7.7.1
|
| 239 |
+
isoduration==20.11.0
|
| 240 |
+
itsdangerous==2.2.0
|
| 241 |
+
jaraco.classes==3.4.0
|
| 242 |
+
jaraco.context==6.1.2
|
| 243 |
+
jaraco.functools==4.5.0
|
| 244 |
+
jax==0.7.2
|
| 245 |
+
jaxlib==0.7.2
|
| 246 |
+
jeepney==0.9.0
|
| 247 |
+
jieba==0.42.1
|
| 248 |
+
Jinja2==3.1.6
|
| 249 |
+
jiter==0.16.0
|
| 250 |
+
joblib==1.5.3
|
| 251 |
+
joserfc==1.7.3
|
| 252 |
+
jsonpatch==1.33
|
| 253 |
+
jsonpickle==4.1.2
|
| 254 |
+
jsonpointer==3.1.1
|
| 255 |
+
jsonschema==4.26.0
|
| 256 |
+
jsonschema-specifications==2025.9.1
|
| 257 |
+
jupyter-console==6.6.3
|
| 258 |
+
jupyter-events==0.12.1
|
| 259 |
+
jupyter-leaflet==0.20.0
|
| 260 |
+
jupyter_client==7.4.9
|
| 261 |
+
jupyter_core==5.9.1
|
| 262 |
+
jupyter_kernel_gateway @ git+https://github.com/googlecolab/kernel_gateway@b134e9945df25c2dcb98ade9129399be10788671
|
| 263 |
+
jupyter_server==2.20.0
|
| 264 |
+
jupyter_server_terminals==0.5.4
|
| 265 |
+
jupyterlab_pygments==0.3.0
|
| 266 |
+
jupyterlab_widgets==3.0.16
|
| 267 |
+
jupytext==1.19.4
|
| 268 |
+
kaggle==2.0.2
|
| 269 |
+
kagglehub==1.0.2
|
| 270 |
+
kagglesdk==0.1.23
|
| 271 |
+
keras==3.13.2
|
| 272 |
+
keras-hub==0.26.0
|
| 273 |
+
keras-nlp==0.26.0
|
| 274 |
+
keyring==25.7.0
|
| 275 |
+
keyrings.google-artifactregistry-auth==1.1.2
|
| 276 |
+
kiwisolver==1.5.0
|
| 277 |
+
langchain==1.3.13
|
| 278 |
+
langchain-core==1.4.9
|
| 279 |
+
langchain-protocol==0.0.18
|
| 280 |
+
langgraph==1.2.9
|
| 281 |
+
langgraph-checkpoint==4.1.1
|
| 282 |
+
langgraph-prebuilt==1.1.0
|
| 283 |
+
langgraph-sdk==0.4.2
|
| 284 |
+
langsmith==0.10.2
|
| 285 |
+
lark==1.3.1
|
| 286 |
+
launchpadlib==1.10.16
|
| 287 |
+
lazr.restfulclient==0.14.4
|
| 288 |
+
lazr.uri==1.0.6
|
| 289 |
+
lazy-loader==0.5
|
| 290 |
+
libclang==18.1.1
|
| 291 |
+
libpysal==4.14.1
|
| 292 |
+
librosa==0.11.0
|
| 293 |
+
lightgbm==4.6.0
|
| 294 |
+
linkify-it-py==2.1.0
|
| 295 |
+
llvmlite==0.43.0
|
| 296 |
+
locket==1.0.0
|
| 297 |
+
logical-unification==0.4.7
|
| 298 |
+
lxml==6.1.1
|
| 299 |
+
Mako==1.1.3
|
| 300 |
+
mapclassify==2.10.0
|
| 301 |
+
Markdown==3.10.2
|
| 302 |
+
markdown-it-py==4.2.0
|
| 303 |
+
MarkupSafe==3.0.3
|
| 304 |
+
matplotlib==3.10.0
|
| 305 |
+
matplotlib-inline==0.2.2
|
| 306 |
+
matplotlib-venn==1.1.2
|
| 307 |
+
mdit-py-plugins==0.6.1
|
| 308 |
+
mdurl==0.1.2
|
| 309 |
+
mgwr==2.2.1
|
| 310 |
+
miniKanren==1.0.5
|
| 311 |
+
missingno==0.5.2
|
| 312 |
+
mistune==3.3.3
|
| 313 |
+
mizani==0.13.5
|
| 314 |
+
mkl==2025.3.1
|
| 315 |
+
ml_dtypes==0.5.4
|
| 316 |
+
mlxtend==0.23.4
|
| 317 |
+
mmh3==5.2.1
|
| 318 |
+
momepy==0.11.0
|
| 319 |
+
more-itertools==10.8.0
|
| 320 |
+
moviepy==1.0.3
|
| 321 |
+
mpmath==1.3.0
|
| 322 |
+
msgpack==1.2.1
|
| 323 |
+
multidict==6.7.1
|
| 324 |
+
multipledispatch==1.0.0
|
| 325 |
+
multiprocess==0.70.16
|
| 326 |
+
multitasking==0.0.13
|
| 327 |
+
murmurhash==1.0.15
|
| 328 |
+
music21==9.9.2
|
| 329 |
+
namex==0.1.0
|
| 330 |
+
narwhals==2.24.0
|
| 331 |
+
natsort==8.4.0
|
| 332 |
+
nbclassic==1.3.3
|
| 333 |
+
nbclient==0.10.4
|
| 334 |
+
nbconvert==7.17.1
|
| 335 |
+
nbformat==5.10.4
|
| 336 |
+
ndindex==1.10.1
|
| 337 |
+
nest-asyncio==1.6.0
|
| 338 |
+
networkx==3.6.1
|
| 339 |
+
nh3==0.3.6
|
| 340 |
+
nibabel==5.4.2
|
| 341 |
+
nltk==3.9.1
|
| 342 |
+
notebook==6.5.7
|
| 343 |
+
notebook_shim==0.2.4
|
| 344 |
+
numba==0.60.0
|
| 345 |
+
numexpr==2.14.1
|
| 346 |
+
numpy==2.0.2
|
| 347 |
+
nvidia-nccl-cu12==2.30.7
|
| 348 |
+
oauth2client==4.1.3
|
| 349 |
+
oauthlib==3.3.1
|
| 350 |
+
omegaconf==2.3.1
|
| 351 |
+
onemkl-license==2025.3.1
|
| 352 |
+
openai==2.45.0
|
| 353 |
+
opencv-contrib-python==4.13.0.92
|
| 354 |
+
opencv-python==5.0.0.93
|
| 355 |
+
opencv-python-headless==5.0.0.93
|
| 356 |
+
openpyxl==3.1.5
|
| 357 |
+
opentelemetry-api==1.42.1
|
| 358 |
+
opentelemetry-resourcedetector-gcp==1.12.0a0
|
| 359 |
+
opentelemetry-sdk==1.42.1
|
| 360 |
+
opentelemetry-semantic-conventions==0.63b1
|
| 361 |
+
opt_einsum==3.4.0
|
| 362 |
+
optax==0.2.8
|
| 363 |
+
optree==0.19.1
|
| 364 |
+
orbax-checkpoint==0.12.1
|
| 365 |
+
orjson==3.11.9
|
| 366 |
+
ormsgpack==1.12.2
|
| 367 |
+
osqp==1.1.3
|
| 368 |
+
packaging==26.2
|
| 369 |
+
pandas==2.2.2
|
| 370 |
+
pandas-datareader==0.11.1
|
| 371 |
+
pandas-gbq==0.30.0
|
| 372 |
+
pandas-stubs==2.2.2.240909
|
| 373 |
+
pandocfilters==1.5.1
|
| 374 |
+
panel==1.9.3
|
| 375 |
+
panel-material-ui==0.14.0
|
| 376 |
+
param==2.4.1
|
| 377 |
+
parso==0.8.7
|
| 378 |
+
parsy==2.2
|
| 379 |
+
partd==1.4.2
|
| 380 |
+
patsy==1.0.2
|
| 381 |
+
peewee==4.2.2
|
| 382 |
+
peft==0.19.1
|
| 383 |
+
pexpect==4.9.0
|
| 384 |
+
pickleshare==0.7.5
|
| 385 |
+
pillow==11.3.0
|
| 386 |
+
platformdirs==4.10.0
|
| 387 |
+
plotly==5.24.1
|
| 388 |
+
plotnine==0.14.5
|
| 389 |
+
pluggy==1.6.0
|
| 390 |
+
plum-dispatch==2.9.0
|
| 391 |
+
pointpats==2.5.5
|
| 392 |
+
polars==1.35.2
|
| 393 |
+
polars-runtime-32==1.35.2
|
| 394 |
+
pooch==1.9.0
|
| 395 |
+
portpicker==1.5.2
|
| 396 |
+
preshed==3.0.13
|
| 397 |
+
prettytable==3.18.0
|
| 398 |
+
proglog==0.1.12
|
| 399 |
+
progressbar2==4.5.0
|
| 400 |
+
prometheus_client==0.25.0
|
| 401 |
+
promise==2.3
|
| 402 |
+
prompt_toolkit==3.0.52
|
| 403 |
+
propcache==0.5.2
|
| 404 |
+
prophet==1.3.0
|
| 405 |
+
proto-plus==1.28.1
|
| 406 |
+
protobuf==5.29.6
|
| 407 |
+
psutil==5.9.5
|
| 408 |
+
psycopg2==2.9.12
|
| 409 |
+
psygnal==0.15.1
|
| 410 |
+
ptyprocess==0.7.0
|
| 411 |
+
PuLP==3.3.2
|
| 412 |
+
py-cpuinfo==9.0.0
|
| 413 |
+
py4j==0.10.9.9
|
| 414 |
+
pyarrow==18.1.0
|
| 415 |
+
pyasn1==0.6.4
|
| 416 |
+
pyasn1_modules==0.4.2
|
| 417 |
+
pycairo==1.29.0
|
| 418 |
+
pycocotools==2.0.11
|
| 419 |
+
pycparser==3.0
|
| 420 |
+
pycryptodomex==3.23.0
|
| 421 |
+
pydantic==2.13.4
|
| 422 |
+
pydantic_core==2.46.4
|
| 423 |
+
pydata-google-auth==1.9.1
|
| 424 |
+
pydot==4.0.1
|
| 425 |
+
pydotplus==2.0.2
|
| 426 |
+
PyDrive2==1.21.1
|
| 427 |
+
pydub==0.25.1
|
| 428 |
+
pyerfa==2.0.1.5
|
| 429 |
+
pygame==2.6.1
|
| 430 |
+
pygit2==1.19.3
|
| 431 |
+
Pygments==2.20.0
|
| 432 |
+
PyGObject==3.48.2
|
| 433 |
+
pyiceberg==0.11.1
|
| 434 |
+
PyJWT==2.13.0
|
| 435 |
+
pymc==5.28.5
|
| 436 |
+
pynndescent==0.6.0
|
| 437 |
+
pyogrio==0.13.0
|
| 438 |
+
pyomo==6.10.1
|
| 439 |
+
PyOpenGL==3.1.10
|
| 440 |
+
pyOpenSSL==26.3.0
|
| 441 |
+
pyparsing==3.3.2
|
| 442 |
+
pyperclip==1.11.0
|
| 443 |
+
pyproj==3.7.2
|
| 444 |
+
pyroaring==1.1.0
|
| 445 |
+
pysal==25.7
|
| 446 |
+
pyshp==3.1.4
|
| 447 |
+
PySocks==1.7.1
|
| 448 |
+
pyspark==4.0.3
|
| 449 |
+
pytensor==2.38.3
|
| 450 |
+
pytest==8.4.2
|
| 451 |
+
python-apt==0.0.0
|
| 452 |
+
python-box==7.4.1
|
| 453 |
+
python-dateutil==2.9.0.post0
|
| 454 |
+
python-dotenv==1.2.2
|
| 455 |
+
python-fasthtml==0.14.6
|
| 456 |
+
python-json-logger==4.1.0
|
| 457 |
+
python-louvain==0.16
|
| 458 |
+
python-multipart==0.0.32
|
| 459 |
+
python-slugify==8.0.4
|
| 460 |
+
python-snappy==0.7.3
|
| 461 |
+
python-utils==4.0.0
|
| 462 |
+
pytz==2025.2
|
| 463 |
+
pyviz_comms==3.0.6
|
| 464 |
+
PyWavelets==1.9.0
|
| 465 |
+
PyYAML==6.0.3
|
| 466 |
+
pyzmq==26.2.1
|
| 467 |
+
quantecon==0.11.3
|
| 468 |
+
rasterio==1.5.0
|
| 469 |
+
rasterstats==0.21.0
|
| 470 |
+
ratelim==0.1.6
|
| 471 |
+
referencing==0.37.0
|
| 472 |
+
regex==2025.11.3
|
| 473 |
+
requests==2.32.4
|
| 474 |
+
requests-oauthlib==2.0.0
|
| 475 |
+
requests-toolbelt==1.0.0
|
| 476 |
+
requirements-parser==0.9.0
|
| 477 |
+
rfc3339-validator==0.1.4
|
| 478 |
+
rfc3986-validator==0.1.1
|
| 479 |
+
rfc3987-syntax==1.1.0
|
| 480 |
+
rich==13.9.4
|
| 481 |
+
roman-numerals==4.1.0
|
| 482 |
+
roman-numerals-py==4.1.0
|
| 483 |
+
rpds-py==2026.6.3
|
| 484 |
+
rpy2==3.5.17
|
| 485 |
+
rsa==4.9.1
|
| 486 |
+
rtree==1.4.1
|
| 487 |
+
safehttpx==0.1.7
|
| 488 |
+
safetensors==0.8.0
|
| 489 |
+
scikit-image==0.25.2
|
| 490 |
+
scikit-learn==1.6.1
|
| 491 |
+
scipy==1.16.3
|
| 492 |
+
scooby==0.11.2
|
| 493 |
+
scs==3.2.11
|
| 494 |
+
seaborn==0.13.2
|
| 495 |
+
SecretStorage==3.5.0
|
| 496 |
+
segregation==2.5.4
|
| 497 |
+
semantic-version==2.10.0
|
| 498 |
+
Send2Trash==2.1.0
|
| 499 |
+
sentence-transformers==5.6.0
|
| 500 |
+
sentencepiece==0.2.2
|
| 501 |
+
sentry-sdk==2.65.0
|
| 502 |
+
setuptools==75.2.0
|
| 503 |
+
shap==0.52.0
|
| 504 |
+
shapely==2.1.2
|
| 505 |
+
shellingham==1.5.4
|
| 506 |
+
simple-parsing==0.1.8
|
| 507 |
+
simplejson==4.1.1
|
| 508 |
+
simsimd==6.5.16
|
| 509 |
+
six==1.17.0
|
| 510 |
+
sklearn-compat==0.1.6
|
| 511 |
+
sklearn-pandas==2.2.0
|
| 512 |
+
slicer==0.0.8
|
| 513 |
+
smart_open==8.0.0
|
| 514 |
+
smmap==5.0.3
|
| 515 |
+
sniffio==1.3.1
|
| 516 |
+
snowballstemmer==3.1.1
|
| 517 |
+
soundfile==0.14.0
|
| 518 |
+
soupsieve==2.8.4
|
| 519 |
+
soxr==1.1.0
|
| 520 |
+
spacy==3.8.14
|
| 521 |
+
spacy-legacy==3.0.12
|
| 522 |
+
spacy-loggers==1.0.5
|
| 523 |
+
spaghetti==1.7.6
|
| 524 |
+
spanner-graph-notebook==1.1.10
|
| 525 |
+
spglm==1.1.0
|
| 526 |
+
Sphinx==8.2.3
|
| 527 |
+
sphinxcontrib-applehelp==2.0.0
|
| 528 |
+
sphinxcontrib-devhelp==2.0.0
|
| 529 |
+
sphinxcontrib-htmlhelp==2.1.0
|
| 530 |
+
sphinxcontrib-jsmath==1.0.1
|
| 531 |
+
sphinxcontrib-qthelp==2.0.0
|
| 532 |
+
sphinxcontrib-serializinghtml==2.0.0
|
| 533 |
+
spint==1.1.0
|
| 534 |
+
splot==1.1.7
|
| 535 |
+
spopt==0.7.0
|
| 536 |
+
spreg==1.9.0
|
| 537 |
+
SQLAlchemy==2.0.51
|
| 538 |
+
sqlglot==25.20.2
|
| 539 |
+
sqlparse==0.5.5
|
| 540 |
+
srsly==2.5.3
|
| 541 |
+
stanio==0.5.1
|
| 542 |
+
starlette==1.3.1
|
| 543 |
+
statsmodels==0.14.6
|
| 544 |
+
strictyaml==1.7.3
|
| 545 |
+
stringzilla==4.6.2
|
| 546 |
+
stumpy==1.13.0
|
| 547 |
+
sympy==1.14.0
|
| 548 |
+
tables==3.10.2
|
| 549 |
+
tabulate==0.9.0
|
| 550 |
+
tbb==2022.3.1
|
| 551 |
+
tcmlib==1.5.0
|
| 552 |
+
tenacity==9.1.4
|
| 553 |
+
tensorboard==2.20.0
|
| 554 |
+
tensorboard-data-server==0.7.2
|
| 555 |
+
tensorflow==2.20.0
|
| 556 |
+
tensorflow-datasets==4.9.10
|
| 557 |
+
tensorflow-hub==0.16.1
|
| 558 |
+
tensorflow-metadata==1.21.0
|
| 559 |
+
tensorflow-probability==0.25.0
|
| 560 |
+
tensorflow-text==2.20.1
|
| 561 |
+
tensorstore==0.1.84
|
| 562 |
+
termcolor==3.3.0
|
| 563 |
+
terminado==0.18.1
|
| 564 |
+
text-unidecode==1.3
|
| 565 |
+
textblob==0.19.0
|
| 566 |
+
tf-slim==1.1.0
|
| 567 |
+
tf_keras==2.20.0
|
| 568 |
+
thinc==8.3.13
|
| 569 |
+
threadpoolctl==3.6.0
|
| 570 |
+
tifffile==2026.4.11
|
| 571 |
+
tiktoken==0.13.0
|
| 572 |
+
timm==1.0.28
|
| 573 |
+
tinycss2==1.5.1
|
| 574 |
+
tobler==0.14.0
|
| 575 |
+
tokenizers==0.22.2
|
| 576 |
+
toml==0.10.2
|
| 577 |
+
tomlkit==0.14.0
|
| 578 |
+
toolz==0.12.1
|
| 579 |
+
torch @ https://download.pytorch.org/whl/cpu/torch-2.11.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
|
| 580 |
+
torchao==0.10.0
|
| 581 |
+
torchaudio @ https://download.pytorch.org/whl/cpu/torchaudio-2.11.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
|
| 582 |
+
torchcodec @ https://download.pytorch.org/whl/cpu/torchcodec-0.11.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
|
| 583 |
+
torchdata==0.11.0
|
| 584 |
+
torchsummary==1.5.1
|
| 585 |
+
torchtune==0.6.1
|
| 586 |
+
torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.26.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
|
| 587 |
+
tornado==6.5.7
|
| 588 |
+
tqdm==4.67.3
|
| 589 |
+
traitlets==5.7.1
|
| 590 |
+
traittypes==0.2.3
|
| 591 |
+
transformers==5.13.1
|
| 592 |
+
treescope==0.1.10
|
| 593 |
+
truststore==0.10.4
|
| 594 |
+
tsfresh==0.21.2
|
| 595 |
+
tweepy==4.17.0
|
| 596 |
+
typeguard==4.5.2
|
| 597 |
+
typer==0.26.8
|
| 598 |
+
types-pytz==2026.2.0.20260518
|
| 599 |
+
types-setuptools==82.0.0.20260518
|
| 600 |
+
typing-inspection==0.4.2
|
| 601 |
+
typing_extensions==4.16.0
|
| 602 |
+
tzdata==2026.3
|
| 603 |
+
tzlocal==5.4.4
|
| 604 |
+
uc-micro-py==2.0.0
|
| 605 |
+
umap-learn==0.5.12
|
| 606 |
+
umf==1.0.3
|
| 607 |
+
uri-template==1.3.0
|
| 608 |
+
uritemplate==4.2.0
|
| 609 |
+
urllib3==2.5.0
|
| 610 |
+
uuid_utils==0.17.0
|
| 611 |
+
uvicorn==0.51.0
|
| 612 |
+
uvloop==0.22.1
|
| 613 |
+
vega-datasets==0.9.0
|
| 614 |
+
wadllib==1.3.6
|
| 615 |
+
wandb==0.28.0
|
| 616 |
+
wasabi==1.1.3
|
| 617 |
+
watchdog==6.0.0
|
| 618 |
+
watchfiles==1.2.0
|
| 619 |
+
wcwidth==0.8.2
|
| 620 |
+
weasel==1.0.0
|
| 621 |
+
webcolors==25.10.0
|
| 622 |
+
webencodings==0.5.1
|
| 623 |
+
websocket-client==1.9.0
|
| 624 |
+
websockets==15.0.1
|
| 625 |
+
Werkzeug==3.1.8
|
| 626 |
+
wheel==0.47.0
|
| 627 |
+
widgetsnbextension==3.6.10
|
| 628 |
+
wordcloud==1.9.6
|
| 629 |
+
wrapt==2.2.2
|
| 630 |
+
xarray==2025.12.0
|
| 631 |
+
xarray-einstats==0.10.0
|
| 632 |
+
xgboost==3.3.0
|
| 633 |
+
xlrd==2.0.2
|
| 634 |
+
xxhash==3.8.1
|
| 635 |
+
xyzservices==2026.3.0
|
| 636 |
+
yarl==1.24.2
|
| 637 |
+
ydf==0.15.0
|
| 638 |
+
ydf_tf==2.20.0
|
| 639 |
+
yellowbrick==1.5
|
| 640 |
+
yfinance==0.2.66
|
| 641 |
+
zipp==4.1.0
|
| 642 |
+
zstandard==0.25.0
|
evaluation/compute_perdomain.py
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json, csv, re
|
| 2 |
+
from collections import defaultdict, Counter
|
| 3 |
+
W = r"C:/Users/fate/AppData/Local/Temp/claude/C--Users-fate-Videos-knowldgeGraph/76bf330d-b5d6-46f3-8f74-51ca0d7b94e2/scratchpad/kgeval"
|
| 4 |
+
TYPES = ["CARDINAL","CURR","DATE","EVENT","FAC","GPE","LANGUAGE","LAW","LOC","MONEY","NORP","OCC",
|
| 5 |
+
"ORDINAL","ORG","PERCENT","PERS","PRODUCT","QUANTITY","TIME","UNIT","WEBSITE"]
|
| 6 |
+
|
| 7 |
+
def read_conll(path, sep):
|
| 8 |
+
sents, cur = [], []
|
| 9 |
+
for line in open(path, encoding="utf-8"):
|
| 10 |
+
line = line.rstrip("\r\n")
|
| 11 |
+
if line.strip() == "":
|
| 12 |
+
if cur: sents.append(cur); cur = []
|
| 13 |
+
continue
|
| 14 |
+
if "\t" in line: tok, tagstr = (line.split("\t")+["O"])[:2]
|
| 15 |
+
else:
|
| 16 |
+
p = line.split(" "); tok, tagstr = p[0], " ".join(p[1:])
|
| 17 |
+
cur.append((tok, set(t for t in re.split(sep, tagstr.strip()) if t and t != "O")))
|
| 18 |
+
if cur: sents.append(cur)
|
| 19 |
+
return sents
|
| 20 |
+
|
| 21 |
+
# --- reconstruct sentences from CSV with their domain ---
|
| 22 |
+
by_sid = defaultdict(list); dom_of = {}
|
| 23 |
+
for row in csv.DictReader(open(f"{W}/gold/nested_test.csv", encoding="utf-8")):
|
| 24 |
+
sid = row["global_sentence_id"]
|
| 25 |
+
by_sid[sid].append((int(row["token_position"]), row["token"]))
|
| 26 |
+
dom_of[sid] = row["Sub_corpus"]
|
| 27 |
+
csv_sents = {}
|
| 28 |
+
for sid, toks in by_sid.items():
|
| 29 |
+
key = tuple(t for _, t in sorted(toks))
|
| 30 |
+
csv_sents.setdefault(key, []).append(sid)
|
| 31 |
+
print("csv sentences:", len(by_sid), "unique token-tuples:", len(csv_sents))
|
| 32 |
+
print("csv domain counts:", Counter(dom_of.values()))
|
| 33 |
+
|
| 34 |
+
gold = read_conll(f"{W}/gold/nested_test.txt", r"[\s|,;+]+")
|
| 35 |
+
# map each gold sentence -> domain by token-tuple lookup
|
| 36 |
+
pool = {k: list(v) for k, v in csv_sents.items()}
|
| 37 |
+
dom_by_idx, unmatched = [], 0
|
| 38 |
+
for s in gold:
|
| 39 |
+
key = tuple(t for t, _ in s)
|
| 40 |
+
if key in pool and pool[key]:
|
| 41 |
+
dom_by_idx.append(dom_of[pool[key].pop(0)])
|
| 42 |
+
else:
|
| 43 |
+
dom_by_idx.append(None); unmatched += 1
|
| 44 |
+
print("unmatched gold sentences:", unmatched)
|
| 45 |
+
print("mapped domain counts:", Counter(dom_by_idx))
|
| 46 |
+
|
| 47 |
+
def spans(tags, t):
|
| 48 |
+
out, st = set(), None
|
| 49 |
+
for i, tg in enumerate(tags):
|
| 50 |
+
b, ii = ("B-"+t) in tg, ("I-"+t) in tg
|
| 51 |
+
if b:
|
| 52 |
+
if st is not None: out.add((st, i-1))
|
| 53 |
+
st = i
|
| 54 |
+
elif ii:
|
| 55 |
+
if st is None: st = i
|
| 56 |
+
else:
|
| 57 |
+
if st is not None: out.add((st, i-1)); st = None
|
| 58 |
+
if st is not None: out.add((st, len(tags)-1))
|
| 59 |
+
return out
|
| 60 |
+
|
| 61 |
+
def ents(sents):
|
| 62 |
+
e = set()
|
| 63 |
+
for si, s in enumerate(sents):
|
| 64 |
+
tg = [x for _, x in s]
|
| 65 |
+
for t in TYPES:
|
| 66 |
+
for a, b in spans(tg, t): e.add((si, t, a, b))
|
| 67 |
+
return e
|
| 68 |
+
|
| 69 |
+
def prf(tp, fp, fn):
|
| 70 |
+
p = tp/(tp+fp) if tp+fp else 0.0; r = tp/(tp+fn) if tp+fn else 0.0
|
| 71 |
+
return p, r, (2*p*r/(p+r) if p+r else 0.0)
|
| 72 |
+
|
| 73 |
+
G = ents(gold)
|
| 74 |
+
pub = {m: json.load(open(f"{W}/{m}/test_metrics.json", encoding="utf-8")) for m in ("nested-arabert","nested-marbert")}
|
| 75 |
+
out = {}
|
| 76 |
+
for name, sub in [("AraBERTv02","nested-arabert"), ("MARBERTv2","nested-marbert")]:
|
| 77 |
+
P = ents(read_conll(f"{W}/{sub}/test_predictions_conll.txt", r"[|\s,;+]+"))
|
| 78 |
+
pubmap = {d["domain"]: d["f1"] for d in pub[sub]["per_domain"]}
|
| 79 |
+
rows = {}
|
| 80 |
+
print(f"\n=== {name} per-domain (recomputed vs published) ===")
|
| 81 |
+
print(f"{'DOMAIN':<20}{'sent':>6}{'ents':>6} | {'P':>7}{'R':>7}{'F1':>7} | {'pubF1':>7}{'diff':>8}")
|
| 82 |
+
for d in sorted(set(x for x in dom_by_idx if x)):
|
| 83 |
+
idx = {i for i, dd in enumerate(dom_by_idx) if dd == d}
|
| 84 |
+
g = {e for e in G if e[0] in idx}; p_ = {e for e in P if e[0] in idx}
|
| 85 |
+
tp, fp, fn = len(g & p_), len(p_ - g), len(g - p_)
|
| 86 |
+
pp, rr, ff = prf(tp, fp, fn)
|
| 87 |
+
rows[d] = dict(sentences=len(idx), entities=len(g), precision=round(pp,4),
|
| 88 |
+
recall=round(rr,4), f1=round(ff,4), published_f1=round(pubmap.get(d,0),4))
|
| 89 |
+
print(f"{d:<20}{len(idx):>6}{len(g):>6} | {pp:>7.4f}{rr:>7.4f}{ff:>7.4f} | {pubmap.get(d,0):>7.4f}{ff-pubmap.get(d,0):>+8.4f}")
|
| 90 |
+
out[name] = rows
|
| 91 |
+
json.dump(out, open(f"{W}/perdomain_results.json","w",encoding="utf-8"), ensure_ascii=False, indent=2)
|
| 92 |
+
print("\nwrote perdomain_results.json")
|
evaluation/compute_pertype.py
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json, sys, os, re
|
| 2 |
+
from collections import defaultdict
|
| 3 |
+
|
| 4 |
+
W = r"C:/Users/fate/AppData/Local/Temp/claude/C--Users-fate-Videos-knowldgeGraph/76bf330d-b5d6-46f3-8f74-51ca0d7b94e2/scratchpad/kgeval"
|
| 5 |
+
|
| 6 |
+
TYPES = ["CARDINAL","CURR","DATE","EVENT","FAC","GPE","LANGUAGE","LAW","LOC","MONEY",
|
| 7 |
+
"NORP","OCC","ORDINAL","ORG","PERCENT","PERS","PRODUCT","QUANTITY","TIME","UNIT","WEBSITE"]
|
| 8 |
+
|
| 9 |
+
def read_conll(path, sep_tags):
|
| 10 |
+
"""Return list of sentences; each sentence = list of (token, set(tags))."""
|
| 11 |
+
sents, cur = [], []
|
| 12 |
+
with open(path, encoding="utf-8") as f:
|
| 13 |
+
for line in f:
|
| 14 |
+
line = line.rstrip("\n").rstrip("\r")
|
| 15 |
+
if line.strip() == "":
|
| 16 |
+
if cur: sents.append(cur); cur = []
|
| 17 |
+
continue
|
| 18 |
+
if "\t" in line:
|
| 19 |
+
parts = line.split("\t")
|
| 20 |
+
tok, tagstr = parts[0], parts[1] if len(parts) > 1 else "O"
|
| 21 |
+
else:
|
| 22 |
+
parts = line.split(" ")
|
| 23 |
+
tok, tagstr = parts[0], " ".join(parts[1:])
|
| 24 |
+
tags = set(t for t in re.split(sep_tags, tagstr.strip()) if t and t != "O")
|
| 25 |
+
cur.append((tok, tags))
|
| 26 |
+
if cur: sents.append(cur)
|
| 27 |
+
return sents
|
| 28 |
+
|
| 29 |
+
def spans_for_type(tags_per_tok, t):
|
| 30 |
+
"""BIO-decode one type channel -> set of (start, end) inclusive."""
|
| 31 |
+
out, start = set(), None
|
| 32 |
+
for i, tags in enumerate(tags_per_tok):
|
| 33 |
+
b, ii = ("B-"+t) in tags, ("I-"+t) in tags
|
| 34 |
+
if b:
|
| 35 |
+
if start is not None: out.add((start, i-1))
|
| 36 |
+
start = i
|
| 37 |
+
elif ii:
|
| 38 |
+
if start is None: start = i # I- without B- starts a span (seqeval IOB2-lenient)
|
| 39 |
+
else:
|
| 40 |
+
if start is not None: out.add((start, i-1)); start = None
|
| 41 |
+
if start is not None: out.add((start, len(tags_per_tok)-1))
|
| 42 |
+
return out
|
| 43 |
+
|
| 44 |
+
def entities(sents):
|
| 45 |
+
"""-> set of (sent_idx, type, start, end)"""
|
| 46 |
+
ents = set()
|
| 47 |
+
for si, s in enumerate(sents):
|
| 48 |
+
tags = [t for _, t in s]
|
| 49 |
+
for t in TYPES:
|
| 50 |
+
for (a, b) in spans_for_type(tags, t):
|
| 51 |
+
ents.add((si, t, a, b))
|
| 52 |
+
return ents
|
| 53 |
+
|
| 54 |
+
def prf(tp, fp, fn):
|
| 55 |
+
p = tp/(tp+fp) if tp+fp else 0.0
|
| 56 |
+
r = tp/(tp+fn) if tp+fn else 0.0
|
| 57 |
+
f = 2*p*r/(p+r) if p+r else 0.0
|
| 58 |
+
return p, r, f
|
| 59 |
+
|
| 60 |
+
gold = read_conll(f"{W}/gold/nested_test.txt", r"[\s|,;+]+")
|
| 61 |
+
print("gold sentences:", len(gold), "tokens:", sum(len(s) for s in gold))
|
| 62 |
+
|
| 63 |
+
# domain map from CSV, in file order of global_sentence_id first appearance
|
| 64 |
+
import csv
|
| 65 |
+
dom_by_sent = []
|
| 66 |
+
seen = set()
|
| 67 |
+
with open(f"{W}/gold/nested_test.csv", encoding="utf-8") as f:
|
| 68 |
+
for row in csv.DictReader(f):
|
| 69 |
+
sid = row["global_sentence_id"]
|
| 70 |
+
if sid not in seen:
|
| 71 |
+
seen.add(sid); dom_by_sent.append(row["Sub_corpus"])
|
| 72 |
+
print("domains listed for", len(dom_by_sent), "sentences")
|
| 73 |
+
|
| 74 |
+
gold_ents = entities(gold)
|
| 75 |
+
print("gold entities:", len(gold_ents))
|
| 76 |
+
|
| 77 |
+
results = {}
|
| 78 |
+
for name, sub in [("EXP-001 AraBERTv02 nested", "nested-arabert"),
|
| 79 |
+
("EXP-002 MARBERTv2 nested", "nested-marbert")]:
|
| 80 |
+
pred = read_conll(f"{W}/{sub}/test_predictions_conll.txt", r"[|\s,;+]+")
|
| 81 |
+
assert len(pred) == len(gold), (name, len(pred), len(gold))
|
| 82 |
+
mism = sum(1 for a, b in zip(gold, pred) if len(a) != len(b))
|
| 83 |
+
tokmis = sum(1 for a,b in zip(gold,pred) for (ta,_),(tb,_) in zip(a,b) if ta != tb)
|
| 84 |
+
pred_ents = entities(pred)
|
| 85 |
+
tp = len(gold_ents & pred_ents); fp = len(pred_ents - gold_ents); fn = len(gold_ents - pred_ents)
|
| 86 |
+
P, R, F = prf(tp, fp, fn)
|
| 87 |
+
print(f"\n### {name} (sent len mismatches={mism}, token mismatches={tokmis})")
|
| 88 |
+
print(f"overall micro P={P:.4f} R={R:.4f} F1={F:.4f} TP={tp} FP={fp} FN={fn} pred_ents={len(pred_ents)}")
|
| 89 |
+
|
| 90 |
+
# per type
|
| 91 |
+
per_type = {}
|
| 92 |
+
for t in TYPES:
|
| 93 |
+
g = {e for e in gold_ents if e[1] == t}; p_ = {e for e in pred_ents if e[1] == t}
|
| 94 |
+
tp_, fp_, fn_ = len(g & p_), len(p_ - g), len(g - p_)
|
| 95 |
+
pp, rr, ff = prf(tp_, fp_, fn_)
|
| 96 |
+
per_type[t] = dict(support=len(g), pred=len(p_), tp=tp_, fp=fp_, fn=fn_,
|
| 97 |
+
precision=round(pp,4), recall=round(rr,4), f1=round(ff,4))
|
| 98 |
+
# per domain (recompute P/R too)
|
| 99 |
+
per_dom = {}
|
| 100 |
+
for d in sorted(set(dom_by_sent)):
|
| 101 |
+
idx = {i for i, dd in enumerate(dom_by_sent) if dd == d}
|
| 102 |
+
g = {e for e in gold_ents if e[0] in idx}; p_ = {e for e in pred_ents if e[0] in idx}
|
| 103 |
+
tp_, fp_, fn_ = len(g & p_), len(p_ - g), len(g - p_)
|
| 104 |
+
pp, rr, ff = prf(tp_, fp_, fn_)
|
| 105 |
+
per_dom[d] = dict(sentences=len(idx), support=len(g),
|
| 106 |
+
precision=round(pp,4), recall=round(rr,4), f1=round(ff,4))
|
| 107 |
+
macro = sum(v["f1"] for v in per_type.values())/len(TYPES)
|
| 108 |
+
results[name] = dict(overall=dict(precision=round(P,4), recall=round(R,4), f1=round(F,4),
|
| 109 |
+
tp=tp, fp=fp, fn=fn, gold_entities=len(gold_ents),
|
| 110 |
+
pred_entities=len(pred_ents), macro_f1_over_types=round(macro,4)),
|
| 111 |
+
per_type=per_type, per_domain=per_dom)
|
| 112 |
+
|
| 113 |
+
with open(f"{W}/pertype_results.json", "w", encoding="utf-8") as f:
|
| 114 |
+
json.dump(dict(gold_sentences=len(gold), gold_tokens=sum(len(s) for s in gold),
|
| 115 |
+
gold_entities=len(gold_ents), results=results), f, ensure_ascii=False, indent=2)
|
| 116 |
+
print("\nwrote pertype_results.json")
|
evaluation/perdomain_results.json
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"AraBERTv02": {
|
| 3 |
+
"Awraq_G1": {
|
| 4 |
+
"sentences": 900,
|
| 5 |
+
"entities": 3264,
|
| 6 |
+
"precision": 0.9466,
|
| 7 |
+
"recall": 0.9617,
|
| 8 |
+
"f1": 0.9541,
|
| 9 |
+
"published_f1": 0.9537
|
| 10 |
+
},
|
| 11 |
+
"Awraq_G2": {
|
| 12 |
+
"sentences": 962,
|
| 13 |
+
"entities": 3493,
|
| 14 |
+
"precision": 0.9533,
|
| 15 |
+
"recall": 0.9697,
|
| 16 |
+
"f1": 0.9614,
|
| 17 |
+
"published_f1": 0.9602
|
| 18 |
+
},
|
| 19 |
+
"Awraq_G3": {
|
| 20 |
+
"sentences": 1417,
|
| 21 |
+
"entities": 4503,
|
| 22 |
+
"precision": 0.9759,
|
| 23 |
+
"recall": 0.98,
|
| 24 |
+
"f1": 0.978,
|
| 25 |
+
"published_f1": 0.9774
|
| 26 |
+
},
|
| 27 |
+
"Curras": {
|
| 28 |
+
"sentences": 1045,
|
| 29 |
+
"entities": 916,
|
| 30 |
+
"precision": 0.8217,
|
| 31 |
+
"recall": 0.8352,
|
| 32 |
+
"f1": 0.8284,
|
| 33 |
+
"published_f1": 0.8439
|
| 34 |
+
},
|
| 35 |
+
"Lebanese": {
|
| 36 |
+
"sentences": 82,
|
| 37 |
+
"entities": 60,
|
| 38 |
+
"precision": 0.5932,
|
| 39 |
+
"recall": 0.5833,
|
| 40 |
+
"f1": 0.5882,
|
| 41 |
+
"published_f1": 0.6074
|
| 42 |
+
},
|
| 43 |
+
"PCMA": {
|
| 44 |
+
"sentences": 193,
|
| 45 |
+
"entities": 1181,
|
| 46 |
+
"precision": 0.898,
|
| 47 |
+
"recall": 0.9246,
|
| 48 |
+
"f1": 0.9111,
|
| 49 |
+
"published_f1": 0.9076
|
| 50 |
+
},
|
| 51 |
+
"QUORA": {
|
| 52 |
+
"sentences": 523,
|
| 53 |
+
"entities": 376,
|
| 54 |
+
"precision": 0.6798,
|
| 55 |
+
"recall": 0.6888,
|
| 56 |
+
"f1": 0.6843,
|
| 57 |
+
"published_f1": 0.6877
|
| 58 |
+
},
|
| 59 |
+
"T1: Terrorism": {
|
| 60 |
+
"sentences": 218,
|
| 61 |
+
"entities": 628,
|
| 62 |
+
"precision": 0.9092,
|
| 63 |
+
"recall": 0.9411,
|
| 64 |
+
"f1": 0.9249,
|
| 65 |
+
"published_f1": 0.9138
|
| 66 |
+
},
|
| 67 |
+
"T2: Foreign policy": {
|
| 68 |
+
"sentences": 204,
|
| 69 |
+
"entities": 716,
|
| 70 |
+
"precision": 0.7963,
|
| 71 |
+
"recall": 0.8408,
|
| 72 |
+
"f1": 0.8179,
|
| 73 |
+
"published_f1": 0.8189
|
| 74 |
+
},
|
| 75 |
+
"T3: Security": {
|
| 76 |
+
"sentences": 140,
|
| 77 |
+
"entities": 382,
|
| 78 |
+
"precision": 0.8235,
|
| 79 |
+
"recall": 0.8429,
|
| 80 |
+
"f1": 0.8331,
|
| 81 |
+
"published_f1": 0.8485
|
| 82 |
+
},
|
| 83 |
+
"T4: Elections": {
|
| 84 |
+
"sentences": 321,
|
| 85 |
+
"entities": 620,
|
| 86 |
+
"precision": 0.945,
|
| 87 |
+
"recall": 0.9419,
|
| 88 |
+
"f1": 0.9435,
|
| 89 |
+
"published_f1": 0.9435
|
| 90 |
+
},
|
| 91 |
+
"T5: Migration": {
|
| 92 |
+
"sentences": 117,
|
| 93 |
+
"entities": 268,
|
| 94 |
+
"precision": 0.8218,
|
| 95 |
+
"recall": 0.8433,
|
| 96 |
+
"f1": 0.8324,
|
| 97 |
+
"published_f1": 0.8214
|
| 98 |
+
},
|
| 99 |
+
"T6: Health policy": {
|
| 100 |
+
"sentences": 184,
|
| 101 |
+
"entities": 516,
|
| 102 |
+
"precision": 0.9158,
|
| 103 |
+
"recall": 0.8857,
|
| 104 |
+
"f1": 0.9005,
|
| 105 |
+
"published_f1": 0.8891
|
| 106 |
+
}
|
| 107 |
+
},
|
| 108 |
+
"MARBERTv2": {
|
| 109 |
+
"Awraq_G1": {
|
| 110 |
+
"sentences": 900,
|
| 111 |
+
"entities": 3264,
|
| 112 |
+
"precision": 0.9369,
|
| 113 |
+
"recall": 0.9513,
|
| 114 |
+
"f1": 0.9441,
|
| 115 |
+
"published_f1": 0.9426
|
| 116 |
+
},
|
| 117 |
+
"Awraq_G2": {
|
| 118 |
+
"sentences": 962,
|
| 119 |
+
"entities": 3493,
|
| 120 |
+
"precision": 0.9409,
|
| 121 |
+
"recall": 0.953,
|
| 122 |
+
"f1": 0.9469,
|
| 123 |
+
"published_f1": 0.9463
|
| 124 |
+
},
|
| 125 |
+
"Awraq_G3": {
|
| 126 |
+
"sentences": 1417,
|
| 127 |
+
"entities": 4503,
|
| 128 |
+
"precision": 0.9684,
|
| 129 |
+
"recall": 0.974,
|
| 130 |
+
"f1": 0.9712,
|
| 131 |
+
"published_f1": 0.9706
|
| 132 |
+
},
|
| 133 |
+
"Curras": {
|
| 134 |
+
"sentences": 1045,
|
| 135 |
+
"entities": 916,
|
| 136 |
+
"precision": 0.7898,
|
| 137 |
+
"recall": 0.7631,
|
| 138 |
+
"f1": 0.7762,
|
| 139 |
+
"published_f1": 0.7898
|
| 140 |
+
},
|
| 141 |
+
"Lebanese": {
|
| 142 |
+
"sentences": 82,
|
| 143 |
+
"entities": 60,
|
| 144 |
+
"precision": 0.566,
|
| 145 |
+
"recall": 0.5,
|
| 146 |
+
"f1": 0.531,
|
| 147 |
+
"published_f1": 0.5426
|
| 148 |
+
},
|
| 149 |
+
"PCMA": {
|
| 150 |
+
"sentences": 193,
|
| 151 |
+
"entities": 1181,
|
| 152 |
+
"precision": 0.8788,
|
| 153 |
+
"recall": 0.8899,
|
| 154 |
+
"f1": 0.8843,
|
| 155 |
+
"published_f1": 0.8841
|
| 156 |
+
},
|
| 157 |
+
"QUORA": {
|
| 158 |
+
"sentences": 523,
|
| 159 |
+
"entities": 376,
|
| 160 |
+
"precision": 0.658,
|
| 161 |
+
"recall": 0.609,
|
| 162 |
+
"f1": 0.6326,
|
| 163 |
+
"published_f1": 0.6267
|
| 164 |
+
},
|
| 165 |
+
"T1: Terrorism": {
|
| 166 |
+
"sentences": 218,
|
| 167 |
+
"entities": 628,
|
| 168 |
+
"precision": 0.8775,
|
| 169 |
+
"recall": 0.9124,
|
| 170 |
+
"f1": 0.8946,
|
| 171 |
+
"published_f1": 0.8865
|
| 172 |
+
},
|
| 173 |
+
"T2: Foreign policy": {
|
| 174 |
+
"sentences": 204,
|
| 175 |
+
"entities": 716,
|
| 176 |
+
"precision": 0.7858,
|
| 177 |
+
"recall": 0.7891,
|
| 178 |
+
"f1": 0.7875,
|
| 179 |
+
"published_f1": 0.7836
|
| 180 |
+
},
|
| 181 |
+
"T3: Security": {
|
| 182 |
+
"sentences": 140,
|
| 183 |
+
"entities": 382,
|
| 184 |
+
"precision": 0.8016,
|
| 185 |
+
"recall": 0.7827,
|
| 186 |
+
"f1": 0.7921,
|
| 187 |
+
"published_f1": 0.7953
|
| 188 |
+
},
|
| 189 |
+
"T4: Elections": {
|
| 190 |
+
"sentences": 321,
|
| 191 |
+
"entities": 620,
|
| 192 |
+
"precision": 0.9172,
|
| 193 |
+
"recall": 0.929,
|
| 194 |
+
"f1": 0.9231,
|
| 195 |
+
"published_f1": 0.9231
|
| 196 |
+
},
|
| 197 |
+
"T5: Migration": {
|
| 198 |
+
"sentences": 117,
|
| 199 |
+
"entities": 268,
|
| 200 |
+
"precision": 0.8346,
|
| 201 |
+
"recall": 0.791,
|
| 202 |
+
"f1": 0.8123,
|
| 203 |
+
"published_f1": 0.8054
|
| 204 |
+
},
|
| 205 |
+
"T6: Health policy": {
|
| 206 |
+
"sentences": 184,
|
| 207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| 4 |
+
"gold_entities": 18210,
|
| 5 |
+
"results": {
|
| 6 |
+
"EXP-001 AraBERTv02 nested": {
|
| 7 |
+
"overall": {
|
| 8 |
+
"precision": 0.9208,
|
| 9 |
+
"recall": 0.9343,
|
| 10 |
+
"f1": 0.9275,
|
| 11 |
+
"tp": 17013,
|
| 12 |
+
"fp": 1464,
|
| 13 |
+
"fn": 1197,
|
| 14 |
+
"gold_entities": 18210,
|
| 15 |
+
"pred_entities": 18477,
|
| 16 |
+
"macro_f1_over_types": 0.8411
|
| 17 |
+
},
|
| 18 |
+
"per_type": {
|
| 19 |
+
"CARDINAL": {
|
| 20 |
+
"support": 342,
|
| 21 |
+
"pred": 338,
|
| 22 |
+
"tp": 302,
|
| 23 |
+
"fp": 36,
|
| 24 |
+
"fn": 40,
|
| 25 |
+
"precision": 0.8935,
|
| 26 |
+
"recall": 0.883,
|
| 27 |
+
"f1": 0.8882
|
| 28 |
+
},
|
| 29 |
+
"CURR": {
|
| 30 |
+
"support": 41,
|
| 31 |
+
"pred": 40,
|
| 32 |
+
"tp": 37,
|
| 33 |
+
"fp": 3,
|
| 34 |
+
"fn": 4,
|
| 35 |
+
"precision": 0.925,
|
| 36 |
+
"recall": 0.9024,
|
| 37 |
+
"f1": 0.9136
|
| 38 |
+
},
|
| 39 |
+
"DATE": {
|
| 40 |
+
"support": 3206,
|
| 41 |
+
"pred": 3239,
|
| 42 |
+
"tp": 3086,
|
| 43 |
+
"fp": 153,
|
| 44 |
+
"fn": 120,
|
| 45 |
+
"precision": 0.9528,
|
| 46 |
+
"recall": 0.9626,
|
| 47 |
+
"f1": 0.9576
|
| 48 |
+
},
|
| 49 |
+
"EVENT": {
|
| 50 |
+
"support": 570,
|
| 51 |
+
"pred": 578,
|
| 52 |
+
"tp": 474,
|
| 53 |
+
"fp": 104,
|
| 54 |
+
"fn": 96,
|
| 55 |
+
"precision": 0.8201,
|
| 56 |
+
"recall": 0.8316,
|
| 57 |
+
"f1": 0.8258
|
| 58 |
+
},
|
| 59 |
+
"FAC": {
|
| 60 |
+
"support": 246,
|
| 61 |
+
"pred": 254,
|
| 62 |
+
"tp": 205,
|
| 63 |
+
"fp": 49,
|
| 64 |
+
"fn": 41,
|
| 65 |
+
"precision": 0.8071,
|
| 66 |
+
"recall": 0.8333,
|
| 67 |
+
"f1": 0.82
|
| 68 |
+
},
|
| 69 |
+
"GPE": {
|
| 70 |
+
"support": 4344,
|
| 71 |
+
"pred": 4334,
|
| 72 |
+
"tp": 4190,
|
| 73 |
+
"fp": 144,
|
| 74 |
+
"fn": 154,
|
| 75 |
+
"precision": 0.9668,
|
| 76 |
+
"recall": 0.9645,
|
| 77 |
+
"f1": 0.9657
|
| 78 |
+
},
|
| 79 |
+
"LANGUAGE": {
|
| 80 |
+
"support": 44,
|
| 81 |
+
"pred": 40,
|
| 82 |
+
"tp": 38,
|
| 83 |
+
"fp": 2,
|
| 84 |
+
"fn": 6,
|
| 85 |
+
"precision": 0.95,
|
| 86 |
+
"recall": 0.8636,
|
| 87 |
+
"f1": 0.9048
|
| 88 |
+
},
|
| 89 |
+
"LAW": {
|
| 90 |
+
"support": 90,
|
| 91 |
+
"pred": 97,
|
| 92 |
+
"tp": 78,
|
| 93 |
+
"fp": 19,
|
| 94 |
+
"fn": 12,
|
| 95 |
+
"precision": 0.8041,
|
| 96 |
+
"recall": 0.8667,
|
| 97 |
+
"f1": 0.8342
|
| 98 |
+
},
|
| 99 |
+
"LOC": {
|
| 100 |
+
"support": 219,
|
| 101 |
+
"pred": 224,
|
| 102 |
+
"tp": 190,
|
| 103 |
+
"fp": 34,
|
| 104 |
+
"fn": 29,
|
| 105 |
+
"precision": 0.8482,
|
| 106 |
+
"recall": 0.8676,
|
| 107 |
+
"f1": 0.8578
|
| 108 |
+
},
|
| 109 |
+
"MONEY": {
|
| 110 |
+
"support": 33,
|
| 111 |
+
"pred": 40,
|
| 112 |
+
"tp": 31,
|
| 113 |
+
"fp": 9,
|
| 114 |
+
"fn": 2,
|
| 115 |
+
"precision": 0.775,
|
| 116 |
+
"recall": 0.9394,
|
| 117 |
+
"f1": 0.8493
|
| 118 |
+
},
|
| 119 |
+
"NORP": {
|
| 120 |
+
"support": 1095,
|
| 121 |
+
"pred": 1174,
|
| 122 |
+
"tp": 922,
|
| 123 |
+
"fp": 252,
|
| 124 |
+
"fn": 173,
|
| 125 |
+
"precision": 0.7853,
|
| 126 |
+
"recall": 0.842,
|
| 127 |
+
"f1": 0.8127
|
| 128 |
+
},
|
| 129 |
+
"OCC": {
|
| 130 |
+
"support": 1126,
|
| 131 |
+
"pred": 1142,
|
| 132 |
+
"tp": 1029,
|
| 133 |
+
"fp": 113,
|
| 134 |
+
"fn": 97,
|
| 135 |
+
"precision": 0.9011,
|
| 136 |
+
"recall": 0.9139,
|
| 137 |
+
"f1": 0.9074
|
| 138 |
+
},
|
| 139 |
+
"ORDINAL": {
|
| 140 |
+
"support": 1083,
|
| 141 |
+
"pred": 1065,
|
| 142 |
+
"tp": 1027,
|
| 143 |
+
"fp": 38,
|
| 144 |
+
"fn": 56,
|
| 145 |
+
"precision": 0.9643,
|
| 146 |
+
"recall": 0.9483,
|
| 147 |
+
"f1": 0.9562
|
| 148 |
+
},
|
| 149 |
+
"ORG": {
|
| 150 |
+
"support": 3928,
|
| 151 |
+
"pred": 4035,
|
| 152 |
+
"tp": 3719,
|
| 153 |
+
"fp": 316,
|
| 154 |
+
"fn": 209,
|
| 155 |
+
"precision": 0.9217,
|
| 156 |
+
"recall": 0.9468,
|
| 157 |
+
"f1": 0.9341
|
| 158 |
+
},
|
| 159 |
+
"PERCENT": {
|
| 160 |
+
"support": 33,
|
| 161 |
+
"pred": 33,
|
| 162 |
+
"tp": 32,
|
| 163 |
+
"fp": 1,
|
| 164 |
+
"fn": 1,
|
| 165 |
+
"precision": 0.9697,
|
| 166 |
+
"recall": 0.9697,
|
| 167 |
+
"f1": 0.9697
|
| 168 |
+
},
|
| 169 |
+
"PERS": {
|
| 170 |
+
"support": 1571,
|
| 171 |
+
"pred": 1582,
|
| 172 |
+
"tp": 1477,
|
| 173 |
+
"fp": 105,
|
| 174 |
+
"fn": 94,
|
| 175 |
+
"precision": 0.9336,
|
| 176 |
+
"recall": 0.9402,
|
| 177 |
+
"f1": 0.9369
|
| 178 |
+
},
|
| 179 |
+
"PRODUCT": {
|
| 180 |
+
"support": 19,
|
| 181 |
+
"pred": 19,
|
| 182 |
+
"tp": 14,
|
| 183 |
+
"fp": 5,
|
| 184 |
+
"fn": 5,
|
| 185 |
+
"precision": 0.7368,
|
| 186 |
+
"recall": 0.7368,
|
| 187 |
+
"f1": 0.7368
|
| 188 |
+
},
|
| 189 |
+
"QUANTITY": {
|
| 190 |
+
"support": 9,
|
| 191 |
+
"pred": 11,
|
| 192 |
+
"tp": 5,
|
| 193 |
+
"fp": 6,
|
| 194 |
+
"fn": 4,
|
| 195 |
+
"precision": 0.4545,
|
| 196 |
+
"recall": 0.5556,
|
| 197 |
+
"f1": 0.5
|
| 198 |
+
},
|
| 199 |
+
"TIME": {
|
| 200 |
+
"support": 84,
|
| 201 |
+
"pred": 90,
|
| 202 |
+
"tp": 63,
|
| 203 |
+
"fp": 27,
|
| 204 |
+
"fn": 21,
|
| 205 |
+
"precision": 0.7,
|
| 206 |
+
"recall": 0.75,
|
| 207 |
+
"f1": 0.7241
|
| 208 |
+
},
|
| 209 |
+
"UNIT": {
|
| 210 |
+
"support": 11,
|
| 211 |
+
"pred": 10,
|
| 212 |
+
"tp": 7,
|
| 213 |
+
"fp": 3,
|
| 214 |
+
"fn": 4,
|
| 215 |
+
"precision": 0.7,
|
| 216 |
+
"recall": 0.6364,
|
| 217 |
+
"f1": 0.6667
|
| 218 |
+
},
|
| 219 |
+
"WEBSITE": {
|
| 220 |
+
"support": 116,
|
| 221 |
+
"pred": 132,
|
| 222 |
+
"tp": 87,
|
| 223 |
+
"fp": 45,
|
| 224 |
+
"fn": 29,
|
| 225 |
+
"precision": 0.6591,
|
| 226 |
+
"recall": 0.75,
|
| 227 |
+
"f1": 0.7016
|
| 228 |
+
}
|
| 229 |
+
},
|
| 230 |
+
"per_domain": {
|
| 231 |
+
"Awraq_G1": {
|
| 232 |
+
"sentences": 931,
|
| 233 |
+
"support": 3316,
|
| 234 |
+
"precision": 0.9523,
|
| 235 |
+
"recall": 0.9692,
|
| 236 |
+
"f1": 0.9607
|
| 237 |
+
},
|
| 238 |
+
"Awraq_G2": {
|
| 239 |
+
"sentences": 979,
|
| 240 |
+
"support": 3498,
|
| 241 |
+
"precision": 0.9743,
|
| 242 |
+
"recall": 0.9771,
|
| 243 |
+
"f1": 0.9757
|
| 244 |
+
},
|
| 245 |
+
"Awraq_G3": {
|
| 246 |
+
"sentences": 1430,
|
| 247 |
+
"support": 4494,
|
| 248 |
+
"precision": 0.8707,
|
| 249 |
+
"recall": 0.8945,
|
| 250 |
+
"f1": 0.8824
|
| 251 |
+
},
|
| 252 |
+
"Curras": {
|
| 253 |
+
"sentences": 1045,
|
| 254 |
+
"support": 3797,
|
| 255 |
+
"precision": 0.9489,
|
| 256 |
+
"recall": 0.9637,
|
| 257 |
+
"f1": 0.9562
|
| 258 |
+
},
|
| 259 |
+
"Lebanese": {
|
| 260 |
+
"sentences": 85,
|
| 261 |
+
"support": 287,
|
| 262 |
+
"precision": 0.9448,
|
| 263 |
+
"recall": 0.9547,
|
| 264 |
+
"f1": 0.9497
|
| 265 |
+
},
|
| 266 |
+
"PCMA": {
|
| 267 |
+
"sentences": 209,
|
| 268 |
+
"support": 463,
|
| 269 |
+
"precision": 0.9893,
|
| 270 |
+
"recall": 0.9957,
|
| 271 |
+
"f1": 0.9925
|
| 272 |
+
},
|
| 273 |
+
"QUORA": {
|
| 274 |
+
"sentences": 530,
|
| 275 |
+
"support": 619,
|
| 276 |
+
"precision": 0.8344,
|
| 277 |
+
"recall": 0.8304,
|
| 278 |
+
"f1": 0.8324
|
| 279 |
+
},
|
| 280 |
+
"T1: Terrorism": {
|
| 281 |
+
"sentences": 276,
|
| 282 |
+
"support": 654,
|
| 283 |
+
"precision": 0.8824,
|
| 284 |
+
"recall": 0.8838,
|
| 285 |
+
"f1": 0.8831
|
| 286 |
+
},
|
| 287 |
+
"T2: Foreign policy": {
|
| 288 |
+
"sentences": 288,
|
| 289 |
+
"support": 617,
|
| 290 |
+
"precision": 0.8781,
|
| 291 |
+
"recall": 0.8525,
|
| 292 |
+
"f1": 0.8651
|
| 293 |
+
},
|
| 294 |
+
"T3: Security": {
|
| 295 |
+
"sentences": 166,
|
| 296 |
+
"support": 123,
|
| 297 |
+
"precision": 0.6515,
|
| 298 |
+
"recall": 0.6992,
|
| 299 |
+
"f1": 0.6745
|
| 300 |
+
},
|
| 301 |
+
"T4: Elections": {
|
| 302 |
+
"sentences": 322,
|
| 303 |
+
"support": 179,
|
| 304 |
+
"precision": 0.6816,
|
| 305 |
+
"recall": 0.6816,
|
| 306 |
+
"f1": 0.6816
|
| 307 |
+
},
|
| 308 |
+
"T5: Migration": {
|
| 309 |
+
"sentences": 129,
|
| 310 |
+
"support": 49,
|
| 311 |
+
"precision": 0.6212,
|
| 312 |
+
"recall": 0.8367,
|
| 313 |
+
"f1": 0.713
|
| 314 |
+
},
|
| 315 |
+
"T6: Health policy": {
|
| 316 |
+
"sentences": 216,
|
| 317 |
+
"support": 114,
|
| 318 |
+
"precision": 0.8475,
|
| 319 |
+
"recall": 0.8772,
|
| 320 |
+
"f1": 0.8621
|
| 321 |
+
}
|
| 322 |
+
}
|
| 323 |
+
},
|
| 324 |
+
"EXP-002 MARBERTv2 nested": {
|
| 325 |
+
"overall": {
|
| 326 |
+
"precision": 0.9058,
|
| 327 |
+
"recall": 0.911,
|
| 328 |
+
"f1": 0.9084,
|
| 329 |
+
"tp": 16590,
|
| 330 |
+
"fp": 1726,
|
| 331 |
+
"fn": 1620,
|
| 332 |
+
"gold_entities": 18210,
|
| 333 |
+
"pred_entities": 18316,
|
| 334 |
+
"macro_f1_over_types": 0.5877
|
| 335 |
+
},
|
| 336 |
+
"per_type": {
|
| 337 |
+
"CARDINAL": {
|
| 338 |
+
"support": 342,
|
| 339 |
+
"pred": 341,
|
| 340 |
+
"tp": 289,
|
| 341 |
+
"fp": 52,
|
| 342 |
+
"fn": 53,
|
| 343 |
+
"precision": 0.8475,
|
| 344 |
+
"recall": 0.845,
|
| 345 |
+
"f1": 0.8463
|
| 346 |
+
},
|
| 347 |
+
"CURR": {
|
| 348 |
+
"support": 41,
|
| 349 |
+
"pred": 2,
|
| 350 |
+
"tp": 1,
|
| 351 |
+
"fp": 1,
|
| 352 |
+
"fn": 40,
|
| 353 |
+
"precision": 0.5,
|
| 354 |
+
"recall": 0.0244,
|
| 355 |
+
"f1": 0.0465
|
| 356 |
+
},
|
| 357 |
+
"DATE": {
|
| 358 |
+
"support": 3206,
|
| 359 |
+
"pred": 3238,
|
| 360 |
+
"tp": 3079,
|
| 361 |
+
"fp": 159,
|
| 362 |
+
"fn": 127,
|
| 363 |
+
"precision": 0.9509,
|
| 364 |
+
"recall": 0.9604,
|
| 365 |
+
"f1": 0.9556
|
| 366 |
+
},
|
| 367 |
+
"EVENT": {
|
| 368 |
+
"support": 570,
|
| 369 |
+
"pred": 612,
|
| 370 |
+
"tp": 437,
|
| 371 |
+
"fp": 175,
|
| 372 |
+
"fn": 133,
|
| 373 |
+
"precision": 0.7141,
|
| 374 |
+
"recall": 0.7667,
|
| 375 |
+
"f1": 0.7394
|
| 376 |
+
},
|
| 377 |
+
"FAC": {
|
| 378 |
+
"support": 246,
|
| 379 |
+
"pred": 247,
|
| 380 |
+
"tp": 170,
|
| 381 |
+
"fp": 77,
|
| 382 |
+
"fn": 76,
|
| 383 |
+
"precision": 0.6883,
|
| 384 |
+
"recall": 0.6911,
|
| 385 |
+
"f1": 0.6897
|
| 386 |
+
},
|
| 387 |
+
"GPE": {
|
| 388 |
+
"support": 4344,
|
| 389 |
+
"pred": 4349,
|
| 390 |
+
"tp": 4179,
|
| 391 |
+
"fp": 170,
|
| 392 |
+
"fn": 165,
|
| 393 |
+
"precision": 0.9609,
|
| 394 |
+
"recall": 0.962,
|
| 395 |
+
"f1": 0.9615
|
| 396 |
+
},
|
| 397 |
+
"LANGUAGE": {
|
| 398 |
+
"support": 44,
|
| 399 |
+
"pred": 10,
|
| 400 |
+
"tp": 10,
|
| 401 |
+
"fp": 0,
|
| 402 |
+
"fn": 34,
|
| 403 |
+
"precision": 1.0,
|
| 404 |
+
"recall": 0.2273,
|
| 405 |
+
"f1": 0.3704
|
| 406 |
+
},
|
| 407 |
+
"LAW": {
|
| 408 |
+
"support": 90,
|
| 409 |
+
"pred": 100,
|
| 410 |
+
"tp": 74,
|
| 411 |
+
"fp": 26,
|
| 412 |
+
"fn": 16,
|
| 413 |
+
"precision": 0.74,
|
| 414 |
+
"recall": 0.8222,
|
| 415 |
+
"f1": 0.7789
|
| 416 |
+
},
|
| 417 |
+
"LOC": {
|
| 418 |
+
"support": 219,
|
| 419 |
+
"pred": 201,
|
| 420 |
+
"tp": 161,
|
| 421 |
+
"fp": 40,
|
| 422 |
+
"fn": 58,
|
| 423 |
+
"precision": 0.801,
|
| 424 |
+
"recall": 0.7352,
|
| 425 |
+
"f1": 0.7667
|
| 426 |
+
},
|
| 427 |
+
"MONEY": {
|
| 428 |
+
"support": 33,
|
| 429 |
+
"pred": 36,
|
| 430 |
+
"tp": 26,
|
| 431 |
+
"fp": 10,
|
| 432 |
+
"fn": 7,
|
| 433 |
+
"precision": 0.7222,
|
| 434 |
+
"recall": 0.7879,
|
| 435 |
+
"f1": 0.7536
|
| 436 |
+
},
|
| 437 |
+
"NORP": {
|
| 438 |
+
"support": 1095,
|
| 439 |
+
"pred": 1166,
|
| 440 |
+
"tp": 902,
|
| 441 |
+
"fp": 264,
|
| 442 |
+
"fn": 193,
|
| 443 |
+
"precision": 0.7736,
|
| 444 |
+
"recall": 0.8237,
|
| 445 |
+
"f1": 0.7979
|
| 446 |
+
},
|
| 447 |
+
"OCC": {
|
| 448 |
+
"support": 1126,
|
| 449 |
+
"pred": 1156,
|
| 450 |
+
"tp": 1017,
|
| 451 |
+
"fp": 139,
|
| 452 |
+
"fn": 109,
|
| 453 |
+
"precision": 0.8798,
|
| 454 |
+
"recall": 0.9032,
|
| 455 |
+
"f1": 0.8913
|
| 456 |
+
},
|
| 457 |
+
"ORDINAL": {
|
| 458 |
+
"support": 1083,
|
| 459 |
+
"pred": 1048,
|
| 460 |
+
"tp": 1017,
|
| 461 |
+
"fp": 31,
|
| 462 |
+
"fn": 66,
|
| 463 |
+
"precision": 0.9704,
|
| 464 |
+
"recall": 0.9391,
|
| 465 |
+
"f1": 0.9545
|
| 466 |
+
},
|
| 467 |
+
"ORG": {
|
| 468 |
+
"support": 3928,
|
| 469 |
+
"pred": 4047,
|
| 470 |
+
"tp": 3682,
|
| 471 |
+
"fp": 365,
|
| 472 |
+
"fn": 246,
|
| 473 |
+
"precision": 0.9098,
|
| 474 |
+
"recall": 0.9374,
|
| 475 |
+
"f1": 0.9234
|
| 476 |
+
},
|
| 477 |
+
"PERCENT": {
|
| 478 |
+
"support": 33,
|
| 479 |
+
"pred": 30,
|
| 480 |
+
"tp": 0,
|
| 481 |
+
"fp": 30,
|
| 482 |
+
"fn": 33,
|
| 483 |
+
"precision": 0.0,
|
| 484 |
+
"recall": 0.0,
|
| 485 |
+
"f1": 0.0
|
| 486 |
+
},
|
| 487 |
+
"PERS": {
|
| 488 |
+
"support": 1571,
|
| 489 |
+
"pred": 1591,
|
| 490 |
+
"tp": 1463,
|
| 491 |
+
"fp": 128,
|
| 492 |
+
"fn": 108,
|
| 493 |
+
"precision": 0.9195,
|
| 494 |
+
"recall": 0.9313,
|
| 495 |
+
"f1": 0.9254
|
| 496 |
+
},
|
| 497 |
+
"PRODUCT": {
|
| 498 |
+
"support": 19,
|
| 499 |
+
"pred": 0,
|
| 500 |
+
"tp": 0,
|
| 501 |
+
"fp": 0,
|
| 502 |
+
"fn": 19,
|
| 503 |
+
"precision": 0.0,
|
| 504 |
+
"recall": 0.0,
|
| 505 |
+
"f1": 0.0
|
| 506 |
+
},
|
| 507 |
+
"QUANTITY": {
|
| 508 |
+
"support": 9,
|
| 509 |
+
"pred": 0,
|
| 510 |
+
"tp": 0,
|
| 511 |
+
"fp": 0,
|
| 512 |
+
"fn": 9,
|
| 513 |
+
"precision": 0.0,
|
| 514 |
+
"recall": 0.0,
|
| 515 |
+
"f1": 0.0
|
| 516 |
+
},
|
| 517 |
+
"TIME": {
|
| 518 |
+
"support": 84,
|
| 519 |
+
"pred": 41,
|
| 520 |
+
"tp": 26,
|
| 521 |
+
"fp": 15,
|
| 522 |
+
"fn": 58,
|
| 523 |
+
"precision": 0.6341,
|
| 524 |
+
"recall": 0.3095,
|
| 525 |
+
"f1": 0.416
|
| 526 |
+
},
|
| 527 |
+
"UNIT": {
|
| 528 |
+
"support": 11,
|
| 529 |
+
"pred": 0,
|
| 530 |
+
"tp": 0,
|
| 531 |
+
"fp": 0,
|
| 532 |
+
"fn": 11,
|
| 533 |
+
"precision": 0.0,
|
| 534 |
+
"recall": 0.0,
|
| 535 |
+
"f1": 0.0
|
| 536 |
+
},
|
| 537 |
+
"WEBSITE": {
|
| 538 |
+
"support": 116,
|
| 539 |
+
"pred": 101,
|
| 540 |
+
"tp": 57,
|
| 541 |
+
"fp": 44,
|
| 542 |
+
"fn": 59,
|
| 543 |
+
"precision": 0.5644,
|
| 544 |
+
"recall": 0.4914,
|
| 545 |
+
"f1": 0.5253
|
| 546 |
+
}
|
| 547 |
+
},
|
| 548 |
+
"per_domain": {
|
| 549 |
+
"Awraq_G1": {
|
| 550 |
+
"sentences": 931,
|
| 551 |
+
"support": 3316,
|
| 552 |
+
"precision": 0.9388,
|
| 553 |
+
"recall": 0.9524,
|
| 554 |
+
"f1": 0.9455
|
| 555 |
+
},
|
| 556 |
+
"Awraq_G2": {
|
| 557 |
+
"sentences": 979,
|
| 558 |
+
"support": 3498,
|
| 559 |
+
"precision": 0.9681,
|
| 560 |
+
"recall": 0.9706,
|
| 561 |
+
"f1": 0.9693
|
| 562 |
+
},
|
| 563 |
+
"Awraq_G3": {
|
| 564 |
+
"sentences": 1430,
|
| 565 |
+
"support": 4494,
|
| 566 |
+
"precision": 0.8475,
|
| 567 |
+
"recall": 0.856,
|
| 568 |
+
"f1": 0.8518
|
| 569 |
+
},
|
| 570 |
+
"Curras": {
|
| 571 |
+
"sentences": 1045,
|
| 572 |
+
"support": 3797,
|
| 573 |
+
"precision": 0.9385,
|
| 574 |
+
"recall": 0.9529,
|
| 575 |
+
"f1": 0.9456
|
| 576 |
+
},
|
| 577 |
+
"Lebanese": {
|
| 578 |
+
"sentences": 85,
|
| 579 |
+
"support": 287,
|
| 580 |
+
"precision": 0.9315,
|
| 581 |
+
"recall": 0.9477,
|
| 582 |
+
"f1": 0.9396
|
| 583 |
+
},
|
| 584 |
+
"PCMA": {
|
| 585 |
+
"sentences": 209,
|
| 586 |
+
"support": 463,
|
| 587 |
+
"precision": 0.985,
|
| 588 |
+
"recall": 0.9935,
|
| 589 |
+
"f1": 0.9892
|
| 590 |
+
},
|
| 591 |
+
"QUORA": {
|
| 592 |
+
"sentences": 530,
|
| 593 |
+
"support": 619,
|
| 594 |
+
"precision": 0.7857,
|
| 595 |
+
"recall": 0.7641,
|
| 596 |
+
"f1": 0.7748
|
| 597 |
+
},
|
| 598 |
+
"T1: Terrorism": {
|
| 599 |
+
"sentences": 276,
|
| 600 |
+
"support": 654,
|
| 601 |
+
"precision": 0.8674,
|
| 602 |
+
"recall": 0.8502,
|
| 603 |
+
"f1": 0.8587
|
| 604 |
+
},
|
| 605 |
+
"T2: Foreign policy": {
|
| 606 |
+
"sentences": 288,
|
| 607 |
+
"support": 617,
|
| 608 |
+
"precision": 0.8232,
|
| 609 |
+
"recall": 0.8152,
|
| 610 |
+
"f1": 0.8192
|
| 611 |
+
},
|
| 612 |
+
"T3: Security": {
|
| 613 |
+
"sentences": 166,
|
| 614 |
+
"support": 123,
|
| 615 |
+
"precision": 0.6198,
|
| 616 |
+
"recall": 0.6098,
|
| 617 |
+
"f1": 0.6148
|
| 618 |
+
},
|
| 619 |
+
"T4: Elections": {
|
| 620 |
+
"sentences": 322,
|
| 621 |
+
"support": 179,
|
| 622 |
+
"precision": 0.6752,
|
| 623 |
+
"recall": 0.5922,
|
| 624 |
+
"f1": 0.631
|
| 625 |
+
},
|
| 626 |
+
"T5: Migration": {
|
| 627 |
+
"sentences": 129,
|
| 628 |
+
"support": 49,
|
| 629 |
+
"precision": 0.6531,
|
| 630 |
+
"recall": 0.6531,
|
| 631 |
+
"f1": 0.6531
|
| 632 |
+
},
|
| 633 |
+
"T6: Health policy": {
|
| 634 |
+
"sentences": 216,
|
| 635 |
+
"support": 114,
|
| 636 |
+
"precision": 0.8559,
|
| 637 |
+
"recall": 0.8333,
|
| 638 |
+
"f1": 0.8444
|
| 639 |
+
}
|
| 640 |
+
}
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
}
|
experiments/EXP-001_AraBERTv02_Flat/final_metrics.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"eval_loss": 0.1355871558189392,
|
| 4 |
+
"eval_precision": 0.8907770316568453,
|
| 5 |
+
"eval_recall": 0.9101092131055727,
|
| 6 |
+
"eval_f1": 0.9003393586813491
|
| 7 |
+
},
|
| 8 |
+
"per_domain": [
|
| 9 |
+
{
|
| 10 |
+
"domain": "Awraq_G1",
|
| 11 |
+
"n": 466,
|
| 12 |
+
"f1": 0.9379968203497615
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"domain": "Awraq_G2",
|
| 16 |
+
"n": 490,
|
| 17 |
+
"f1": 0.9378925331472435
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"domain": "Awraq_G3",
|
| 21 |
+
"n": 714,
|
| 22 |
+
"f1": 0.9702786377708978
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"domain": "Curras",
|
| 26 |
+
"n": 523,
|
| 27 |
+
"f1": 0.8203883495145632
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"domain": "Lebanese",
|
| 31 |
+
"n": 42,
|
| 32 |
+
"f1": 0.588235294117647
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"domain": "PCMA",
|
| 36 |
+
"n": 105,
|
| 37 |
+
"f1": 0.8418803418803419
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"domain": "QUORA",
|
| 41 |
+
"n": 265,
|
| 42 |
+
"f1": 0.6832579185520361
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"domain": "T1: Terrorism",
|
| 46 |
+
"n": 138,
|
| 47 |
+
"f1": 0.852540272614622
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"domain": "T2: Foreign policy",
|
| 51 |
+
"n": 144,
|
| 52 |
+
"f1": 0.8058455114822548
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"domain": "T3: Security",
|
| 56 |
+
"n": 83,
|
| 57 |
+
"f1": 0.8053097345132743
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"domain": "T4: Elections",
|
| 61 |
+
"n": 161,
|
| 62 |
+
"f1": 0.9389473684210526
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"domain": "T5: Migration",
|
| 66 |
+
"n": 65,
|
| 67 |
+
"f1": 0.8862275449101796
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"domain": "T6: Health policy",
|
| 71 |
+
"n": 108,
|
| 72 |
+
"f1": 0.839924670433145
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
}
|
experiments/EXP-001_AraBERTv02_Flat/repro_bundle.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"exp_id": "EXP-001",
|
| 3 |
+
"config": {
|
| 4 |
+
"exp_id": "EXP-001",
|
| 5 |
+
"run_name": "arabertv02_wojood_flat_baseline",
|
| 6 |
+
"model_name": "aubmindlab/bert-base-arabertv02",
|
| 7 |
+
"drive_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset",
|
| 8 |
+
"data_variant": "flat",
|
| 9 |
+
"text_col": "token",
|
| 10 |
+
"tag_col": "tags",
|
| 11 |
+
"sent_col": "global_sentence_id",
|
| 12 |
+
"order_col": "token_position",
|
| 13 |
+
"domain_col": "Sub_corpus",
|
| 14 |
+
"output_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/02_models",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"max_length": 256,
|
| 17 |
+
"num_train_epochs": 8,
|
| 18 |
+
"learning_rate": 3e-05,
|
| 19 |
+
"weight_decay": 0.01,
|
| 20 |
+
"warmup_ratio": 0.1,
|
| 21 |
+
"label_all_subtokens": false,
|
| 22 |
+
"per_device_train_batch_size": 32,
|
| 23 |
+
"per_device_eval_batch_size": 64,
|
| 24 |
+
"gradient_accumulation_steps": 1,
|
| 25 |
+
"bf16": true,
|
| 26 |
+
"tf32": true,
|
| 27 |
+
"gradient_checkpointing": false,
|
| 28 |
+
"dataloader_num_workers": 2,
|
| 29 |
+
"group_by_length": true,
|
| 30 |
+
"save_total_limit": 2,
|
| 31 |
+
"early_stopping_patience": 3
|
| 32 |
+
},
|
| 33 |
+
"data_paths": {
|
| 34 |
+
"train": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/train.csv",
|
| 35 |
+
"dev": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/val.csv",
|
| 36 |
+
"test": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/test.csv"
|
| 37 |
+
},
|
| 38 |
+
"n_train_sentences": 23125,
|
| 39 |
+
"n_dev_sentences": 3304,
|
| 40 |
+
"labels": [
|
| 41 |
+
"O",
|
| 42 |
+
"B-CARDINAL",
|
| 43 |
+
"B-CURR",
|
| 44 |
+
"B-DATE",
|
| 45 |
+
"B-EVENT",
|
| 46 |
+
"B-FAC",
|
| 47 |
+
"B-GPE",
|
| 48 |
+
"B-LANGUAGE",
|
| 49 |
+
"B-LAW",
|
| 50 |
+
"B-LOC",
|
| 51 |
+
"B-MONEY",
|
| 52 |
+
"B-NORP",
|
| 53 |
+
"B-OCC",
|
| 54 |
+
"B-ORDINAL",
|
| 55 |
+
"B-ORG",
|
| 56 |
+
"B-PERCENT",
|
| 57 |
+
"B-PERS",
|
| 58 |
+
"B-PRODUCT",
|
| 59 |
+
"B-QUANTITY",
|
| 60 |
+
"B-TIME",
|
| 61 |
+
"B-UNIT",
|
| 62 |
+
"B-WEBSITE",
|
| 63 |
+
"I-CARDINAL",
|
| 64 |
+
"I-CURR",
|
| 65 |
+
"I-DATE",
|
| 66 |
+
"I-EVENT",
|
| 67 |
+
"I-FAC",
|
| 68 |
+
"I-GPE",
|
| 69 |
+
"I-LANGUAGE",
|
| 70 |
+
"I-LAW",
|
| 71 |
+
"I-LOC",
|
| 72 |
+
"I-MONEY",
|
| 73 |
+
"I-NORP",
|
| 74 |
+
"I-OCC",
|
| 75 |
+
"I-ORDINAL",
|
| 76 |
+
"I-ORG",
|
| 77 |
+
"I-PERCENT",
|
| 78 |
+
"I-PERS",
|
| 79 |
+
"I-PRODUCT",
|
| 80 |
+
"I-QUANTITY",
|
| 81 |
+
"I-TIME",
|
| 82 |
+
"I-WEBSITE"
|
| 83 |
+
],
|
| 84 |
+
"label2id": {
|
| 85 |
+
"O": 0,
|
| 86 |
+
"B-CARDINAL": 1,
|
| 87 |
+
"B-CURR": 2,
|
| 88 |
+
"B-DATE": 3,
|
| 89 |
+
"B-EVENT": 4,
|
| 90 |
+
"B-FAC": 5,
|
| 91 |
+
"B-GPE": 6,
|
| 92 |
+
"B-LANGUAGE": 7,
|
| 93 |
+
"B-LAW": 8,
|
| 94 |
+
"B-LOC": 9,
|
| 95 |
+
"B-MONEY": 10,
|
| 96 |
+
"B-NORP": 11,
|
| 97 |
+
"B-OCC": 12,
|
| 98 |
+
"B-ORDINAL": 13,
|
| 99 |
+
"B-ORG": 14,
|
| 100 |
+
"B-PERCENT": 15,
|
| 101 |
+
"B-PERS": 16,
|
| 102 |
+
"B-PRODUCT": 17,
|
| 103 |
+
"B-QUANTITY": 18,
|
| 104 |
+
"B-TIME": 19,
|
| 105 |
+
"B-UNIT": 20,
|
| 106 |
+
"B-WEBSITE": 21,
|
| 107 |
+
"I-CARDINAL": 22,
|
| 108 |
+
"I-CURR": 23,
|
| 109 |
+
"I-DATE": 24,
|
| 110 |
+
"I-EVENT": 25,
|
| 111 |
+
"I-FAC": 26,
|
| 112 |
+
"I-GPE": 27,
|
| 113 |
+
"I-LANGUAGE": 28,
|
| 114 |
+
"I-LAW": 29,
|
| 115 |
+
"I-LOC": 30,
|
| 116 |
+
"I-MONEY": 31,
|
| 117 |
+
"I-NORP": 32,
|
| 118 |
+
"I-OCC": 33,
|
| 119 |
+
"I-ORDINAL": 34,
|
| 120 |
+
"I-ORG": 35,
|
| 121 |
+
"I-PERCENT": 36,
|
| 122 |
+
"I-PERS": 37,
|
| 123 |
+
"I-PRODUCT": 38,
|
| 124 |
+
"I-QUANTITY": 39,
|
| 125 |
+
"I-TIME": 40,
|
| 126 |
+
"I-WEBSITE": 41
|
| 127 |
+
},
|
| 128 |
+
"python": "3.12.13",
|
| 129 |
+
"versions": {
|
| 130 |
+
"torch": "2.11.0+cu128",
|
| 131 |
+
"transformers": "5.10.2",
|
| 132 |
+
"datasets": "4.0.0",
|
| 133 |
+
"seqeval": "unknown",
|
| 134 |
+
"cuda": "12.8",
|
| 135 |
+
"gpu": "Tesla T4"
|
| 136 |
+
}
|
| 137 |
+
}
|
experiments/EXP-001_AraBERTv02_Nested/final_metrics.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"eval_loss": 0.003693911014124751,
|
| 4 |
+
"eval_precision": 0.9177753544165758,
|
| 5 |
+
"eval_recall": 0.9312825052561691,
|
| 6 |
+
"eval_f1": 0.9244795957598726
|
| 7 |
+
},
|
| 8 |
+
"per_domain": [
|
| 9 |
+
{
|
| 10 |
+
"domain": "Awraq_G1",
|
| 11 |
+
"n": 466,
|
| 12 |
+
"f1": 0.9519527957291374
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"domain": "Awraq_G2",
|
| 16 |
+
"n": 490,
|
| 17 |
+
"f1": 0.9622844827586208
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"domain": "Awraq_G3",
|
| 21 |
+
"n": 714,
|
| 22 |
+
"f1": 0.9833032490974729
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"domain": "Curras",
|
| 26 |
+
"n": 523,
|
| 27 |
+
"f1": 0.8205128205128205
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"domain": "Lebanese",
|
| 31 |
+
"n": 42,
|
| 32 |
+
"f1": 0.56
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"domain": "PCMA",
|
| 36 |
+
"n": 105,
|
| 37 |
+
"f1": 0.8802177858439201
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"domain": "QUORA",
|
| 41 |
+
"n": 265,
|
| 42 |
+
"f1": 0.6832579185520362
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"domain": "T1: Terrorism",
|
| 46 |
+
"n": 138,
|
| 47 |
+
"f1": 0.9020452099031218
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"domain": "T2: Foreign policy",
|
| 51 |
+
"n": 144,
|
| 52 |
+
"f1": 0.8025594149908594
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"domain": "T3: Security",
|
| 56 |
+
"n": 83,
|
| 57 |
+
"f1": 0.8571428571428572
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"domain": "T4: Elections",
|
| 61 |
+
"n": 161,
|
| 62 |
+
"f1": 0.9418181818181818
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"domain": "T5: Migration",
|
| 66 |
+
"n": 65,
|
| 67 |
+
"f1": 0.899135446685879
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"domain": "T6: Health policy",
|
| 71 |
+
"n": 108,
|
| 72 |
+
"f1": 0.8590381426202321
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
}
|
experiments/EXP-001_AraBERTv02_Nested/repro_bundle.json
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"exp_id": "EXP-001",
|
| 3 |
+
"config": {
|
| 4 |
+
"exp_id": "EXP-001",
|
| 5 |
+
"run_name": "arabertv02_wojood_nested",
|
| 6 |
+
"model_name": "aubmindlab/bert-base-arabertv02",
|
| 7 |
+
"drive_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset",
|
| 8 |
+
"data_variant": "nested",
|
| 9 |
+
"text_col": "token",
|
| 10 |
+
"tag_col": "tags",
|
| 11 |
+
"sent_col": "global_sentence_id",
|
| 12 |
+
"order_col": "token_position",
|
| 13 |
+
"domain_col": "Sub_corpus",
|
| 14 |
+
"tag_split_regex": "[\\s|,;+]+",
|
| 15 |
+
"output_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/02_models",
|
| 16 |
+
"hf_username": "FatimahEmadEldin",
|
| 17 |
+
"hf_private": true,
|
| 18 |
+
"seed": 42,
|
| 19 |
+
"max_length": 256,
|
| 20 |
+
"num_train_epochs": 8,
|
| 21 |
+
"learning_rate": 3e-05,
|
| 22 |
+
"weight_decay": 0.01,
|
| 23 |
+
"warmup_ratio": 0.1,
|
| 24 |
+
"pred_threshold": 0.5,
|
| 25 |
+
"per_device_train_batch_size": 32,
|
| 26 |
+
"per_device_eval_batch_size": 64,
|
| 27 |
+
"gradient_accumulation_steps": 1,
|
| 28 |
+
"bf16": true,
|
| 29 |
+
"tf32": true,
|
| 30 |
+
"gradient_checkpointing": false,
|
| 31 |
+
"dataloader_num_workers": 2,
|
| 32 |
+
"group_by_length": false,
|
| 33 |
+
"save_total_limit": 2,
|
| 34 |
+
"early_stopping_patience": 3
|
| 35 |
+
},
|
| 36 |
+
"data_paths": {
|
| 37 |
+
"train": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/train.csv",
|
| 38 |
+
"dev": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/val.csv",
|
| 39 |
+
"test": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/test.csv"
|
| 40 |
+
},
|
| 41 |
+
"n_train_sentences": 23125,
|
| 42 |
+
"n_dev_sentences": 3304,
|
| 43 |
+
"labels": [
|
| 44 |
+
"B-CARDINAL",
|
| 45 |
+
"B-CURR",
|
| 46 |
+
"B-DATE",
|
| 47 |
+
"B-EVENT",
|
| 48 |
+
"B-FAC",
|
| 49 |
+
"B-GPE",
|
| 50 |
+
"B-LANGUAGE",
|
| 51 |
+
"B-LAW",
|
| 52 |
+
"B-LOC",
|
| 53 |
+
"B-MONEY",
|
| 54 |
+
"B-NORP",
|
| 55 |
+
"B-OCC",
|
| 56 |
+
"B-ORDINAL",
|
| 57 |
+
"B-ORG",
|
| 58 |
+
"B-PERCENT",
|
| 59 |
+
"B-PERS",
|
| 60 |
+
"B-PRODUCT",
|
| 61 |
+
"B-QUANTITY",
|
| 62 |
+
"B-TIME",
|
| 63 |
+
"B-UNIT",
|
| 64 |
+
"B-WEBSITE",
|
| 65 |
+
"I-CARDINAL",
|
| 66 |
+
"I-CURR",
|
| 67 |
+
"I-DATE",
|
| 68 |
+
"I-EVENT",
|
| 69 |
+
"I-FAC",
|
| 70 |
+
"I-GPE",
|
| 71 |
+
"I-LANGUAGE",
|
| 72 |
+
"I-LAW",
|
| 73 |
+
"I-LOC",
|
| 74 |
+
"I-MONEY",
|
| 75 |
+
"I-NORP",
|
| 76 |
+
"I-OCC",
|
| 77 |
+
"I-ORDINAL",
|
| 78 |
+
"I-ORG",
|
| 79 |
+
"I-PERCENT",
|
| 80 |
+
"I-PERS",
|
| 81 |
+
"I-PRODUCT",
|
| 82 |
+
"I-QUANTITY",
|
| 83 |
+
"I-TIME",
|
| 84 |
+
"I-UNIT",
|
| 85 |
+
"I-WEBSITE"
|
| 86 |
+
],
|
| 87 |
+
"label2id": {
|
| 88 |
+
"B-CARDINAL": 0,
|
| 89 |
+
"B-CURR": 1,
|
| 90 |
+
"B-DATE": 2,
|
| 91 |
+
"B-EVENT": 3,
|
| 92 |
+
"B-FAC": 4,
|
| 93 |
+
"B-GPE": 5,
|
| 94 |
+
"B-LANGUAGE": 6,
|
| 95 |
+
"B-LAW": 7,
|
| 96 |
+
"B-LOC": 8,
|
| 97 |
+
"B-MONEY": 9,
|
| 98 |
+
"B-NORP": 10,
|
| 99 |
+
"B-OCC": 11,
|
| 100 |
+
"B-ORDINAL": 12,
|
| 101 |
+
"B-ORG": 13,
|
| 102 |
+
"B-PERCENT": 14,
|
| 103 |
+
"B-PERS": 15,
|
| 104 |
+
"B-PRODUCT": 16,
|
| 105 |
+
"B-QUANTITY": 17,
|
| 106 |
+
"B-TIME": 18,
|
| 107 |
+
"B-UNIT": 19,
|
| 108 |
+
"B-WEBSITE": 20,
|
| 109 |
+
"I-CARDINAL": 21,
|
| 110 |
+
"I-CURR": 22,
|
| 111 |
+
"I-DATE": 23,
|
| 112 |
+
"I-EVENT": 24,
|
| 113 |
+
"I-FAC": 25,
|
| 114 |
+
"I-GPE": 26,
|
| 115 |
+
"I-LANGUAGE": 27,
|
| 116 |
+
"I-LAW": 28,
|
| 117 |
+
"I-LOC": 29,
|
| 118 |
+
"I-MONEY": 30,
|
| 119 |
+
"I-NORP": 31,
|
| 120 |
+
"I-OCC": 32,
|
| 121 |
+
"I-ORDINAL": 33,
|
| 122 |
+
"I-ORG": 34,
|
| 123 |
+
"I-PERCENT": 35,
|
| 124 |
+
"I-PERS": 36,
|
| 125 |
+
"I-PRODUCT": 37,
|
| 126 |
+
"I-QUANTITY": 38,
|
| 127 |
+
"I-TIME": 39,
|
| 128 |
+
"I-UNIT": 40,
|
| 129 |
+
"I-WEBSITE": 41
|
| 130 |
+
},
|
| 131 |
+
"task": "nested-multilabel-ner",
|
| 132 |
+
"python": "3.12.13",
|
| 133 |
+
"versions": {
|
| 134 |
+
"torch": "2.11.0+cu128",
|
| 135 |
+
"transformers": "5.13.1",
|
| 136 |
+
"datasets": "4.0.0",
|
| 137 |
+
"cuda": "12.8",
|
| 138 |
+
"gpu": "NVIDIA A100-SXM4-40GB"
|
| 139 |
+
}
|
| 140 |
+
}
|
experiments/EXP-001_AraBERTv02_Nested/test_metrics.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"test_precision": 0.9207663581750284,
|
| 4 |
+
"test_recall": 0.936220559101915,
|
| 5 |
+
"test_f1": 0.9284291522278916
|
| 6 |
+
},
|
| 7 |
+
"per_domain": [
|
| 8 |
+
{
|
| 9 |
+
"domain": "Awraq_G1",
|
| 10 |
+
"n": 931,
|
| 11 |
+
"f1": 0.9536539299723957
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"domain": "Awraq_G2",
|
| 15 |
+
"n": 979,
|
| 16 |
+
"f1": 0.9601776051061467
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"domain": "Awraq_G3",
|
| 20 |
+
"n": 1430,
|
| 21 |
+
"f1": 0.9774239284545752
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"domain": "Curras",
|
| 25 |
+
"n": 1045,
|
| 26 |
+
"f1": 0.8439051296194153
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"domain": "Lebanese",
|
| 30 |
+
"n": 85,
|
| 31 |
+
"f1": 0.6074074074074075
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"domain": "PCMA",
|
| 35 |
+
"n": 209,
|
| 36 |
+
"f1": 0.9075691411935954
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"domain": "QUORA",
|
| 40 |
+
"n": 530,
|
| 41 |
+
"f1": 0.6876640419947506
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"domain": "T1: Terrorism",
|
| 45 |
+
"n": 276,
|
| 46 |
+
"f1": 0.9138495092693566
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"domain": "T2: Foreign policy",
|
| 50 |
+
"n": 288,
|
| 51 |
+
"f1": 0.8189323059988993
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"domain": "T3: Security",
|
| 55 |
+
"n": 166,
|
| 56 |
+
"f1": 0.8485385296722763
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"domain": "T4: Elections",
|
| 60 |
+
"n": 322,
|
| 61 |
+
"f1": 0.9434571890145397
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"domain": "T5: Migration",
|
| 65 |
+
"n": 129,
|
| 66 |
+
"f1": 0.8214285714285714
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"domain": "T6: Health policy",
|
| 70 |
+
"n": 216,
|
| 71 |
+
"f1": 0.889060092449923
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
}
|
experiments/EXP-002_MARBERTv2_Flat/config.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"directionality": "bidi",
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"gradient_checkpointing": false,
|
| 13 |
+
"hidden_act": "gelu",
|
| 14 |
+
"hidden_dropout_prob": 0.1,
|
| 15 |
+
"hidden_size": 768,
|
| 16 |
+
"id2label": {
|
| 17 |
+
"0": "O",
|
| 18 |
+
"1": "B-CARDINAL",
|
| 19 |
+
"2": "B-CURR",
|
| 20 |
+
"3": "B-DATE",
|
| 21 |
+
"4": "B-EVENT",
|
| 22 |
+
"5": "B-FAC",
|
| 23 |
+
"6": "B-GPE",
|
| 24 |
+
"7": "B-LANGUAGE",
|
| 25 |
+
"8": "B-LAW",
|
| 26 |
+
"9": "B-LOC",
|
| 27 |
+
"10": "B-MONEY",
|
| 28 |
+
"11": "B-NORP",
|
| 29 |
+
"12": "B-OCC",
|
| 30 |
+
"13": "B-ORDINAL",
|
| 31 |
+
"14": "B-ORG",
|
| 32 |
+
"15": "B-PERCENT",
|
| 33 |
+
"16": "B-PERS",
|
| 34 |
+
"17": "B-PRODUCT",
|
| 35 |
+
"18": "B-QUANTITY",
|
| 36 |
+
"19": "B-TIME",
|
| 37 |
+
"20": "B-UNIT",
|
| 38 |
+
"21": "B-WEBSITE",
|
| 39 |
+
"22": "I-CARDINAL",
|
| 40 |
+
"23": "I-CURR",
|
| 41 |
+
"24": "I-DATE",
|
| 42 |
+
"25": "I-EVENT",
|
| 43 |
+
"26": "I-FAC",
|
| 44 |
+
"27": "I-GPE",
|
| 45 |
+
"28": "I-LANGUAGE",
|
| 46 |
+
"29": "I-LAW",
|
| 47 |
+
"30": "I-LOC",
|
| 48 |
+
"31": "I-MONEY",
|
| 49 |
+
"32": "I-NORP",
|
| 50 |
+
"33": "I-OCC",
|
| 51 |
+
"34": "I-ORDINAL",
|
| 52 |
+
"35": "I-ORG",
|
| 53 |
+
"36": "I-PERCENT",
|
| 54 |
+
"37": "I-PERS",
|
| 55 |
+
"38": "I-PRODUCT",
|
| 56 |
+
"39": "I-QUANTITY",
|
| 57 |
+
"40": "I-TIME",
|
| 58 |
+
"41": "I-WEBSITE"
|
| 59 |
+
},
|
| 60 |
+
"initializer_range": 0.02,
|
| 61 |
+
"intermediate_size": 3072,
|
| 62 |
+
"is_decoder": false,
|
| 63 |
+
"label2id": {
|
| 64 |
+
"B-CARDINAL": 1,
|
| 65 |
+
"B-CURR": 2,
|
| 66 |
+
"B-DATE": 3,
|
| 67 |
+
"B-EVENT": 4,
|
| 68 |
+
"B-FAC": 5,
|
| 69 |
+
"B-GPE": 6,
|
| 70 |
+
"B-LANGUAGE": 7,
|
| 71 |
+
"B-LAW": 8,
|
| 72 |
+
"B-LOC": 9,
|
| 73 |
+
"B-MONEY": 10,
|
| 74 |
+
"B-NORP": 11,
|
| 75 |
+
"B-OCC": 12,
|
| 76 |
+
"B-ORDINAL": 13,
|
| 77 |
+
"B-ORG": 14,
|
| 78 |
+
"B-PERCENT": 15,
|
| 79 |
+
"B-PERS": 16,
|
| 80 |
+
"B-PRODUCT": 17,
|
| 81 |
+
"B-QUANTITY": 18,
|
| 82 |
+
"B-TIME": 19,
|
| 83 |
+
"B-UNIT": 20,
|
| 84 |
+
"B-WEBSITE": 21,
|
| 85 |
+
"I-CARDINAL": 22,
|
| 86 |
+
"I-CURR": 23,
|
| 87 |
+
"I-DATE": 24,
|
| 88 |
+
"I-EVENT": 25,
|
| 89 |
+
"I-FAC": 26,
|
| 90 |
+
"I-GPE": 27,
|
| 91 |
+
"I-LANGUAGE": 28,
|
| 92 |
+
"I-LAW": 29,
|
| 93 |
+
"I-LOC": 30,
|
| 94 |
+
"I-MONEY": 31,
|
| 95 |
+
"I-NORP": 32,
|
| 96 |
+
"I-OCC": 33,
|
| 97 |
+
"I-ORDINAL": 34,
|
| 98 |
+
"I-ORG": 35,
|
| 99 |
+
"I-PERCENT": 36,
|
| 100 |
+
"I-PERS": 37,
|
| 101 |
+
"I-PRODUCT": 38,
|
| 102 |
+
"I-QUANTITY": 39,
|
| 103 |
+
"I-TIME": 40,
|
| 104 |
+
"I-WEBSITE": 41,
|
| 105 |
+
"O": 0
|
| 106 |
+
},
|
| 107 |
+
"layer_norm_eps": 1e-12,
|
| 108 |
+
"max_position_embeddings": 512,
|
| 109 |
+
"model_type": "bert",
|
| 110 |
+
"num_attention_heads": 12,
|
| 111 |
+
"num_hidden_layers": 12,
|
| 112 |
+
"pad_token_id": 0,
|
| 113 |
+
"pooler_fc_size": 768,
|
| 114 |
+
"pooler_num_attention_heads": 12,
|
| 115 |
+
"pooler_num_fc_layers": 3,
|
| 116 |
+
"pooler_size_per_head": 128,
|
| 117 |
+
"pooler_type": "first_token_transform",
|
| 118 |
+
"position_embedding_type": "absolute",
|
| 119 |
+
"tie_word_embeddings": true,
|
| 120 |
+
"transformers_version": "5.10.2",
|
| 121 |
+
"type_vocab_size": 2,
|
| 122 |
+
"use_cache": false,
|
| 123 |
+
"vocab_size": 100000
|
| 124 |
+
}
|
experiments/EXP-002_MARBERTv2_Flat/final_metrics.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"eval_loss": 0.14376404881477356,
|
| 4 |
+
"eval_precision": 0.8875666803446861,
|
| 5 |
+
"eval_recall": 0.9086962610278673,
|
| 6 |
+
"eval_f1": 0.8980071962358152
|
| 7 |
+
},
|
| 8 |
+
"per_domain": [
|
| 9 |
+
{
|
| 10 |
+
"domain": "Awraq_G1",
|
| 11 |
+
"n": 466,
|
| 12 |
+
"f1": 0.9345570630486832
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"domain": "Awraq_G2",
|
| 16 |
+
"n": 490,
|
| 17 |
+
"f1": 0.94187675070028
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"domain": "Awraq_G3",
|
| 21 |
+
"n": 714,
|
| 22 |
+
"f1": 0.9724713888029695
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"domain": "Curras",
|
| 26 |
+
"n": 523,
|
| 27 |
+
"f1": 0.8133971291866029
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"domain": "Lebanese",
|
| 31 |
+
"n": 42,
|
| 32 |
+
"f1": 0.6000000000000001
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"domain": "PCMA",
|
| 36 |
+
"n": 105,
|
| 37 |
+
"f1": 0.8412197686645636
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"domain": "QUORA",
|
| 41 |
+
"n": 265,
|
| 42 |
+
"f1": 0.6548672566371682
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"domain": "T1: Terrorism",
|
| 46 |
+
"n": 138,
|
| 47 |
+
"f1": 0.8486352357320099
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"domain": "T2: Foreign policy",
|
| 51 |
+
"n": 144,
|
| 52 |
+
"f1": 0.7962382445141065
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"domain": "T3: Security",
|
| 56 |
+
"n": 83,
|
| 57 |
+
"f1": 0.820627802690583
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"domain": "T4: Elections",
|
| 61 |
+
"n": 161,
|
| 62 |
+
"f1": 0.9364406779661016
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"domain": "T5: Migration",
|
| 66 |
+
"n": 65,
|
| 67 |
+
"f1": 0.880952380952381
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"domain": "T6: Health policy",
|
| 71 |
+
"n": 108,
|
| 72 |
+
"f1": 0.8173258003766478
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
}
|
experiments/EXP-002_MARBERTv2_Flat/repro_bundle.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
"data_variant": "flat",
|
| 9 |
+
"text_col": "token",
|
| 10 |
+
"tag_col": "tags",
|
| 11 |
+
"sent_col": "global_sentence_id",
|
| 12 |
+
"order_col": "token_position",
|
| 13 |
+
"domain_col": "Sub_corpus",
|
| 14 |
+
"output_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/02_models",
|
| 15 |
+
"hf_username": "<your-hf-username>",
|
| 16 |
+
"hf_private": true,
|
| 17 |
+
"seed": 42,
|
| 18 |
+
"max_length": 256,
|
| 19 |
+
"num_train_epochs": 8,
|
| 20 |
+
"learning_rate": 3e-05,
|
| 21 |
+
"weight_decay": 0.01,
|
| 22 |
+
"warmup_ratio": 0.1,
|
| 23 |
+
"label_all_subtokens": false,
|
| 24 |
+
"per_device_train_batch_size": 32,
|
| 25 |
+
"per_device_eval_batch_size": 64,
|
| 26 |
+
"gradient_accumulation_steps": 1,
|
| 27 |
+
"bf16": true,
|
| 28 |
+
"tf32": true,
|
| 29 |
+
"gradient_checkpointing": false,
|
| 30 |
+
"dataloader_num_workers": 2,
|
| 31 |
+
"group_by_length": true,
|
| 32 |
+
"save_total_limit": 2,
|
| 33 |
+
"early_stopping_patience": 3
|
| 34 |
+
},
|
| 35 |
+
"data_paths": {
|
| 36 |
+
"train": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/train.csv",
|
| 37 |
+
"dev": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/val.csv",
|
| 38 |
+
"test": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_flat/test.csv"
|
| 39 |
+
},
|
| 40 |
+
"n_train_sentences": 23125,
|
| 41 |
+
"n_dev_sentences": 3304,
|
| 42 |
+
"labels": [
|
| 43 |
+
"O",
|
| 44 |
+
"B-CARDINAL",
|
| 45 |
+
"B-CURR",
|
| 46 |
+
"B-DATE",
|
| 47 |
+
"B-EVENT",
|
| 48 |
+
"B-FAC",
|
| 49 |
+
"B-GPE",
|
| 50 |
+
"B-LANGUAGE",
|
| 51 |
+
"B-LAW",
|
| 52 |
+
"B-LOC",
|
| 53 |
+
"B-MONEY",
|
| 54 |
+
"B-NORP",
|
| 55 |
+
"B-OCC",
|
| 56 |
+
"B-ORDINAL",
|
| 57 |
+
"B-ORG",
|
| 58 |
+
"B-PERCENT",
|
| 59 |
+
"B-PERS",
|
| 60 |
+
"B-PRODUCT",
|
| 61 |
+
"B-QUANTITY",
|
| 62 |
+
"B-TIME",
|
| 63 |
+
"B-UNIT",
|
| 64 |
+
"B-WEBSITE",
|
| 65 |
+
"I-CARDINAL",
|
| 66 |
+
"I-CURR",
|
| 67 |
+
"I-DATE",
|
| 68 |
+
"I-EVENT",
|
| 69 |
+
"I-FAC",
|
| 70 |
+
"I-GPE",
|
| 71 |
+
"I-LANGUAGE",
|
| 72 |
+
"I-LAW",
|
| 73 |
+
"I-LOC",
|
| 74 |
+
"I-MONEY",
|
| 75 |
+
"I-NORP",
|
| 76 |
+
"I-OCC",
|
| 77 |
+
"I-ORDINAL",
|
| 78 |
+
"I-ORG",
|
| 79 |
+
"I-PERCENT",
|
| 80 |
+
"I-PERS",
|
| 81 |
+
"I-PRODUCT",
|
| 82 |
+
"I-QUANTITY",
|
| 83 |
+
"I-TIME",
|
| 84 |
+
"I-WEBSITE"
|
| 85 |
+
],
|
| 86 |
+
"label2id": {
|
| 87 |
+
"O": 0,
|
| 88 |
+
"B-CARDINAL": 1,
|
| 89 |
+
"B-CURR": 2,
|
| 90 |
+
"B-DATE": 3,
|
| 91 |
+
"B-EVENT": 4,
|
| 92 |
+
"B-FAC": 5,
|
| 93 |
+
"B-GPE": 6,
|
| 94 |
+
"B-LANGUAGE": 7,
|
| 95 |
+
"B-LAW": 8,
|
| 96 |
+
"B-LOC": 9,
|
| 97 |
+
"B-MONEY": 10,
|
| 98 |
+
"B-NORP": 11,
|
| 99 |
+
"B-OCC": 12,
|
| 100 |
+
"B-ORDINAL": 13,
|
| 101 |
+
"B-ORG": 14,
|
| 102 |
+
"B-PERCENT": 15,
|
| 103 |
+
"B-PERS": 16,
|
| 104 |
+
"B-PRODUCT": 17,
|
| 105 |
+
"B-QUANTITY": 18,
|
| 106 |
+
"B-TIME": 19,
|
| 107 |
+
"B-UNIT": 20,
|
| 108 |
+
"B-WEBSITE": 21,
|
| 109 |
+
"I-CARDINAL": 22,
|
| 110 |
+
"I-CURR": 23,
|
| 111 |
+
"I-DATE": 24,
|
| 112 |
+
"I-EVENT": 25,
|
| 113 |
+
"I-FAC": 26,
|
| 114 |
+
"I-GPE": 27,
|
| 115 |
+
"I-LANGUAGE": 28,
|
| 116 |
+
"I-LAW": 29,
|
| 117 |
+
"I-LOC": 30,
|
| 118 |
+
"I-MONEY": 31,
|
| 119 |
+
"I-NORP": 32,
|
| 120 |
+
"I-OCC": 33,
|
| 121 |
+
"I-ORDINAL": 34,
|
| 122 |
+
"I-ORG": 35,
|
| 123 |
+
"I-PERCENT": 36,
|
| 124 |
+
"I-PERS": 37,
|
| 125 |
+
"I-PRODUCT": 38,
|
| 126 |
+
"I-QUANTITY": 39,
|
| 127 |
+
"I-TIME": 40,
|
| 128 |
+
"I-WEBSITE": 41
|
| 129 |
+
},
|
| 130 |
+
"python": "3.12.13",
|
| 131 |
+
"versions": {
|
| 132 |
+
"torch": "2.11.0+cu128",
|
| 133 |
+
"transformers": "5.10.2",
|
| 134 |
+
"datasets": "4.0.0",
|
| 135 |
+
"seqeval": "unknown",
|
| 136 |
+
"cuda": "12.8",
|
| 137 |
+
"gpu": "Tesla T4"
|
| 138 |
+
}
|
| 139 |
+
}
|
experiments/EXP-002_MARBERTv2_Flat/test_metrics.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"test_loss": 0.14108535647392273,
|
| 4 |
+
"test_precision": 0.8978726269018447,
|
| 5 |
+
"test_recall": 0.9171365699353596,
|
| 6 |
+
"test_f1": 0.9074023676690707
|
| 7 |
+
},
|
| 8 |
+
"per_domain": [
|
| 9 |
+
{
|
| 10 |
+
"domain": "Awraq_G1",
|
| 11 |
+
"n": 931,
|
| 12 |
+
"f1": 0.9355932203389831
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"domain": "Awraq_G2",
|
| 16 |
+
"n": 979,
|
| 17 |
+
"f1": 0.9495602225812242
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"domain": "Awraq_G3",
|
| 21 |
+
"n": 1430,
|
| 22 |
+
"f1": 0.9657302544491837
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"domain": "Curras",
|
| 26 |
+
"n": 1045,
|
| 27 |
+
"f1": 0.8104651162790697
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"domain": "Lebanese",
|
| 31 |
+
"n": 85,
|
| 32 |
+
"f1": 0.64
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"domain": "PCMA",
|
| 36 |
+
"n": 209,
|
| 37 |
+
"f1": 0.8956114188325521
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"domain": "QUORA",
|
| 41 |
+
"n": 530,
|
| 42 |
+
"f1": 0.6750629722921915
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"domain": "T1: Terrorism",
|
| 46 |
+
"n": 276,
|
| 47 |
+
"f1": 0.8759493670886076
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"domain": "T2: Foreign policy",
|
| 51 |
+
"n": 288,
|
| 52 |
+
"f1": 0.8106765983860956
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"domain": "T3: Security",
|
| 56 |
+
"n": 166,
|
| 57 |
+
"f1": 0.8185404339250494
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"domain": "T4: Elections",
|
| 61 |
+
"n": 322,
|
| 62 |
+
"f1": 0.9327188940092166
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"domain": "T5: Migration",
|
| 66 |
+
"n": 129,
|
| 67 |
+
"f1": 0.8395061728395062
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"domain": "T6: Health policy",
|
| 71 |
+
"n": 216,
|
| 72 |
+
"f1": 0.8613013698630138
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
}
|
experiments/EXP-002_MARBERTv2_Flat/test_predictions_conll.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
experiments/EXP-002_MARBERTv2_Nested/final_metrics.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"eval_loss": 0.005446761846542358,
|
| 4 |
+
"eval_precision": 0.9042225643281284,
|
| 5 |
+
"eval_recall": 0.9100265604249668,
|
| 6 |
+
"eval_f1": 0.90711527854385
|
| 7 |
+
},
|
| 8 |
+
"per_domain": [
|
| 9 |
+
{
|
| 10 |
+
"domain": "Awraq_G1",
|
| 11 |
+
"n": 466,
|
| 12 |
+
"f1": 0.9409780775716695
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"domain": "Awraq_G2",
|
| 16 |
+
"n": 490,
|
| 17 |
+
"f1": 0.9539207760711399
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"domain": "Awraq_G3",
|
| 21 |
+
"n": 714,
|
| 22 |
+
"f1": 0.9772163320550417
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"domain": "Curras",
|
| 26 |
+
"n": 523,
|
| 27 |
+
"f1": 0.7801418439716311
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"domain": "Lebanese",
|
| 31 |
+
"n": 42,
|
| 32 |
+
"f1": 0.5970149253731343
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"domain": "PCMA",
|
| 36 |
+
"n": 105,
|
| 37 |
+
"f1": 0.8644688644688645
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"domain": "QUORA",
|
| 41 |
+
"n": 265,
|
| 42 |
+
"f1": 0.5566502463054187
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"domain": "T1: Terrorism",
|
| 46 |
+
"n": 138,
|
| 47 |
+
"f1": 0.8728813559322033
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"domain": "T2: Foreign policy",
|
| 51 |
+
"n": 144,
|
| 52 |
+
"f1": 0.7713754646840149
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"domain": "T3: Security",
|
| 56 |
+
"n": 83,
|
| 57 |
+
"f1": 0.8366533864541833
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"domain": "T4: Elections",
|
| 61 |
+
"n": 161,
|
| 62 |
+
"f1": 0.9213893967093236
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"domain": "T5: Migration",
|
| 66 |
+
"n": 65,
|
| 67 |
+
"f1": 0.8546511627906976
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"domain": "T6: Health policy",
|
| 71 |
+
"n": 108,
|
| 72 |
+
"f1": 0.8013245033112583
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
}
|
experiments/EXP-002_MARBERTv2_Nested/repro_bundle.json
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"exp_id": "EXP-002",
|
| 3 |
+
"config": {
|
| 4 |
+
"exp_id": "EXP-002",
|
| 5 |
+
"run_name": "marbertv2_wojood_nested",
|
| 6 |
+
"model_name": "UBC-NLP/MARBERTv2",
|
| 7 |
+
"drive_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset",
|
| 8 |
+
"data_variant": "nested",
|
| 9 |
+
"text_col": "token",
|
| 10 |
+
"tag_col": "tags",
|
| 11 |
+
"sent_col": "global_sentence_id",
|
| 12 |
+
"order_col": "token_position",
|
| 13 |
+
"domain_col": "Sub_corpus",
|
| 14 |
+
"tag_split_regex": "[\\s|,;+]+",
|
| 15 |
+
"output_root": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/02_models",
|
| 16 |
+
"hf_username": "FatimahEmadEldin",
|
| 17 |
+
"hf_private": true,
|
| 18 |
+
"seed": 42,
|
| 19 |
+
"max_length": 256,
|
| 20 |
+
"num_train_epochs": 8,
|
| 21 |
+
"learning_rate": 3e-05,
|
| 22 |
+
"weight_decay": 0.01,
|
| 23 |
+
"warmup_ratio": 0.1,
|
| 24 |
+
"pred_threshold": 0.5,
|
| 25 |
+
"per_device_train_batch_size": 32,
|
| 26 |
+
"per_device_eval_batch_size": 64,
|
| 27 |
+
"gradient_accumulation_steps": 1,
|
| 28 |
+
"bf16": true,
|
| 29 |
+
"tf32": true,
|
| 30 |
+
"gradient_checkpointing": false,
|
| 31 |
+
"dataloader_num_workers": 2,
|
| 32 |
+
"group_by_length": false,
|
| 33 |
+
"save_total_limit": 2,
|
| 34 |
+
"early_stopping_patience": 3
|
| 35 |
+
},
|
| 36 |
+
"data_paths": {
|
| 37 |
+
"train": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/train.csv",
|
| 38 |
+
"dev": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/val.csv",
|
| 39 |
+
"test": "/content/drive/MyDrive/NAMAA Drive /shared_tasks/KnowledgeGraphEval/dataset/Wojood/Wojood1_1_nested/test.csv"
|
| 40 |
+
},
|
| 41 |
+
"n_train_sentences": 23125,
|
| 42 |
+
"n_dev_sentences": 3304,
|
| 43 |
+
"labels": [
|
| 44 |
+
"B-CARDINAL",
|
| 45 |
+
"B-CURR",
|
| 46 |
+
"B-DATE",
|
| 47 |
+
"B-EVENT",
|
| 48 |
+
"B-FAC",
|
| 49 |
+
"B-GPE",
|
| 50 |
+
"B-LANGUAGE",
|
| 51 |
+
"B-LAW",
|
| 52 |
+
"B-LOC",
|
| 53 |
+
"B-MONEY",
|
| 54 |
+
"B-NORP",
|
| 55 |
+
"B-OCC",
|
| 56 |
+
"B-ORDINAL",
|
| 57 |
+
"B-ORG",
|
| 58 |
+
"B-PERCENT",
|
| 59 |
+
"B-PERS",
|
| 60 |
+
"B-PRODUCT",
|
| 61 |
+
"B-QUANTITY",
|
| 62 |
+
"B-TIME",
|
| 63 |
+
"B-UNIT",
|
| 64 |
+
"B-WEBSITE",
|
| 65 |
+
"I-CARDINAL",
|
| 66 |
+
"I-CURR",
|
| 67 |
+
"I-DATE",
|
| 68 |
+
"I-EVENT",
|
| 69 |
+
"I-FAC",
|
| 70 |
+
"I-GPE",
|
| 71 |
+
"I-LANGUAGE",
|
| 72 |
+
"I-LAW",
|
| 73 |
+
"I-LOC",
|
| 74 |
+
"I-MONEY",
|
| 75 |
+
"I-NORP",
|
| 76 |
+
"I-OCC",
|
| 77 |
+
"I-ORDINAL",
|
| 78 |
+
"I-ORG",
|
| 79 |
+
"I-PERCENT",
|
| 80 |
+
"I-PERS",
|
| 81 |
+
"I-PRODUCT",
|
| 82 |
+
"I-QUANTITY",
|
| 83 |
+
"I-TIME",
|
| 84 |
+
"I-UNIT",
|
| 85 |
+
"I-WEBSITE"
|
| 86 |
+
],
|
| 87 |
+
"label2id": {
|
| 88 |
+
"B-CARDINAL": 0,
|
| 89 |
+
"B-CURR": 1,
|
| 90 |
+
"B-DATE": 2,
|
| 91 |
+
"B-EVENT": 3,
|
| 92 |
+
"B-FAC": 4,
|
| 93 |
+
"B-GPE": 5,
|
| 94 |
+
"B-LANGUAGE": 6,
|
| 95 |
+
"B-LAW": 7,
|
| 96 |
+
"B-LOC": 8,
|
| 97 |
+
"B-MONEY": 9,
|
| 98 |
+
"B-NORP": 10,
|
| 99 |
+
"B-OCC": 11,
|
| 100 |
+
"B-ORDINAL": 12,
|
| 101 |
+
"B-ORG": 13,
|
| 102 |
+
"B-PERCENT": 14,
|
| 103 |
+
"B-PERS": 15,
|
| 104 |
+
"B-PRODUCT": 16,
|
| 105 |
+
"B-QUANTITY": 17,
|
| 106 |
+
"B-TIME": 18,
|
| 107 |
+
"B-UNIT": 19,
|
| 108 |
+
"B-WEBSITE": 20,
|
| 109 |
+
"I-CARDINAL": 21,
|
| 110 |
+
"I-CURR": 22,
|
| 111 |
+
"I-DATE": 23,
|
| 112 |
+
"I-EVENT": 24,
|
| 113 |
+
"I-FAC": 25,
|
| 114 |
+
"I-GPE": 26,
|
| 115 |
+
"I-LANGUAGE": 27,
|
| 116 |
+
"I-LAW": 28,
|
| 117 |
+
"I-LOC": 29,
|
| 118 |
+
"I-MONEY": 30,
|
| 119 |
+
"I-NORP": 31,
|
| 120 |
+
"I-OCC": 32,
|
| 121 |
+
"I-ORDINAL": 33,
|
| 122 |
+
"I-ORG": 34,
|
| 123 |
+
"I-PERCENT": 35,
|
| 124 |
+
"I-PERS": 36,
|
| 125 |
+
"I-PRODUCT": 37,
|
| 126 |
+
"I-QUANTITY": 38,
|
| 127 |
+
"I-TIME": 39,
|
| 128 |
+
"I-UNIT": 40,
|
| 129 |
+
"I-WEBSITE": 41
|
| 130 |
+
},
|
| 131 |
+
"task": "nested-multilabel-ner",
|
| 132 |
+
"python": "3.12.13",
|
| 133 |
+
"versions": {
|
| 134 |
+
"torch": "2.11.0+cu128",
|
| 135 |
+
"transformers": "5.10.2",
|
| 136 |
+
"datasets": "4.0.0",
|
| 137 |
+
"cuda": "12.8",
|
| 138 |
+
"gpu": "Tesla T4"
|
| 139 |
+
}
|
| 140 |
+
}
|
experiments/EXP-002_MARBERTv2_Nested/test_metrics.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"overall": {
|
| 3 |
+
"test_precision": 0.9057654509718279,
|
| 4 |
+
"test_recall": 0.9126918633437862,
|
| 5 |
+
"test_f1": 0.9092154659797771
|
| 6 |
+
},
|
| 7 |
+
"per_domain": [
|
| 8 |
+
{
|
| 9 |
+
"domain": "Awraq_G1",
|
| 10 |
+
"n": 931,
|
| 11 |
+
"f1": 0.9426122330379195
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"domain": "Awraq_G2",
|
| 15 |
+
"n": 979,
|
| 16 |
+
"f1": 0.9463441757019739
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"domain": "Awraq_G3",
|
| 20 |
+
"n": 1430,
|
| 21 |
+
"f1": 0.9705689993459778
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"domain": "Curras",
|
| 25 |
+
"n": 1045,
|
| 26 |
+
"f1": 0.7898305084745761
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"domain": "Lebanese",
|
| 30 |
+
"n": 85,
|
| 31 |
+
"f1": 0.5426356589147286
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"domain": "PCMA",
|
| 35 |
+
"n": 209,
|
| 36 |
+
"f1": 0.884079236977256
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"domain": "QUORA",
|
| 40 |
+
"n": 530,
|
| 41 |
+
"f1": 0.6267029972752043
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"domain": "T1: Terrorism",
|
| 45 |
+
"n": 276,
|
| 46 |
+
"f1": 0.88647474198805
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"domain": "T2: Foreign policy",
|
| 50 |
+
"n": 288,
|
| 51 |
+
"f1": 0.7835862844294548
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"domain": "T3: Security",
|
| 55 |
+
"n": 166,
|
| 56 |
+
"f1": 0.7952898550724637
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"domain": "T4: Elections",
|
| 60 |
+
"n": 322,
|
| 61 |
+
"f1": 0.9230769230769231
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"domain": "T5: Migration",
|
| 65 |
+
"n": 129,
|
| 66 |
+
"f1": 0.8053691275167785
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"domain": "T6: Health policy",
|
| 70 |
+
"n": 216,
|
| 71 |
+
"f1": 0.8410646387832699
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
}
|
konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted-last3_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted-last3_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42c1b5dcd74eedad3b686985385dcc0ce6ee3dd118087fd99b86377dac67749d
|
| 3 |
+
size 15300
|
konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/arbertv2-konooz-adapted_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40be7c058340333e151a6b33fd8f1b0b151a94045a6761a61558a3150a0965e8
|
| 3 |
+
size 15474
|
konooz_dev_predictions/backbone_sweep/arbertv2-unweighted_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/arbertv2-unweighted_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12b1d2dacb6c193ac14db4bfa4c88d51333a468aa4f0de203fdfe7555146466c
|
| 3 |
+
size 15483
|
konooz_dev_predictions/backbone_sweep/arbertv2-weighted_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/arbertv2-weighted_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b702a4287a5fe8545abc0d93411e1e0c9f0fd7638437ca3c185dc58782b2129a
|
| 3 |
+
size 15722
|
konooz_dev_predictions/backbone_sweep/camelbert-mix_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/camelbert-mix_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fd1ffe67e3147de3058810e3c0e6f56ec51f4e8a6cd8f480ec3c2dc336fc67c
|
| 3 |
+
size 15396
|
konooz_dev_predictions/backbone_sweep/marbert_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/marbert_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8222287b23d4000a64e8d29b4134daca1f0a1f073e87fde74a4f547643a27401
|
| 3 |
+
size 15443
|
konooz_dev_predictions/backbone_sweep/marbertv2_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/marbertv2_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9456699924f0dc64db96be64042a2c67687f0113c6fb049e63e7f7b30fbb3a27
|
| 3 |
+
size 15173
|
konooz_dev_predictions/backbone_sweep/mdeberta-v3-base_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/mdeberta-v3-base_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79c0ad4da34ba5347d00f7a5271d72cf9aabdd476f27f8c0d8109b2d5b9ab439
|
| 3 |
+
size 15361
|
konooz_dev_predictions/backbone_sweep/xlm-roberta-large_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/backbone_sweep/xlm-roberta-large_submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47329c47776e14f3cc100e1db21e09125b7d7334302353a13ce72ceca2ddcf0a
|
| 3 |
+
size 15463
|
konooz_dev_predictions/ensembles_and_llm/submission_ensemble_top3.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e4d4c2cf3b32a106fd16ed9c598bd28caad34de4ce28130d0c07b278250fd97
|
| 3 |
+
size 14861
|
konooz_dev_predictions/ensembles_and_llm/submission_ensemble_top4.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a341b1b0c0cb13a5dc6bc6e326cb4c1970f06b22aa78df0cc49f457dcb0eee6
|
| 3 |
+
size 14846
|
konooz_dev_predictions/ensembles_and_llm/submission_qwen3b_hosted.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b551bad1a542d8cbc20789b90668cc4ca0c606c0c09969cc8be05c83335dcb58
|
| 3 |
+
size 14529
|
konooz_dev_predictions/namaa_wojood_runs/exp001_flat_konooz/predictions/namaa_pred_flat.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/exp001_flat_konooz/submission_flat.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cbba3e7c6ce0448a8010f70b9b6c196c7b4d4a46b96dc227cf292d7fc3b4f3d
|
| 3 |
+
size 15358
|
konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/predictions/namaa_pred_v1.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/submission.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6424c3e4bc310d01269c2c54065701b3f9e62a901c779016f388c11404382efc
|
| 3 |
+
size 15449
|
konooz_dev_predictions/namaa_wojood_runs/exp001_nested_konooz/submission_manifest.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hf_repo": "NAMAA-Space/KnowledgeGraphEval-2026-AdaptNER-AraBERTv02-Nested",
|
| 3 |
+
"threshold": 0.5,
|
| 4 |
+
"output_format": "columns",
|
| 5 |
+
"type_order": [
|
| 6 |
+
"CARDINAL",
|
| 7 |
+
"CURR",
|
| 8 |
+
"DATE",
|
| 9 |
+
"EVENT",
|
| 10 |
+
"FAC",
|
| 11 |
+
"GPE",
|
| 12 |
+
"LANGUAGE",
|
| 13 |
+
"LAW",
|
| 14 |
+
"LOC",
|
| 15 |
+
"MONEY",
|
| 16 |
+
"NORP",
|
| 17 |
+
"OCC",
|
| 18 |
+
"ORDINAL",
|
| 19 |
+
"ORG",
|
| 20 |
+
"PERCENT",
|
| 21 |
+
"PERS",
|
| 22 |
+
"PRODUCT",
|
| 23 |
+
"QUANTITY",
|
| 24 |
+
"TIME",
|
| 25 |
+
"UNIT",
|
| 26 |
+
"WEBSITE"
|
| 27 |
+
],
|
| 28 |
+
"domains": {
|
| 29 |
+
"Agriculture": 10,
|
| 30 |
+
"Art": 10,
|
| 31 |
+
"Economics": 10,
|
| 32 |
+
"Finance": 10,
|
| 33 |
+
"Health": 10,
|
| 34 |
+
"History": 10,
|
| 35 |
+
"Law": 10,
|
| 36 |
+
"Politics": 10,
|
| 37 |
+
"Science": 10,
|
| 38 |
+
"Sport": 10
|
| 39 |
+
}
|
| 40 |
+
}
|
konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_ensemble.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_flat_arabertv02.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_nested_arabertv02.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/predictions/namaa_pred_nested_marbertv2.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
konooz_dev_predictions/namaa_wojood_runs/multimodel_konooz/submission_ensemble.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91dd65470f73ae82072149f3261e49bd961c22e68a2cfc2a92e324cc82ba6930
|
| 3 |
+
size 15735
|