leondz/wnut_17
Updated • 9.49k • 19
How to use perfectsquare123/wnut_distilbert_NER_baseline with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="perfectsquare123/wnut_distilbert_NER_baseline") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("perfectsquare123/wnut_distilbert_NER_baseline")
model = AutoModelForTokenClassification.from_pretrained("perfectsquare123/wnut_distilbert_NER_baseline", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased 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 |
|---|---|---|---|---|---|---|---|
| 0.3978 | 1.0 | 107 | 0.3026 | 0.5514 | 0.1640 | 0.2529 | 0.9347 |
| 0.1425 | 2.0 | 214 | 0.2761 | 0.5853 | 0.2734 | 0.3727 | 0.9398 |
| 0.0979 | 3.0 | 321 | 0.2680 | 0.5428 | 0.3290 | 0.4097 | 0.9433 |
| 0.0744 | 4.0 | 428 | 0.2787 | 0.5339 | 0.3429 | 0.4176 | 0.9442 |
| 0.0651 | 5.0 | 535 | 0.2728 | 0.5326 | 0.3791 | 0.4429 | 0.9453 |
Base model
distilbert/distilbert-base-uncased