|
--- |
|
library_name: peft |
|
tags: |
|
- generated_from_trainer |
|
base_model: microsoft/codebert-base-mlm |
|
model-index: |
|
- name: malicious-package-classifier-bert-mal-only |
|
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-mal-only |
|
|
|
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.0001 |
|
|
|
## 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 | |
|
|:-------------:|:-----:|:----:|:---------------:| |
|
| No log | 1.0 | 42 | 0.0129 | |
|
| No log | 2.0 | 84 | 0.0016 | |
|
| No log | 3.0 | 126 | 0.0007 | |
|
| No log | 4.0 | 168 | 0.0005 | |
|
| No log | 5.0 | 210 | 0.0003 | |
|
| No log | 6.0 | 252 | 0.0003 | |
|
| No log | 7.0 | 294 | 0.0002 | |
|
| No log | 8.0 | 336 | 0.0002 | |
|
| No log | 9.0 | 378 | 0.0002 | |
|
| No log | 10.0 | 420 | 0.0002 | |
|
| No log | 11.0 | 462 | 0.0001 | |
|
| 0.0134 | 12.0 | 504 | 0.0001 | |
|
| 0.0134 | 13.0 | 546 | 0.0001 | |
|
| 0.0134 | 14.0 | 588 | 0.0001 | |
|
| 0.0134 | 15.0 | 630 | 0.0001 | |
|
|
|
|
|
### Framework versions |
|
|
|
- PEFT 0.10.0 |
|
- Transformers 4.39.3 |
|
- Pytorch 2.2.2+cu121 |
|
- Datasets 2.18.0 |
|
- Tokenizers 0.15.2 |