Run this model with HF Jobs

Run P0L3/CliReNER-gliner_small-v2.5 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/P0L3/CliReNER-gliner_small-v2.5. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/P0L3/CliReNER-gliner_small-v2.5 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

GLiNER-Small for Climate Research NER

This model is a GLiNER model fine-tuned for fine-grained Named Entity Recognition (NER) in the climate change research domain. It identifies 28 distinct entity types using a generalist span-based architecture.

πŸ“Œ Model Details

  • Model Type: GLiNER
  • Base Model: gliner-community/gliner_small-v2.5
  • Architecture: Bi-encoder architecture with a focal loss objective.
  • Language: English
  • License: cc-by-sa-4.0

Entity Typology (28 Classes)

The model is trained to recognize: Asset, Body Part, Body of Water, Chemical, Disease, Ecosystem, Energy Source, Field of Study, Geographical Feature, Intellectual Artefact, Location, Mathematical Expression, Measuring Device, Meteorological Phenomenon, Method, Natural Disaster, Natural Phenomenon, Organism, Organization, Other, Person, Physical Artefact, Physical Phenomenon, Policy, Quantity, Satellite, System, and Time Period.


πŸš€ Main Results (Selected Checkpoint)

This repository provides the best-performing checkpoint selected from 5 runs with different random seeds. While the internal training logs tracked performance on the validation split of CliReNERsilver, the final model selection and the metrics below are evaluated on the independent, expert-annotated CliReNERgold dataset.

Metric Score
Precision 58.86
Recall 59.44
F1 59.15

This checkpoint corresponds to the seed with the highest strict F1 on the gold evaluation set (Seed 4 - 3012).


πŸ“Š Results Across Seeds

We fine-tuned the model using 5 different random seeds to assess the stability and robustness of the architecture on the domain-specific text.

Seed Precision Recall Strict F1
1 58.61 58.54 58.57
2 58.62 59.44 59.03
3 57.99 58.25 58.12
4 58.86 59.44 59.15
5 57.17 58.62 57.89

Summary:

  • F1: mean = 58.55, std = 0.55
  • Precision: mean = 58.25, std = 0.68
  • Recall: mean = 58.86, std = 0.55

πŸ“‚ Dataset & Evaluation

  • Training Dataset: CliReNERsilver (80% split).
  • Evaluation Dataset: CliReNERgold (expert consensus via Weighted Expert Voting).
  • Metric Details: Strict F1 (Entity-level exact span and label match).

βš™οΈ Usage

Direct Use for Inference

Requires the gliner library:

pip install gliner
from gliner import GLiNER

# Load model
model = GLiNER.from_pretrained(
    "P0L3/CliReNER-gliner_small-v2.5",
    load_tokenizer=True
)

# Input text
text = """
Importantly, these advances are enabled not only by model architectures but also by the availability of high-quality, expert-annotated datasets, which remain limited in the climate change domain.
"""

# Labels
labels = [
    "Ecosystem", "Energy Source", "Natural Disaster", 
    "Meteorological Phenomenon", "Quantity", "Intellectual Artefact", 
    "Body of Water", "Disease", "Location", 
    "Physical Phenomenon", "Chemical", "Time Period", 
    "Organization", "Natural Phenomenon", "Field of Study", 
    "Mathematical Expression", "Measuring Device", "Geographical Feature", 
    "System", "Satellite", "Organism", 
    "Method", "Other", "Person", 
    "Physical Artefact", "Body Part", "Asset",
    "Policy",
]

# Predict entities
entities = model.predict_entities(text, labels)

# Match SpanMarker-style output
for entity in entities:
    span = entity["text"]
    label = entity["label"]
    score = entity["score"]  # fallback if score not present

    print(f"Entity: {span} | Label: {label} | Score: {score:.4f}")

# Entity: advances | Label: Other | Score: 0.7018
# Entity: model architectures | Label: Method | Score: 0.6993
# Entity: high-quality | Label: Quantity | Score: 0.5961
# Entity: expert-annotated datasets | Label: Intellectual Artefact | Score: 0.7253
# Entity: climate change domain | Label: Field of Study | Score: 0.6641

πŸ“‰ Training Hyperparameters

  • Learning Rate: 5e-6
  • Seed: 3012
  • Encoder Learning Rate: 1e-5
  • Focal Loss: Ξ±=0.75, Ξ³=2
  • Batch Size: 8 (Gradient Accumulation: 2)
  • Epochs: 20
  • Warmup Ratio: 0.1
  • Optimizer: AdamW

πŸ“š Citation

@article{poleksic2026named,
  author       = {Poleksi\'c, Andrija and Martin\v{c}i\'c-Ip\v{s}i\'c, Sanda},
  title        = {Named Entity Recognition for Climate Change Research},
  journal      = {Climatic Change},
  year         = {2026},
  volume       = {179},
  number       = {11},
  pages        = {243},
  doi          = {10.1007/s10584-026-04324-z},
  url          = {https://doi.org/10.1007/s10584-026-04324-z},
  issn         = {1573-1480}
}
Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for P0L3/CliReNER-gliner_small-v2.5

Finetuned
(2)
this model

Datasets used to train P0L3/CliReNER-gliner_small-v2.5

Collection including P0L3/CliReNER-gliner_small-v2.5