leondz/wnut_17
Updated • 4.49k • 19
How to use bhadauriaupendra062/tokenclassificationmodel with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="bhadauriaupendra062/tokenclassificationmodel") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("bhadauriaupendra062/tokenclassificationmodel")
model = AutoModelForTokenClassification.from_pretrained("bhadauriaupendra062/tokenclassificationmodel")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("bhadauriaupendra062/tokenclassificationmodel")
model = AutoModelForTokenClassification.from_pretrained("bhadauriaupendra062/tokenclassificationmodel")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 | 213 | 0.2835 | 0.4465 | 0.2048 | 0.2808 | 0.9363 |
| No log | 2.0 | 426 | 0.2719 | 0.5423 | 0.2910 | 0.3788 | 0.9408 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="bhadauriaupendra062/tokenclassificationmodel")