leondz/wnut_17
Updated • 9.52k • 19
How to use MohamedAliAhmed/first_token_classification_wnut_distilbert_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="MohamedAliAhmed/first_token_classification_wnut_distilbert_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("MohamedAliAhmed/first_token_classification_wnut_distilbert_model")
model = AutoModelForTokenClassification.from_pretrained("MohamedAliAhmed/first_token_classification_wnut_distilbert_model", 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 | 425 | 0.2845 | 0.6045 | 0.3216 | 0.4198 | 0.9421 |
| 0.2229 | 2.0 | 850 | 0.2734 | 0.5518 | 0.3457 | 0.4251 | 0.9437 |
Base model
distilbert/distilbert-base-uncased