Downloads · 30 days
102
66% of all-time downloads
rajaadil/finer-ord-ner
finer-ord-ner is a machine learning model from rajaadil. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
card = """--- license: apache-2.0 language: en basemodel: bert-base-cased tags: - token-classification - named-entity-recognition - finance - finer-ord datasets: - gtfintechlab/finer-ord metrics: - precision - recall…
Downloads · 30 days
102
66% of all-time downloads
All-time downloads
154
Public
Parameters
108M
431 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors431 MB · 100%
From the Hugging Face model README
card = """--- license: apache-2.0 language: en base_model: bert-base-cased tags:
Fine-tuned bert-base-cased for named entity recognition on financial text, trained on the FiNER-ORD dataset. Recognises persons (PER), locations (LOC), and organisations (ORG) in financial news and filings.
| Metric | Score |
|---|---|
| Precision | 0.840 |
| Recall | 0.856 |
| F1 | 0.848 |
| Accuracy | 0.984 |
Trained for 3 epochs, batch size 16, learning rate 2e-5, best checkpoint selected on F1.
O, B-PER, I-PER, B-LOC, I-LOC, B-ORG, I-ORG
from transformers import pipeline
ner = pipeline("token-classification", model="rajaadil/finer-ord-ner",
aggregation_strategy="simple")
ner("Goldman Sachs analyst John Smith met clients in London.")
Adil Hussain — Hugging Face """
from huggingface_hub import ModelCard ModelCard(card).push_to_hub("rajaadil/finer-ord-ner")