eriktks/conll2003
Updated • 32k • 177
How to use JohnLei/bert-large-200-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="JohnLei/bert-large-200-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("JohnLei/bert-large-200-ner")
model = AutoModelForTokenClassification.from_pretrained("JohnLei/bert-large-200-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 | 100 | 0.3317 | 0.4836 | 0.5545 | 0.5167 | 0.9237 |
| No log | 2.0 | 200 | 0.1819 | 0.7122 | 0.7763 | 0.7429 | 0.9607 |
| No log | 3.0 | 300 | 0.1527 | 0.7622 | 0.8277 | 0.7936 | 0.9683 |
Base model
google-bert/bert-large-cased