eriktks/conll2003
Updated • 22.9k • 175
How to use TymofiiT/NER_Pittsburgh_TAA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="TymofiiT/NER_Pittsburgh_TAA") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("TymofiiT/NER_Pittsburgh_TAA")
model = AutoModelForTokenClassification.from_pretrained("TymofiiT/NER_Pittsburgh_TAA", 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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 439 | 0.0604 | 0.9175 | 0.9290 | 0.9232 | 0.9829 |
| 0.0953 | 2.0 | 878 | 0.0545 | 0.9312 | 0.9412 | 0.9361 | 0.9850 |
| 0.0409 | 3.0 | 1317 | 0.0571 | 0.9357 | 0.9412 | 0.9384 | 0.9855 |
| 0.0234 | 4.0 | 1756 | 0.0593 | 0.9343 | 0.9482 | 0.9412 | 0.9858 |
| 0.0159 | 5.0 | 2195 | 0.0599 | 0.9344 | 0.9461 | 0.9402 | 0.9858 |
Base model
google-bert/bert-base-uncased