eriktks/conll2003
Updated • 41.3k • 166
How to use eddiegulay/g-bert-NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="eddiegulay/g-bert-NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("eddiegulay/g-bert-NER")
model = AutoModelForTokenClassification.from_pretrained("eddiegulay/g-bert-NER")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("eddiegulay/g-bert-NER")
model = AutoModelForTokenClassification.from_pretrained("eddiegulay/g-bert-NER")This model is a fine-tuned version of google-bert/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.1773 | 1.0 | 878 | 0.1028 | 0.8910 | 0.8947 | 0.8928 | 0.9781 |
| 0.036 | 2.0 | 1756 | 0.1125 | 0.8901 | 0.9132 | 0.9015 | 0.9793 |
| 0.0194 | 3.0 | 2634 | 0.1202 | 0.8948 | 0.9093 | 0.9020 | 0.9800 |
| 0.0112 | 4.0 | 3512 | 0.1346 | 0.8889 | 0.9136 | 0.9011 | 0.9794 |
| 0.0081 | 5.0 | 4390 | 0.1387 | 0.8925 | 0.9102 | 0.9013 | 0.9800 |
Base model
google-bert/bert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="eddiegulay/g-bert-NER")