turkish-nlp-suite/turkish-wikiNER
Viewer • Updated • 20k • 235 • 14
How to use zypchn/berturk-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="zypchn/berturk-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("zypchn/berturk-ner")
model = AutoModelForTokenClassification.from_pretrained("zypchn/berturk-ner")This model is a fine-tuned version of dbmdz/bert-base-turkish-cased on turkish-nlp-suite/turkish-wikiNER dataset. It achieves the following results:
Validation Set
Test Set
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Preicision | Recall |
|---|---|---|---|---|---|---|---|
| 0.5606 | 1.0 | 141 | 0.3018 | 0.9109 | 0.9107 | 0.9127 | 0.9109 |
| 0.2489 | 2.0 | 282 | 0.3185 | 0.9108 | 0.9089 | 0.9107 | 0.9108 |
| 0.1558 | 3.0 | 423 | 0.3378 | 0.9051 | 0.9028 | 0.9056 | 0.9051 |
| 0.0966 | 4.0 | 564 | 0.3472 | 0.9151 | 0.9149 | 0.9170 | 0.9151 |
| 0.0678 | 5.0 | 705 | 0.3693 | 0.9149 | 0.9146 | 0.9167 | 0.9149 |
Base model
dbmdz/bert-base-turkish-cased