| | --- |
| | library_name: peft |
| | tags: |
| | - generated_from_trainer |
| | base_model: microsoft/codebert-base-mlm |
| | model-index: |
| | - name: malicious-package-classifier-bert-weighted-balanced |
| | 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. --> |
| |
|
| | # malicious-package-classifier-bert-weighted-balanced |
| |
|
| | This model is a fine-tuned version of [microsoft/codebert-base-mlm](https://huggingface.co/microsoft/codebert-base-mlm) on an unknown dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 0.0285 |
| |
|
| | ## 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: 140 |
| | - eval_batch_size: 140 |
| | - seed: 42 |
| | - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| | - lr_scheduler_type: linear |
| | - num_epochs: 15 |
| |
|
| | ### Training results |
| |
|
| | | Training Loss | Epoch | Step | Validation Loss | |
| | |:-------------:|:-----:|:------:|:---------------:| |
| | | 0.0203 | 1.0 | 24728 | 0.0412 | |
| | | 0.0302 | 2.0 | 49456 | 0.0285 | |
| | | 0.0197 | 3.0 | 74184 | 0.0290 | |
| | | 0.012 | 4.0 | 98912 | 0.0345 | |
| | | 0.0147 | 5.0 | 123640 | 0.0408 | |
| |
|
| |
|
| | ### Framework versions |
| |
|
| | - PEFT 0.10.0 |
| | - Transformers 4.39.3 |
| | - Pytorch 2.2.2+cu121 |
| | - Datasets 2.18.0 |
| | - Tokenizers 0.15.2 |