Downloads · 30 days
17
100% of all-time downloads
Mudi12137/WaterBERT-NER
WaterBERT-NER is a token classification model from Mudi12137. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
Named-entity recognition for wastewater- and water-treatment literature, fine-tuned from WaterBERT. It tags six entity types with a BIO scheme (13 labels):
Downloads · 30 days
17
100% of all-time downloads
All-time downloads
17
Public
Parameters
109M
437 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors437 MB · 100%
From the Hugging Face model README
Named-entity recognition for wastewater- and water-treatment literature, fine-tuned from WaterBERT. It tags six entity types with a BIO scheme (13 labels):
| Entity type | Covers (examples) |
|---|---|
Pollutant | contaminants and water-quality targets — ammonium, sulfamethoxazole, COD, microplastics |
Wastewater_Treatment_Process | treatment processes and unit operations — adsorption, Fenton process, anaerobic digestion |
Reactor | reactors, units and devices — sequencing batch reactor, membrane bioreactor, constructed wetland |
Treatment_Parameter | operating, reaction and material parameters — pH, hydraulic retention time, specific surface area |
Microorganism | microorganisms and microbial groups — Nitrosomonas, anammox bacteria, microalgae |
Dosed_Material | added materials, catalysts, adsorbents and reagents — biochar, persulfate, PAC |
This is the model used to build the WaterKG entity graph.
from transformers import pipeline
ner = pipeline("token-classification", model="Mudi12137/WaterBERT-NER", aggregation_strategy="simple")
ner("A sequencing batch reactor inoculated with Nitrosomonas removed 95% of ammonium and "
"sulfamethoxazole at pH 7.5 after dosing biochar.")
# Reactor: sequencing batch reactor | Microorganism: nitrosomonas | Pollutant: ammonium,
# sulfamethoxazole | Treatment_Parameter: ph | Dosed_Material: biochar
Inputs longer than 512 tokens are truncated; split long documents into sentences or passages.
The tokenizer lower-cases input, so returned word strings are lower-case — use the
start/end character offsets to recover the original spelling.
O, then B-/I- for Pollutant, Wastewater_Treatment_Process, Reactor,
Treatment_Parameter, Microorganism, Dosed_Material (see label_map.json).
Fine-tuned from WaterBERT on manually annotated water-treatment abstracts; the annotation guideline and data are described in the accompanying paper.
Apache-2.0.