| | --- |
| | license: mit |
| | base_model: ukr-models/xlm-roberta-base-uk |
| | tags: |
| | - generated_from_trainer |
| | model-index: |
| | - name: robertaForCausalLM |
| | results: [] |
| | language: |
| | - uk |
| | widget: |
| | - text: "0007347852 - 734785.0 - Підшипник кульковий закритий спеціальний " |
| | --- |
| | |
| | <!-- 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. --> |
| |
|
| | # robertaForCausalLM |
| |
|
| | This model is a fine-tuned version of [ukr-models/xlm-roberta-base-uk](https://huggingface.co/ukr-models/xlm-roberta-base-uk) on the Gan1108/agriparts dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 1.0242 |
| |
|
| | ## Model description |
| |
|
| | The model is trained to generate a text description in Ukrainian of spare parts for agricultural machinery based on their name. |
| |
|
| |
|
| | ## Training procedure |
| |
|
| | ### Training hyperparameters |
| |
|
| | The following hyperparameters were used during training: |
| | - learning_rate: 2e-05 |
| | - train_batch_size: 8 |
| | - eval_batch_size: 8 |
| | - seed: 42 |
| | - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| | - lr_scheduler_type: linear |
| | - num_epochs: 3.0 |
| |
|
| | ### Training results |
| |
|
| | | Training Loss | Epoch | Step | Validation Loss | |
| | |:-------------:|:-----:|:----:|:---------------:| |
| | | 1.3574 | 1.0 | 2495 | 1.1717 | |
| | | 1.1399 | 2.0 | 4990 | 1.0587 | |
| | | 1.0802 | 3.0 | 7485 | 1.0242 | |
| |
|
| |
|
| | ### Framework versions |
| |
|
| | - Transformers 4.37.2 |
| | - Pytorch 2.1.2+cu121 |
| | - Datasets 2.16.1 |
| | - Tokenizers 0.15.1 |