My Custom NER Model
This is a custom Named Entity Recognition (NER) model fine-tuned on domain-specific data using a BERT-based architecture.
Entities
The model is trained to recognize the following entities:
FACT
: Facts related to sales, revenue, etc.PRDC_CHAR
: Product characteristics like product names.MRKT_CHAR
: Market details like regions.
Example Usage
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
# Load the model and tokenizer
model = AutoModelForTokenClassification.from_pretrained("AnanthanarayananSeetharaman/osa-custom-ner-model")
tokenizer = AutoTokenizer.from_pretrained("AnanthanarayananSeetharaman/osa-custom-ner-model")
# Create a pipeline
ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
# Test the pipeline
text = "The SALES of BEER and WINE in TTL US is increasing."
entities = ner_pipeline(text)
print(entities)
- Downloads last month
- 120
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.