Token Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use Ironwolf1212/bert-biobert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ironwolf1212/bert-biobert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Ironwolf1212/bert-biobert")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Ironwolf1212/bert-biobert") model = AutoModelForTokenClassification.from_pretrained("Ironwolf1212/bert-biobert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-biobert
This model is a fine-tuned version of distilbert-base-uncased on the biobert_json dataset. It achieves the following results on the evaluation set:
- Loss: 0.1159
- Precision: 0.9239
- Recall: 0.9548
- F1: 0.9391
- Accuracy: 0.9698
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 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: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.5326 | 1.0 | 612 | 0.1450 | 0.9196 | 0.9350 | 0.9272 | 0.9642 |
| 0.175 | 2.0 | 1224 | 0.1159 | 0.9239 | 0.9548 | 0.9391 | 0.9698 |
Framework versions
- Transformers 4.46.2
- Pytorch 2.5.1+cu121
- Datasets 3.1.0
- Tokenizers 0.20.3
- Downloads last month
- 7
Model tree for Ironwolf1212/bert-biobert
Base model
distilbert/distilbert-base-uncasedEvaluation results
- Precision on biobert_jsonvalidation set self-reported0.924
- Recall on biobert_jsonvalidation set self-reported0.955
- F1 on biobert_jsonvalidation set self-reported0.939
- Accuracy on biobert_jsonvalidation set self-reported0.970