Biomed-2class-NER-models
Collection
7 items โข Updated
How to use Mardiyyah/CeLLaTe-ner-2class-bioformer16l-baseline with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mardiyyah/CeLLaTe-ner-2class-bioformer16l-baseline") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Mardiyyah/CeLLaTe-ner-2class-bioformer16l-baseline")
model = AutoModelForTokenClassification.from_pretrained("Mardiyyah/CeLLaTe-ner-2class-bioformer16l-baseline", device_map="auto")This model is a fine-tuned version of bioformers/bioformer-16l on the OTAR3088/CeLLaTe-ner-2class-iob_final 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 | Micro F1 | Weighted F1 | Macro F1 | Accuracy |
|---|---|---|---|---|---|---|---|---|---|
| 0.2688 | 1.0 | 263 | 0.0748 | 0.5866 | 0.6409 | 0.6125 | 0.6104 | 0.5956 | 0.9746 |
| 0.054 | 2.0 | 526 | 0.0640 | 0.7677 | 0.7035 | 0.7342 | 0.7347 | 0.7463 | 0.9803 |
| 0.0352 | 3.0 | 789 | 0.0690 | 0.7029 | 0.6941 | 0.6985 | 0.6997 | 0.7084 | 0.9775 |
| 0.0265 | 4.0 | 1052 | 0.0661 | 0.7820 | 0.7348 | 0.7577 | 0.7582 | 0.7690 | 0.9812 |
| 0.021 | 5.0 | 1315 | 0.0714 | 0.8027 | 0.7370 | 0.7685 | 0.7687 | 0.7791 | 0.9818 |
| 0.0166 | 6.0 | 1578 | 0.0858 | 0.8124 | 0.7089 | 0.7571 | 0.7570 | 0.7686 | 0.9811 |
| 0.0141 | 7.0 | 1841 | 0.0752 | 0.7876 | 0.7379 | 0.7619 | 0.7620 | 0.7637 | 0.9818 |
| 0.0115 | 8.0 | 2104 | 0.0844 | 0.8024 | 0.7245 | 0.7615 | 0.7618 | 0.7724 | 0.9818 |
| 0.0096 | 9.0 | 2367 | 0.0815 | 0.7935 | 0.7478 | 0.7700 | 0.7704 | 0.7827 | 0.9819 |
| 0.0079 | 10.0 | 2630 | 0.0882 | 0.8036 | 0.7357 | 0.7682 | 0.7687 | 0.7824 | 0.9821 |
| 0.0071 | 11.0 | 2893 | 0.0901 | 0.8070 | 0.7406 | 0.7724 | 0.7727 | 0.7836 | 0.9822 |
| 0.0066 | 12.0 | 3156 | 0.0945 | 0.8224 | 0.7415 | 0.7799 | 0.7799 | 0.7903 | 0.9823 |
| 0.0054 | 13.0 | 3419 | 0.0945 | 0.8073 | 0.7549 | 0.7802 | 0.7804 | 0.7922 | 0.9825 |
| 0.005 | 14.0 | 3682 | 0.0945 | 0.8020 | 0.7482 | 0.7742 | 0.7745 | 0.7853 | 0.9821 |
| 0.0045 | 15.0 | 3945 | 0.0992 | 0.8176 | 0.7460 | 0.7802 | 0.7803 | 0.7909 | 0.9826 |
| 0.0042 | 16.0 | 4208 | 0.0999 | 0.8141 | 0.7540 | 0.7829 | 0.7830 | 0.7929 | 0.9828 |
| 0.0038 | 17.0 | 4471 | 0.1001 | 0.8060 | 0.7545 | 0.7794 | 0.7798 | 0.7918 | 0.9826 |
| 0.0036 | 18.0 | 4734 | 0.0998 | 0.8067 | 0.7594 | 0.7823 | 0.7825 | 0.7931 | 0.9828 |
| 0.0033 | 19.0 | 4997 | 0.1034 | 0.8144 | 0.7576 | 0.7850 | 0.7851 | 0.7957 | 0.9829 |
| 0.0032 | 20.0 | 5260 | 0.1026 | 0.8092 | 0.7567 | 0.7821 | 0.7823 | 0.7936 | 0.9828 |