leondz/wnut_17
Updated • 4.47k • 19
How to use BaselMousi/bert_wnut_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="BaselMousi/bert_wnut_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("BaselMousi/bert_wnut_model")
model = AutoModelForTokenClassification.from_pretrained("BaselMousi/bert_wnut_model")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("BaselMousi/bert_wnut_model")
model = AutoModelForTokenClassification.from_pretrained("BaselMousi/bert_wnut_model")This model is a fine-tuned version of bert-base-cased 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.2607 | 0.5443 | 0.2901 | 0.3785 | 0.9411 |
| No log | 2.0 | 426 | 0.2689 | 0.5474 | 0.3318 | 0.4132 | 0.9453 |
| 0.1554 | 3.0 | 639 | 0.2896 | 0.5253 | 0.3753 | 0.4378 | 0.9475 |
| 0.1554 | 4.0 | 852 | 0.3009 | 0.5079 | 0.3865 | 0.4389 | 0.9474 |
| 0.0349 | 5.0 | 1065 | 0.3195 | 0.5109 | 0.3920 | 0.4436 | 0.9486 |
| 0.0349 | 6.0 | 1278 | 0.3346 | 0.5291 | 0.3791 | 0.4417 | 0.9477 |
Base model
google-bert/bert-base-cased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="BaselMousi/bert_wnut_model")