community-datasets/caner
Viewer • Updated • 258k • 156 • 2
How to use terzimert/bert-finetuned-ner-v2.1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="terzimert/bert-finetuned-ner-v2.1") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("terzimert/bert-finetuned-ner-v2.1")
model = AutoModelForTokenClassification.from_pretrained("terzimert/bert-finetuned-ner-v2.1", 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.2352 | 1.0 | 3228 | 0.3782 | 0.8478 | 0.8359 | 0.8418 | 0.9348 |
| 0.1572 | 2.0 | 6456 | 0.3229 | 0.8696 | 0.8513 | 0.8604 | 0.9461 |
| 0.0994 | 3.0 | 9684 | 0.3598 | 0.8599 | 0.8612 | 0.8605 | 0.9482 |