eriktks/conll2003
Updated β’ 54.8k β’ 184
How to use fariskishtah/entitylens-ai with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="fariskishtah/entitylens-ai") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("fariskishtah/entitylens-ai")
model = AutoModelForTokenClassification.from_pretrained("fariskishtah/entitylens-ai", device_map="auto")Fine-tuned bert-base-cased for English Named Entity Recognition on CoNLL-2003.
Production model of the EntityLens AI
project, selected from four architectures by validation entity-F1.
from transformers import pipeline
ner = pipeline("token-classification", model="fariskishtah/entitylens-ai",
aggregation_strategy="simple")
ner("Barack Obama visited Microsoft in New York.")
seqeval evaluation.Trained on 1990s Reuters news; performance drops on other domains and on entity types outside PER/ORG/LOC/MISC. Confidence scores are raw softmax outputs, not calibrated probabilities.