leondz/wnut_17
Updated • 9.27k • 19
How to use V1G1L/distilbert-wnut-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="V1G1L/distilbert-wnut-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("V1G1L/distilbert-wnut-ner")
model = AutoModelForTokenClassification.from_pretrained("V1G1L/distilbert-wnut-ner", device_map="auto")This model is a fine-tuned version of distilbert/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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 107 | 0.2879 | 0.5025 | 0.2392 | 0.3241 | 0.9357 |
| No log | 2.0 | 214 | 0.2594 | 0.5924 | 0.3529 | 0.4423 | 0.9430 |
| No log | 3.0 | 321 | 0.2489 | 0.6425 | 0.4127 | 0.5025 | 0.9472 |
Base model
distilbert/distilbert-base-uncased