Instructions to use lizaboiarchuk/war-tiny-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lizaboiarchuk/war-tiny-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lizaboiarchuk/war-tiny-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lizaboiarchuk/war-tiny-bert") model = AutoModelForSequenceClassification.from_pretrained("lizaboiarchuk/war-tiny-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from lizaboiarchuk/war-tiny-bert: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/lizaboiarchuk/war-tiny-bert/resolve/main/README.md
- Command line
-
hf download hf://lizaboiarchuk/war-tiny-bert/README.md
-
curl -L -o README.md https://huggingface.co/lizaboiarchuk/war-tiny-bert/resolve/main/README.md
1.86 kB
| license: mit | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - f1 | |
| model-index: | |
| - name: war-tiny-bert | |
| 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. --> | |
| # war-tiny-bert | |
| This model is a fine-tuned version of [cointegrated/rubert-tiny2](https://huggingface.co/cointegrated/rubert-tiny2) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.3438 | |
| - F1: 0.6929 | |
| ## 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: 1e-05 | |
| - train_batch_size: 16 | |
| - eval_batch_size: 16 | |
| - seed: 21 | |
| - 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.3216 | 1.0 | 2500 | 0.2645 | 0.5988 | | |
| | 0.2388 | 2.0 | 5000 | 0.2379 | 0.6496 | | |
| | 0.2067 | 3.0 | 7500 | 0.2375 | 0.6696 | | |
| | 0.1822 | 4.0 | 10000 | 0.2553 | 0.6740 | | |
| | 0.1661 | 5.0 | 12500 | 0.2770 | 0.6725 | | |
| | 0.1509 | 6.0 | 15000 | 0.2853 | 0.6965 | | |
| | 0.1423 | 7.0 | 17500 | 0.3187 | 0.6765 | | |
| | 0.1322 | 8.0 | 20000 | 0.3277 | 0.6958 | | |
| | 0.1256 | 9.0 | 22500 | 0.3411 | 0.6909 | | |
| | 0.1224 | 10.0 | 25000 | 0.3438 | 0.6929 | | |
| ### Framework versions | |
| - Transformers 4.26.0 | |
| - Pytorch 1.13.1+cu116 | |
| - Datasets 2.9.0 | |
| - Tokenizers 0.13.2 | |