turkish-nlp-suite/Treebank-Benchmarking
Turkish Treebank Benchmarking This is the repo for Turkish treebank benchmarking, namely evaluating Tranformer models on POS-Dep-Morph task. For the data, we used two treebank, IMST and BOUN. We converted conllu format to json lines for being compatible to HF dataset formats. Here are treebank sizes at a glance: Dataset train lines dev lines test lines BOUN 7803 979 979 IMST 3435 1100 1100 A typical instance from the dataset looks like: { "id": "ins_1267"… See the full description on the dataset page: https://huggingface.co/datasets/turkish-nlp-suite/Treebank-Benchmarking.
<img src="https://raw.githubusercontent.com/turkish-nlp-suite/.github/main/profile/TreeBench.png" width="30%" height="30%">
Turkish Treebank Benchmarking
This is the repo for Turkish treebank benchmarking, namely evaluating Tranformer models on POS-Dep-Morph task. For the data, we used two treebank, IMST and BOUN. We converted conllu format to json lines for being compatible to HF dataset formats.
Here are treebank sizes at a glance:
A typical instance from the dataset looks like:
{
"id": "ins_1267",
"tokens": [
"Rüzgâr",
"yine",
"güçlü",
"esiyor",
"du",
"."
],
"upos": [
"NOUN",
"ADV",
"ADV",
"VERB",
"AUX",
"PUNCT"
],
"heads": [
4,
4,
4,
0,
4,
4
],
"rels": [
"nsubj",
"advmod",
"advmod",
"root",
"cop",
"punct"
],
"feats": [
"Case=Nom|Number=Sing|Person=3",
"_",
"_",
"Aspect=Imp|Polarity=Pos|VerbForm=Part",
"Aspect=Perf|Evident=Fh|Number=Sing|Person=3|Tense=Past",
"_"
],
"text": "Rüzgâr yine güçlü esiyor du .",
"feats_dict_json": [
"{\"Case\":\"Nom\",\"Number\":\"Sing\",\"Person\":\"3\"}",
"{}",
"{}",
"{\"Aspect\":\"Imp\",\"Polarity\":\"Pos\",\"VerbForm\":\"Part\"}",
"{\"Aspect\":\"Perf\",\"Evident\":\"Fh\",\"Number\":\"Sing\",\"Person\":\"3\",\"Tense\":\"Past\"}",
"{}"
]
}Benchmarking
Benchmarking is done by scripts on accompanying Github repo. Please proceed to this repo for running the experiments. Here are the benchmarking results for BERTurk with our scripts:
Notes:
—means that metric wasn’t present in that dataset’s reported results (e.g.,morph_Typo_acconly in BOUN;morph_Polite_acconly in IMST).
Acknowledgments
This research was supported with Cloud TPUs from Google's TPU Research Cloud (TRC), like most of our projects. Many thanks to TRC team once again.
