community-datasets/caner
Viewer • Updated • 258k • 164 • 1
How to use terzimert/bert-finetuned-ner-v2.2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="terzimert/bert-finetuned-ner-v2.2") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("terzimert/bert-finetuned-ner-v2.2")
model = AutoModelForTokenClassification.from_pretrained("terzimert/bert-finetuned-ner-v2.2", device_map="auto")This model is a fine-tuned version of bert-base-multilingual-cased on the caner 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 | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2726 | 1.0 | 3228 | 0.4504 | 0.7390 | 0.7287 | 0.7338 | 0.9107 |
| 0.2057 | 2.0 | 6456 | 0.3679 | 0.8633 | 0.8446 | 0.8538 | 0.9385 |
| 0.1481 | 3.0 | 9684 | 0.3595 | 0.8823 | 0.8497 | 0.8657 | 0.9427 |