erayyildiz/turkish_ner
Updated • 157 • 12
How to use meryemmm22/turkish-ner-mt5-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="meryemmm22/turkish-ner-mt5-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("meryemmm22/turkish-ner-mt5-base")
model = AutoModelForTokenClassification.from_pretrained("meryemmm22/turkish-ner-mt5-base")This model was trained from scratch on the turkish_ner dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
|---|---|---|---|---|---|---|---|
| 1.1319 | 1.0 | 625 | 0.4777 | 0.3975 | 0.4266 | 0.3722 | 0.8468 |
| 0.6112 | 2.0 | 1250 | 0.4258 | 0.4511 | 0.4884 | 0.4190 | 0.8625 |
| 0.5522 | 3.0 | 1875 | 0.4064 | 0.4721 | 0.5157 | 0.4353 | 0.8694 |
| 0.4933 | 4.0 | 2500 | 0.3937 | 0.4916 | 0.5251 | 0.4622 | 0.8734 |
| 0.4813 | 5.0 | 3125 | 0.3916 | 0.4944 | 0.5264 | 0.4660 | 0.8742 |