How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="starkdv123/conll2003-bert-ner-lora-merged")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("starkdv123/conll2003-bert-ner-lora-merged")
model = AutoModelForTokenClassification.from_pretrained("starkdv123/conll2003-bert-ner-lora-merged", device_map="auto")
Quick Links

BERT (base-cased) for CoNLL-2003 NER β€” LoRA Merged Model

This repository contains the merged model (LoRA merged into base) trained on CoNLL-2003.

πŸ“Š Result (this run)

  • Entity Macro F1: 0.9052

Usage

from transformers import pipeline
clf = pipeline("token-classification", model="starkdv123/conll2003-bert-ner-lora-merged", aggregation_strategy="simple")
clf("Chris Hoiles hit his 22nd homer for Baltimore.")
Downloads last month
4
Safetensors
Model size
0.1B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train starkdv123/conll2003-bert-ner-lora-merged