ZihanWangKi/conllpp
Updated • 1.04k • 17
How to use janko/distilbert-base-multilingual-cased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="janko/distilbert-base-multilingual-cased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("janko/distilbert-base-multilingual-cased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("janko/distilbert-base-multilingual-cased-finetuned-ner")This model is a fine-tuned version of distilbert/distilbert-base-multilingual-cased on the conllpp 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.237 | 1.0 | 878 | 0.0732 | 0.9083 | 0.9188 | 0.9135 | 0.9794 |
| 0.0533 | 2.0 | 1756 | 0.0648 | 0.9265 | 0.9274 | 0.9269 | 0.9827 |
| 0.0303 | 3.0 | 2634 | 0.0632 | 0.9282 | 0.9340 | 0.9311 | 0.9839 |