leondz/wnut_17
Updated • 4.39k • 19
How to use shubingxl/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="shubingxl/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("shubingxl/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("shubingxl/bert-finetuned-ner")This model is a fine-tuned version of bert-base-cased on the wnut_17 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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 425 | 0.4089 | 0.4827 | 0.2586 | 0.3368 | 0.9314 |
| 0.2032 | 2.0 | 850 | 0.4356 | 0.5435 | 0.2836 | 0.3727 | 0.9337 |
| 0.0815 | 3.0 | 1275 | 0.4341 | 0.5380 | 0.3216 | 0.4026 | 0.9367 |
Base model
google-bert/bert-base-cased