leondz/wnut_17
Updated • 5.55k • 19
How to use Park-Hip-02/token-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Park-Hip-02/token-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Park-Hip-02/token-classification")
model = AutoModelForTokenClassification.from_pretrained("Park-Hip-02/token-classification")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Park-Hip-02/token-classification")
model = AutoModelForTokenClassification.from_pretrained("Park-Hip-02/token-classification")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 |
|---|---|---|---|---|---|---|---|
| 0.1128 | 1.0 | 213 | 0.2483 | 0.5240 | 0.3744 | 0.4368 | 0.9445 |
| 0.0775 | 2.0 | 426 | 0.2569 | 0.5474 | 0.3744 | 0.4447 | 0.9452 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Park-Hip-02/token-classification")