erayyildiz/turkish_ner
Updated • 159 • 12
How to use meryemmm22/turkish-ner-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-ner-mt5-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("meryemmm22/turkish-ner-ner-mt5-base")
model = AutoModelForTokenClassification.from_pretrained("meryemmm22/turkish-ner-ner-mt5-base")This model is a fine-tuned version of google/mt5-base 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.1325 | 1.0 | 625 | 0.6327 | 0.2185 | 0.4078 | 0.1492 | 0.8266 |
| 0.6808 | 2.0 | 1250 | 0.4405 | 0.4363 | 0.4780 | 0.4013 | 0.8588 |
| 0.5606 | 3.0 | 1875 | 0.3983 | 0.4817 | 0.5290 | 0.4421 | 0.8708 |
| 0.47 | 4.0 | 2500 | 0.3773 | 0.5074 | 0.5497 | 0.4711 | 0.8781 |
| 0.4555 | 5.0 | 3125 | 0.3759 | 0.5110 | 0.5446 | 0.4812 | 0.8783 |
Base model
google/mt5-base