leondz/wnut_17
Updated • 4.12k • 19
How to use krishnareddy/hello_token_classification_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="krishnareddy/hello_token_classification_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("krishnareddy/hello_token_classification_model")
model = AutoModelForTokenClassification.from_pretrained("krishnareddy/hello_token_classification_model")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("krishnareddy/hello_token_classification_model")
model = AutoModelForTokenClassification.from_pretrained("krishnareddy/hello_token_classification_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.2924 | 0.4855 | 0.2011 | 0.2844 | 0.9363 |
| No log | 2.0 | 426 | 0.2797 | 0.6046 | 0.2919 | 0.3937 | 0.9407 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="krishnareddy/hello_token_classification_model")