AventIQ-AI / Custom-BERT-NER-Model

huggingface.co
Total runs: 13
24-hour runs: 1
7-day runs: 6
30-day runs: 11
Model's Last Updated: May 23 2025

Introduction of Custom-BERT-NER-Model

Model Details of Custom-BERT-NER-Model

Custom BERT NER Model

This repository contains a BERT-based Named Entity Recognition (NER) model fine-tuned on the CoNLL-2003 dataset. The model is trained to identify common named entity types such as persons, organizations, locations, and miscellaneous entities.


Model Details
  • Model architecture: BERT (bert-base-cased)
  • Task: Token classification / Named Entity Recognition (NER)
  • Training data: CoNLL-2003 dataset (~14,000 training samples)
  • Number of epochs: 5
  • Framework: Hugging Face Transformers + Datasets
  • Device: CUDA-enabled GPU for training and inference
  • WandB: Disabled during training

Usage

You can use this model for token classification to identify named entities in your text.

Installation
pip install transformers datasets torch
Load the model and tokenizer

from transformers import BertTokenizerFast, BertForTokenClassification
import torch

model_name_or_path = "AventIQ-AI/Custom-BERT-NER-Model"

tokenizer = BertTokenizerFast.from_pretrained(model_name_or_path)
model = BertForTokenClassification.from_pretrained(model_name_or_path)

model.to("cuda")  # or "cpu"
model.eval()
Example inference

text = "Hi, I am Deepak and I am living in Delhi."

tokens = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model(**tokens)
predictions = torch.argmax(outputs.logits, dim=2)

labels = [model.config.id2label[p.item()] for p in predictions[0]]
for token, label in zip(tokenizer.tokenize(text), labels):
print(f"{token}: {label}")
Training Details
  • Dataset: CoNLL-2003, loaded via the Hugging Face datasets library

  • Optimizer: AdamW

  • Learning Rate: 5e-5

  • Batch Size: 16

  • Max Sequence Length: 128

  • Epochs: 5

  • Evaluation: Performed on validation split (if applicable)

  • Quantization: Applied post-training for model size reduction (optional)

Limitations
  • The model may not generalize well to unseen entity types or domains outside CoNLL-2003.

  • It can occasionally mislabel entities, especially for rare or new names.

  • A CUDA-enabled GPU is required for efficient training and inference.

Runs of AventIQ-AI Custom-BERT-NER-Model on huggingface.co

13
Total runs
1
24-hour runs
5
3-day runs
6
7-day runs
11
30-day runs

More Information About Custom-BERT-NER-Model huggingface.co Model

Custom-BERT-NER-Model huggingface.co

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

Custom-BERT-NER-Model huggingface.co Url

https://huggingface.co/AventIQ-AI/Custom-BERT-NER-Model

AventIQ-AI Custom-BERT-NER-Model online free

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

AventIQ-AI Custom-BERT-NER-Model online free url in huggingface.co:

https://huggingface.co/AventIQ-AI/Custom-BERT-NER-Model

Custom-BERT-NER-Model install

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

Custom-BERT-NER-Model install url in huggingface.co:

https://huggingface.co/AventIQ-AI/Custom-BERT-NER-Model

Url of Custom-BERT-NER-Model

Custom-BERT-NER-Model huggingface.co Url

Provider of Custom-BERT-NER-Model huggingface.co

AventIQ-AI
ORGANIZATIONS

Other API from AventIQ-AI