Instructions to use ericntay/bio_bert_ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericntay/bio_bert_ft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ericntay/bio_bert_ft")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ericntay/bio_bert_ft") model = AutoModelForTokenClassification.from_pretrained("ericntay/bio_bert_ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - f1 | |
| model-index: | |
| - name: bio_bert_ft | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # bio_bert_ft | |
| This model is a fine-tuned version of [dmis-lab/biobert-v1.1](https://huggingface.co/dmis-lab/biobert-v1.1) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0747 | |
| - F1: 0.8621 | |
| ## 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: 5e-05 | |
| - train_batch_size: 32 | |
| - eval_batch_size: 32 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:------:| | |
| | 0.0879 | 1.0 | 170 | 0.0400 | 0.8312 | | |
| | 0.0211 | 2.0 | 340 | 0.0454 | 0.8413 | | |
| | 0.0105 | 3.0 | 510 | 0.0503 | 0.8603 | | |
| | 0.0045 | 4.0 | 680 | 0.0497 | 0.8496 | | |
| | 0.0028 | 5.0 | 850 | 0.0759 | 0.8387 | | |
| | 0.0019 | 6.0 | 1020 | 0.0654 | 0.8598 | | |
| | 0.0011 | 7.0 | 1190 | 0.0667 | 0.8654 | | |
| | 0.0005 | 8.0 | 1360 | 0.0702 | 0.8621 | | |
| | 0.0003 | 9.0 | 1530 | 0.0739 | 0.8596 | | |
| | 0.0002 | 10.0 | 1700 | 0.0747 | 0.8621 | | |
| ### Framework versions | |
| - Transformers 4.20.1 | |
| - Pytorch 1.11.0+cu113 | |
| - Datasets 2.3.2 | |
| - Tokenizers 0.12.1 | |