eriktks/conll2003
Updated • 32.4k • 177
How to use Shyam-duba/bert-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Shyam-duba/bert-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Shyam-duba/bert-ner")
model = AutoModelForTokenClassification.from_pretrained("Shyam-duba/bert-ner", device_map="auto")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.2227 | 1.0 | 878 | 0.0649 | 0.9161 | 0.9269 | 0.9215 | 0.9823 |
| 0.0465 | 2.0 | 1756 | 0.0561 | 0.9319 | 0.9436 | 0.9377 | 0.9858 |
| 0.0268 | 3.0 | 2634 | 0.0551 | 0.9376 | 0.9482 | 0.9429 | 0.9868 |
Base model
google-bert/bert-base-uncased