eriktks/conll2003
Updated • 22.2k • 172
How to use nmb-paperspace-hf/bert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="nmb-paperspace-hf/bert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("nmb-paperspace-hf/bert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("nmb-paperspace-hf/bert-base-uncased-finetuned-ner")This model is a fine-tuned version of bert-base-uncased on the conll2003 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 |
|---|---|---|---|---|---|---|---|
| 0.051 | 1.0 | 877 | 0.0667 | 0.9090 | 0.9190 | 0.9139 | 0.9811 |
| 0.2483 | 2.0 | 1754 | 0.0600 | 0.9295 | 0.9344 | 0.9320 | 0.9839 |
| 0.0153 | 3.0 | 2631 | 0.0615 | 0.9222 | 0.9372 | 0.9297 | 0.9838 |