leondz/wnut_17
Updated • 2.32k • 19
How to use Osquery/my_awesome_wnut_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Osquery/my_awesome_wnut_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Osquery/my_awesome_wnut_model")
model = AutoModelForTokenClassification.from_pretrained("Osquery/my_awesome_wnut_model")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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 213 | 0.2779 | 0.6021 | 0.2651 | 0.3681 | 0.9396 |
| No log | 2.0 | 426 | 0.2705 | 0.5759 | 0.3095 | 0.4027 | 0.9418 |
Base model
distilbert/distilbert-base-uncased