Instructions to use Marinheiro2004/bert-ner-conll2003-lab9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Marinheiro2004/bert-ner-conll2003-lab9 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Marinheiro2004/bert-ner-conll2003-lab9")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Marinheiro2004/bert-ner-conll2003-lab9") model = AutoModelForTokenClassification.from_pretrained("Marinheiro2004/bert-ner-conll2003-lab9", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-ner-conll2003-lab9
This model is a fine-tuned version of bert-base-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0365
- Precision: 0.9468
- Recall: 0.9517
- F1: 0.9492
- Accuracy: 0.9913
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1651 | 1.0 | 878 | 0.0439 | 0.9234 | 0.9330 | 0.9282 | 0.9883 |
| 0.028 | 2.0 | 1756 | 0.0386 | 0.9453 | 0.9475 | 0.9464 | 0.9907 |
| 0.0148 | 3.0 | 2634 | 0.0365 | 0.9468 | 0.9517 | 0.9492 | 0.9913 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.5.1+cu121
- Datasets 4.8.4
- Tokenizers 0.22.1
- Downloads last month
- 2
Model tree for Marinheiro2004/bert-ner-conll2003-lab9
Base model
google-bert/bert-base-cased