Gemma-3-4B-DBpediaArchivo-TDSelect-OBI-Top10-e1
This causal language model starts from google/gemma-3-4b-pt and received one epoch of continual pretraining (CPT) on the DBpedia Archivo Top10 subset selected for OBI.
This CPT checkpoint served as the starting point for supervised fine-tuning on OBI for the taxonomy discovery task of the LLMs4OL Challenge 2025. To run taxonomy discovery on OBI, use the resulting fine-tuned Gemma classifier. Its model card reports the benchmark results and documents the expected input.
Continual pretraining data
The source is the 15 July 2025 DBpedia Archivo snapshot in Turtle format. The corpus was fragmented and screened for explicit subclass statements matching the benchmark's directed test pairs. Files were ranked separately for each domain by ontology, text and semantic metrics weighted by their association with downstream F1 across randomly sampled training corpora. Top10 includes the highest-ranked files up to approximately 10% of the filtered corpus by token count. The selected files are dominated by the Gazetteer (GAZ) and NCBI Taxonomy. Gemma reused the exact file selection obtained from the Llama 3.2–3B experiments for OBI and retokenized it with the Gemma tokenizer.
The full filtered corpus is available as OBI Full. The files used for CPT are available as OBI Top10.
CPT used a causal language-modeling objective with a training window of 4,096 tokens. See the selection pipeline and CPT code.
Usage
Use this checkpoint for further training or to initialize a classification experiment. The loader follows the architecture recorded in the checkpoint configuration.
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, Gemma3ForConditionalGeneration
model_id = "gplsi/Gemma-3-4B-OntologyLearning-DBpediaArchivo-TDSelect-OBI-Top10-e1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
config = AutoConfig.from_pretrained(model_id)
model_class = (
Gemma3ForConditionalGeneration if config.model_type == "gemma3" else AutoModelForCausalLM
)
model = model_class.from_pretrained(model_id)
License
This checkpoint is distributed under the Gemma Terms of Use.
Citation
When reporting results with this checkpoint, cite the model repository and Miquel Canal Esteve’s doctoral thesis, Aprender del conocimiento ontológico: Selección eficiente de datos para la adaptación semántica de modelos de lenguaje, Universidad de Alicante.
@misc{canal_gemma_3_4b_dbpediaarchivo_tdselect_obi_top10_e1,
author = {Canal Esteve, Miquel},
title = {{Gemma-3-4B-DBpediaArchivo-TDSelect-OBI-Top10-e1}},
howpublished = {Hugging Face model checkpoint},
url = {https://huggingface.co/gplsi/Gemma-3-4B-OntologyLearning-DBpediaArchivo-TDSelect-OBI-Top10-e1}
}
This research has been partially funded by the University of Alicante, the Spanish Ministry of Science and Innovation (MICIU), and the European Regional Development Fund (ERDF) through the project HEART-NLP (PID2024-156263OB-C22); funded by MICIU/AEI/10.13039/501100011033 / “ERDF, EU”.