boltuix / bert-ner

huggingface.co
Total runs: 23
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: 2025年3月29日
token-classification

Introduction of bert-ner

Model Details of bert-ner

Banner

🌟 Boltuix BERT-NER Model 🌟

🚀 Model Details
🌈 Description
  • ✨ Fine-tuned for Named Entity Recognition (NER)
  • 📚 Dataset: CoNLL-2012
  • 🔍 Recognizes 37 entity types across diverse domains like people, places, organizations, laws, events, and more!
  • 💬 Works great for sentence-level and document-level tagging in English.
  • 🧠 Training examples: 115,812 | ✅ Validation: 15,680 | 🧪 Test: 12,217
🔧 Info
  • Developer: Boltuix 🧙‍♂️
  • Fuel: Passion 🧠
  • License: Apache 2.0 📜
  • Language: English 🇬🇧
  • Type: Transformer-based Token Classification 🤖
  • Version: v1.0 🎈
  • Trained: Before March 27, 2025
🔗 Links

🎯 Use Cases for NER
🌟 Direct Applications
  • Extracting names, places, and dates from news, blogs, and reports
  • Powering chatbots with contextual awareness
  • Enhancing search with semantic understanding
  • Building dynamic knowledge graphs
🌱 Downstream Tasks
  • Medical & legal domain adaptation
  • Multilingual extensions (with retraining)
  • Custom entity sets for finance, e-commerce, etc.
❌ Limitations
  • 📌 English-only out of the box
  • 🚫 May not generalize to informal, low-resource, or code-mixed texts
  • ⚖️ May reflect dataset bias (CoNLL-2012 is newswire-heavy)

🛠️ Getting Started
🧪 Inference Code
from transformers import AutoTokenizer, AutoModelForTokenClassification
import torch

tokenizer = AutoTokenizer.from_pretrained("boltuix/bert-ner")
model = AutoModelForTokenClassification.from_pretrained("boltuix/bert-ner")

text = "Barack Obama visited Microsoft headquarters in Seattle."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)
predictions = outputs.logits.argmax(dim=-1)

tokens = tokenizer.convert_ids_to_tokens(inputs["input_ids"][0])
label_map = model.config.id2label
labels = [label_map[p.item()] for p in predictions[0]]

for token, label in zip(tokens, labels):
    if token not in tokenizer.all_special_tokens:
        print(f"{token:15} → {label}")
✨ Example Output
barack          → B-PERSON
obama           → I-PERSON
visited         → O
microsoft       → B-ORG
headquarters    → O
in              → O
seattle         → B-GPE
.               → O

🧠 Entity Labels (CoNLL-2012)

Here are all 37 labels supported by the model:

🔹 O – Outside

🔢 Beginning (B-) Tags

🔢 B-CARDINAL – CARDINAL
📅 B-DATE – DATE
🎉 B-EVENT – EVENT
🏢 B-FAC – FACILITY
🌍 B-GPE – COUNTRY/CITY
🗣️ B-LANGUAGE – LANGUAGE
⚖️ B-LAW – LAW
🗺️ B-LOC – LOCATION
💰 B-MONEY – MONEY
🧑‍🤝‍🧑 B-NORP – GROUP
🔟 B-ORDINAL – ORDINAL
🏛️ B-ORG – ORGANIZATION
📊 B-PERCENT – PERCENT
👤 B-PERSON – PERSON
📦 B-PRODUCT – PRODUCT
📏 B-QUANTITY – QUANTITY
⏰ B-TIME – TIME
🎨 B-WORK_OF_ART – WORK_OF_ART

🔢 Inside (I-) Tags

🔢 I-CARDINAL
📅 I-DATE
🎉 I-EVENT
🏢 I-FAC
🌍 I-GPE
🗣️ I-LANGUAGE
⚖️ I-LAW
🗺️ I-LOC
💰 I-MONEY
🧑‍🤝‍🧑 I-NORP
🔟 I-ORDINAL
🏛️ I-ORG
📊 I-PERCENT
👤 I-PERSON
📦 I-PRODUCT
📏 I-QUANTITY
⏰ I-TIME
🎨 I-WORK_OF_ART


📈 Performance
Metric Score
🎯 Precision 0.85
🕸️ Recall 0.87
🎶 F1 Score 0.86
✅ Accuracy 0.92
  • 📊 Evaluation tool: seqeval
  • 🧪 Dataset: CoNLL-2012 test split

⚙️ Training Setup
  • 💻 Hardware: NVIDIA GPU
  • ⏱️ Training Time: ~2 hours
  • 🐘 Parameters: ~11M
  • 🎛️ Optimizer: AdamW (default)
  • 📦 Mixed precision: No (fp32)

🌍 Carbon Impact
  • 💻 Trained Locally
  • ☁️ Region: Boltuix’s Base
  • 🌱 Emissions: ~50g CO₂eq
  • 📊 Measured via: ML Impact

📜 Citation
@inproceedings{pradhan-etal-2012-conll,
    title = "CoNLL-2012 Shared Task: Modeling Multilingual Unrestricted Coreference in OntoNotes",
    author = "Pradhan, Sameer and Ramshaw, Lance and Weischedel, Ralph and MacCartney, Bill and Xue, Nianwen and Palmer, Martha",
    booktitle = "Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning",
    year = "2012",
    url = "https://aclanthology.org/W12-4501"
}

✍️ Contact

Runs of boltuix bert-ner on huggingface.co

23
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About bert-ner huggingface.co Model

More bert-ner license Visit here:

https://choosealicense.com/licenses/apache-2.0

bert-ner huggingface.co

bert-ner huggingface.co is an AI model on huggingface.co that provides bert-ner's model effect (), which can be used instantly with this boltuix bert-ner model. huggingface.co supports a free trial of the bert-ner model, and also provides paid use of the bert-ner. Support call bert-ner model through api, including Node.js, Python, http.

boltuix bert-ner online free

bert-ner huggingface.co is an online trial and call api platform, which integrates bert-ner's modeling effects, including api services, and provides a free online trial of bert-ner, you can try bert-ner online for free by clicking the link below.

boltuix bert-ner online free url in huggingface.co:

https://huggingface.co/boltuix/bert-ner

bert-ner install

bert-ner is an open source model from GitHub that offers a free installation service, and any user can find bert-ner on GitHub to install. At the same time, huggingface.co provides the effect of bert-ner install, users can directly use bert-ner installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bert-ner install url in huggingface.co:

https://huggingface.co/boltuix/bert-ner

Url of bert-ner

bert-ner huggingface.co Url

Provider of bert-ner huggingface.co

boltuix
ORGANIZATIONS

Other API from boltuix

huggingface.co

Total runs: 14.8K
Run Growth: -18.2K
Growth Rate: -123.32%
Updated:2025年6月30日
huggingface.co

Total runs: 3.0K
Run Growth: -356
Growth Rate: -11.82%
Updated:2025年6月30日
huggingface.co

Total runs: 2.9K
Run Growth: 412
Growth Rate: 14.03%
Updated:2025年6月30日
huggingface.co

Total runs: 1.1K
Run Growth: 434
Growth Rate: 41.02%
Updated:2025年6月25日
huggingface.co

Total runs: 664
Run Growth: -139
Growth Rate: -20.93%
Updated:2025年6月30日
huggingface.co

Total runs: 198
Run Growth: 154
Growth Rate: 77.78%
Updated:2025年6月25日
huggingface.co

Total runs: 67
Run Growth: -33
Growth Rate: -49.25%
Updated:2025年6月25日
huggingface.co

Total runs: 60
Run Growth: -9
Growth Rate: -15.00%
Updated:2025年6月25日
huggingface.co

Total runs: 50
Run Growth: -33
Growth Rate: -66.00%
Updated:2025年6月30日
huggingface.co

Total runs: 48
Run Growth: -3
Growth Rate: -6.25%
Updated:2025年6月25日
huggingface.co

Total runs: 41
Run Growth: -4
Growth Rate: -9.76%
Updated:2025年6月30日
huggingface.co

Total runs: 38
Run Growth: 10
Growth Rate: 26.32%
Updated:2025年6月25日
huggingface.co

Total runs: 38
Run Growth: 0
Growth Rate: 0.00%
Updated:2025年3月28日
huggingface.co

Total runs: 37
Run Growth: -15
Growth Rate: -40.54%
Updated:2025年5月23日
huggingface.co

Total runs: 29
Run Growth: -10
Growth Rate: -34.48%
Updated:2025年6月30日
huggingface.co

Total runs: 26
Run Growth: -7
Growth Rate: -26.92%
Updated:2025年6月9日
huggingface.co

Total runs: 23
Run Growth: -9
Growth Rate: -39.13%
Updated:2025年6月9日
huggingface.co

Total runs: 22
Run Growth: 2
Growth Rate: 9.09%
Updated:2025年6月14日
huggingface.co

Total runs: 8
Run Growth: -11
Growth Rate: -137.50%
Updated:2025年6月25日
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:2025年4月6日