eriktks/conll2003
Updated • 38.9k • 166
How to use muqi1029/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="muqi1029/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("muqi1029/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("muqi1029/bert-finetuned-ner")This model is a fine-tuned version of bert-base-cased 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.0748 | 1.0 | 1756 | 0.0650 | 0.9099 | 0.9344 | 0.9220 | 0.9824 |
| 0.0363 | 2.0 | 3512 | 0.0612 | 0.9296 | 0.9465 | 0.9380 | 0.9857 |
| 0.0205 | 3.0 | 5268 | 0.0579 | 0.9307 | 0.9487 | 0.9396 | 0.9863 |
Base model
google-bert/bert-base-cased