eriktks/conll2003
Updated • 37.3k • 167
How to use ish97/bert-finetuned-chunking with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ish97/bert-finetuned-chunking") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ish97/bert-finetuned-chunking")
model = AutoModelForTokenClassification.from_pretrained("ish97/bert-finetuned-chunking")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ish97/bert-finetuned-chunking")
model = AutoModelForTokenClassification.from_pretrained("ish97/bert-finetuned-chunking")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 |
|---|---|---|---|---|---|---|---|
| 0.1887 | 1.0 | 1756 | 0.1793 | 0.9167 | 0.9112 | 0.9139 | 0.9573 |
| 0.128 | 2.0 | 3512 | 0.1552 | 0.9228 | 0.9187 | 0.9207 | 0.9609 |
| 0.091 | 3.0 | 5268 | 0.1594 | 0.9230 | 0.9218 | 0.9224 | 0.9619 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ish97/bert-finetuned-chunking")