Downloads · 30 days
6
7% of all-time downloads
yeniguno/bert-turkish-organization-ner-uncased
bert-turkish-organization-ner-uncased is a token classification model from yeniguno. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of dbmdz/bert-base-turkish-128k-uncased on the yeniguno/turkish-organization-ner-dataset dataset.
Downloads · 30 days
6
7% of all-time downloads
All-time downloads
83
Public
Parameters
184M
735 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of dbmdz/bert-base-turkish-128k-uncased on the yeniguno/turkish-organization-ner-dataset dataset.
Unlike general NER models, it is trained only for organization detection (ORG).
The labels are:
O (outside),B-ORG (beginning of organization),I-ORG (inside organization).NER (but only ORG)
lightweight NER focused on org detection
You can load the model directly with the 🤗 pipeline API for NER:
from transformers import pipeline
model_id = "yeniguno/bert-turkish-organization-ner"
ner = pipeline("ner", model=model_id, aggregation_strategy="simple")
text = "Microsoft ve Koç Holding birlikte bir proje başlattı."
print(ner(text))
"""
[{'entity_group': 'ORG', 'score': np.float32(0.99849355), 'word': 'microsoft', 'start': 0, 'end': 9},
{'entity_group': 'ORG', 'score': np.float32(0.9970416), 'word': 'koc holding', 'start': 13, 'end': 24}]
"""
It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 0.0617 | 1.0 | 8080 | 0.0679 | 0.8990 |
| 0.0471 | 2.0 | 16160 | 0.0640 | 0.9105 |
| 0.0295 | 3.0 | 24240 | 0.0846 | 0.9110 |
| 0.0277 | 4.0 | 32320 | 0.0959 | 0.9153 |
| 0.0116 | 5.0 | 40400 | 0.1152 | 0.9159 |