eriktks/conll2003
Updated • 31.9k • 177
How to use JohnLei/bert-large-10-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="JohnLei/bert-large-10-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("JohnLei/bert-large-10-ner")
model = AutoModelForTokenClassification.from_pretrained("JohnLei/bert-large-10-ner", device_map="auto")This model is a fine-tuned version of bert-large-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 | 10 | 1.1341 | 0.0731 | 0.0151 | 0.0251 | 0.8169 |
| No log | 2.0 | 20 | 0.8682 | 0.2857 | 0.0010 | 0.0020 | 0.8324 |
| No log | 3.0 | 30 | 0.8332 | 0.0 | 0.0 | 0.0 | 0.8325 |
Base model
google-bert/bert-large-cased