leondz/wnut_17
Updated • 2.37k • 19
How to use muhtasham/bert-small-finetuned-wnut17-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="muhtasham/bert-small-finetuned-wnut17-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/bert-small-finetuned-wnut17-ner")
model = AutoModelForTokenClassification.from_pretrained("muhtasham/bert-small-finetuned-wnut17-ner", device_map="auto")This model is a fine-tuned version of google/bert_uncased_L-4_H-512_A-8 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.3578 | 0.6382 | 0.3481 | 0.4505 | 0.9229 |
| 0.2359 | 2.0 | 850 | 0.3708 | 0.6535 | 0.3768 | 0.4780 | 0.9245 |
| 0.1231 | 3.0 | 1275 | 0.3649 | 0.6259 | 0.4043 | 0.4913 | 0.9255 |