eriktks/conll2003
Updated • 24.9k • 174
How to use Miladsaeedi70/bert-finetuned-ner-tokenclass with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Miladsaeedi70/bert-finetuned-ner-tokenclass") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Miladsaeedi70/bert-finetuned-ner-tokenclass")
model = AutoModelForTokenClassification.from_pretrained("Miladsaeedi70/bert-finetuned-ner-tokenclass", device_map="auto")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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 125 | 0.1217 | 0.7805 | 0.8575 | 0.8172 | 0.9678 |
| No log | 2.0 | 250 | 0.0968 | 0.8394 | 0.8877 | 0.8628 | 0.9713 |
| No log | 3.0 | 375 | 0.0920 | 0.8454 | 0.8986 | 0.8712 | 0.9742 |
Base model
google-bert/bert-base-cased