leondz/wnut_17
Updated • 4.13k • 19
How to use mircoboettcher/bert-wnut17-final with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="mircoboettcher/bert-wnut17-final") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("mircoboettcher/bert-wnut17-final")
model = AutoModelForTokenClassification.from_pretrained("mircoboettcher/bert-wnut17-final")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("mircoboettcher/bert-wnut17-final")
model = AutoModelForTokenClassification.from_pretrained("mircoboettcher/bert-wnut17-final")This model is a fine-tuned version of dslim/bert-base-NER 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 | 213 | 0.2392 | 0.5203 | 0.4041 | 0.4549 | 0.9462 |
| No log | 2.0 | 426 | 0.2932 | 0.5818 | 0.3494 | 0.4366 | 0.9459 |
| 0.1758 | 3.0 | 639 | 0.3100 | 0.5768 | 0.3828 | 0.4602 | 0.9478 |
| 0.1758 | 4.0 | 852 | 0.3245 | 0.5604 | 0.3828 | 0.4548 | 0.9482 |
Base model
dslim/bert-base-NER
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mircoboettcher/bert-wnut17-final")