Instructions to use ania3000/trainer_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ania3000/trainer_output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ania3000/trainer_output")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ania3000/trainer_output") model = AutoModelForTokenClassification.from_pretrained("ania3000/trainer_output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ania3000/trainer_output: direct link, hf CLI and curl.
- Browser
- Download file 3.58 kB
-
https://huggingface.co/ania3000/trainer_output/resolve/main/README.md
- Command line
-
hf download hf://ania3000/trainer_output/README.md
-
curl -L -o README.md https://huggingface.co/ania3000/trainer_output/resolve/main/README.md
3.58 kB
| library_name: transformers | |
| base_model: ossetic-encoders/tajik-bert-3epochs-5e5-bs512 | |
| 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 [ossetic-encoders/tajik-bert-3epochs-5e5-bs512](https://huggingface.co/ossetic-encoders/tajik-bert-3epochs-5e5-bs512) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.2527 | |
| - Accuracy: 96.6557 | |
| - Sentence accuracy: 64.4 | |
| ## 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: 25 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | Sentence accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------------:| | |
| | No log | 1.0 | 250 | 0.3133 | 92.1713 | 35.2 | | |
| | 0.5469 | 2.0 | 500 | 0.2242 | 94.1475 | 46.0 | | |
| | 0.5469 | 3.0 | 750 | 0.1886 | 95.2876 | 52.8 | | |
| | 0.1275 | 4.0 | 1000 | 0.1783 | 95.7689 | 57.6 | | |
| | 0.1275 | 5.0 | 1250 | 0.2051 | 95.7689 | 55.6 | | |
| | 0.0639 | 6.0 | 1500 | 0.1968 | 96.0730 | 58.0 | | |
| | 0.0639 | 7.0 | 1750 | 0.2085 | 96.0983 | 58.0 | | |
| | 0.0335 | 8.0 | 2000 | 0.2266 | 95.9210 | 58.8 | | |
| | 0.0335 | 9.0 | 2250 | 0.2393 | 95.8956 | 57.6 | | |
| | 0.0183 | 10.0 | 2500 | 0.2253 | 96.3010 | 61.2 | | |
| | 0.0183 | 11.0 | 2750 | 0.2224 | 96.4277 | 60.8 | | |
| | 0.009 | 12.0 | 3000 | 0.2236 | 96.4783 | 62.8 | | |
| | 0.009 | 13.0 | 3250 | 0.2416 | 96.3010 | 60.8 | | |
| | 0.0068 | 14.0 | 3500 | 0.2431 | 96.5290 | 63.2 | | |
| | 0.0068 | 15.0 | 3750 | 0.2548 | 96.5037 | 62.4 | | |
| | 0.0046 | 16.0 | 4000 | 0.2658 | 96.5543 | 64.4 | | |
| | 0.0046 | 17.0 | 4250 | 0.2577 | 96.3770 | 63.2 | | |
| | 0.0023 | 18.0 | 4500 | 0.2656 | 96.3517 | 62.8 | | |
| | 0.0023 | 19.0 | 4750 | 0.2601 | 96.5290 | 63.6 | | |
| | 0.0027 | 20.0 | 5000 | 0.2510 | 96.5290 | 64.8 | | |
| | 0.0027 | 21.0 | 5250 | 0.2513 | 96.5543 | 63.2 | | |
| | 0.0014 | 22.0 | 5500 | 0.2534 | 96.6557 | 64.4 | | |
| | 0.0014 | 23.0 | 5750 | 0.2505 | 96.7064 | 65.2 | | |
| | 0.0012 | 24.0 | 6000 | 0.2521 | 96.6557 | 64.4 | | |
| | 0.0012 | 25.0 | 6250 | 0.2527 | 96.6557 | 64.4 | | |
| ### Framework versions | |
| - Transformers 4.57.3 | |
| - Pytorch 2.14.1+cu130 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.22.2 | |