GSoC'26 × DBpedia

GSoC 2026 Contributor at DBpedia Hindi Chapter.

GSoC Week 11: Establishing Real Baselines and Testing Beyond Hindi

This is the eleventh week of the coding period of GSoC where the main aim was to close out two items flagged the week before — splitting every result into extraction-only and full-pipeline figures, and establishing genuine baselines to measure the fine-tuned model against — and test how the pipeline behaves on languages it was never trained on.

Extraction-Only vs. Full-Pipeline, Completed

Every result now reports two separate numbers.

SourceExtraction-only F1Full-pipeline F1
Wikipedia0.5540.493
Train0.6100.537
BenchIE0.0560.173

BenchIE shows a genuinely interesting, opposite pattern — its full-pipeline score is higher than its extraction-only score. The model consistently trims small Hindi grammatical particles (postpositions like का/की/में) that BenchIE’s gold spans retain, causing exact-text matching to fail even when the underlying fact is completely correct. Once predicate linking maps both sides to the same DBpedia property, this difference disappears.

Real Baselines, on the Same Evaluation Set

Two real reference points were established — IndIE, an existing rule-based Hindi extraction tool, and the same base Gemma 3 4B model completely untrained.

SystemWikipedia (ext/full)Train (ext/full)BenchIE (ext/full)
Fine-tuned Gemma 3 4B0.554 / 0.4930.610 / 0.5370.056 / 0.173
Base Gemma 3 4B (untrained)0.024 / 0.1500.014 / 0.0570.016 / 0.067
IndIE (rule-based)0.021 / 0.1260.010 / 0.0480.076 / 0.151

Fine-tuning improved Wikipedia F1 by roughly 23x and Train F1 by roughly 44x over the untrained model.

Testing the Pipeline Beyond Hindi

The extraction model was run on 50 real Gujarati sentences and 50 Rajasthani sentences — languages it has never seen in training.

LanguageProduced outputCrashed
Gujarati (n=50)50 / 500
Rajasthani (n=50)50 / 500

All 100 sentences produced output with zero crashes. The model reliably identifies the correct type of relation even in an unfamiliar language, while subject and object spans often mix scripts and Hindi grammatical patterns get substituted onto non-Hindi structure — the model generalizes the underlying task well beyond what it generalizes the language.


Footnotes