Instructions to use ania3000/ossbert-morph-5ep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ania3000/ossbert-morph-5ep with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ania3000/ossbert-morph-5ep")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ania3000/ossbert-morph-5ep") model = AutoModelForTokenClassification.from_pretrained("ania3000/ossbert-morph-5ep") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: AlexeySorokin/ossbert-onc-unlab-from_multilingual-bs64-5epochs | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: trainer_output | |
| 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. --> | |
| # trainer_output | |
| This model is a fine-tuned version of [AlexeySorokin/ossbert-onc-unlab-from_multilingual-bs64-5epochs](https://huggingface.co/AlexeySorokin/ossbert-onc-unlab-from_multilingual-bs64-5epochs) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.2217 | |
| - Accuracy: 95.3248 | |
| - Sentence accuracy: 60.9174 | |
| ## 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: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | Sentence accuracy | | |
| |:-------------:|:------:|:----:|:---------------:|:--------:|:-----------------:| | |
| | No log | 0.3663 | 200 | 0.7237 | 85.5158 | 26.0550 | | |
| | No log | 0.7326 | 400 | 0.4818 | 89.8049 | 35.5963 | | |
| | 1.0871 | 1.0989 | 600 | 0.3723 | 91.5687 | 41.6514 | | |
| | 1.0871 | 1.4652 | 800 | 0.3279 | 92.7312 | 44.9541 | | |
| | 0.3561 | 1.8315 | 1000 | 0.2988 | 93.3592 | 51.3761 | | |
| | 0.3561 | 2.1978 | 1200 | 0.2634 | 94.0673 | 54.8624 | | |
| | 0.3561 | 2.5641 | 1400 | 0.2602 | 94.4415 | 54.6789 | | |
| | 0.2248 | 2.9304 | 1600 | 0.2505 | 94.5216 | 55.5963 | | |
| | 0.2248 | 3.2967 | 1800 | 0.2429 | 94.8557 | 56.1468 | | |
| | 0.1569 | 3.6630 | 2000 | 0.2391 | 94.8824 | 56.6972 | | |
| | 0.1569 | 4.0293 | 2200 | 0.2377 | 94.9359 | 58.3486 | | |
| | 0.1569 | 4.3956 | 2400 | 0.2349 | 95.1096 | 58.5321 | | |
| | 0.1158 | 4.7619 | 2600 | 0.2332 | 95.2833 | 59.6330 | | |
| ### Framework versions | |
| - Transformers 4.57.3 | |
| - Pytorch 2.10.0+cu128 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.22.2 | |