leondz/wnut_17
Updated • 4.53k • 19
How to use hoganpham/my_first_ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hoganpham/my_first_ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hoganpham/my_first_ner")
model = AutoModelForTokenClassification.from_pretrained("hoganpham/my_first_ner")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.3151 | 0.3618 | 0.0825 | 0.1343 | 0.9310 |
| No log | 2.0 | 214 | 0.2982 | 0.4453 | 0.2076 | 0.2832 | 0.9365 |
Base model
distilbert/distilbert-base-uncased