CIRCL/cwe-parent-vulnerability-classification-roberta-base
Browse files- README.md +43 -43
 - config.json +52 -52
 - emissions.csv +1 -1
 - metrics.json +6 -6
 - model.safetensors +1 -1
 
    	
        README.md
    CHANGED
    
    | 
         @@ -18,9 +18,9 @@ should probably proofread and complete it, then remove this comment. --> 
     | 
|
| 18 | 
         | 
| 19 | 
         
             
            This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
         
     | 
| 20 | 
         
             
            It achieves the following results on the evaluation set:
         
     | 
| 21 | 
         
            -
            - Loss: 1. 
     | 
| 22 | 
         
            -
            - Accuracy: 0. 
     | 
| 23 | 
         
            -
            - F1 Macro: 0. 
     | 
| 24 | 
         | 
| 25 | 
         
             
            ## Model description
         
     | 
| 26 | 
         | 
| 
         @@ -51,46 +51,46 @@ The following hyperparameters were used during training: 
     | 
|
| 51 | 
         | 
| 52 | 
         
             
            | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
         
     | 
| 53 | 
         
             
            |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
         
     | 
| 54 | 
         
            -
            | 3. 
     | 
| 55 | 
         
            -
            | 3. 
     | 
| 56 | 
         
            -
            | 3. 
     | 
| 57 | 
         
            -
            |  
     | 
| 58 | 
         
            -
            | 3. 
     | 
| 59 | 
         
            -
            | 2. 
     | 
| 60 | 
         
            -
            | 2. 
     | 
| 61 | 
         
            -
            | 2. 
     | 
| 62 | 
         
            -
            | 2. 
     | 
| 63 | 
         
            -
            | 2. 
     | 
| 64 | 
         
            -
            | 2. 
     | 
| 65 | 
         
            -
            | 2. 
     | 
| 66 | 
         
            -
            |  
     | 
| 67 | 
         
            -
            |  
     | 
| 68 | 
         
            -
            | 1. 
     | 
| 69 | 
         
            -
            | 1. 
     | 
| 70 | 
         
            -
            | 1. 
     | 
| 71 | 
         
            -
            | 1. 
     | 
| 72 | 
         
            -
            | 1. 
     | 
| 73 | 
         
            -
            | 1. 
     | 
| 74 | 
         
            -
            | 1. 
     | 
| 75 | 
         
            -
            |  
     | 
| 76 | 
         
            -
            |  
     | 
| 77 | 
         
            -
            | 0. 
     | 
| 78 | 
         
            -
            | 0. 
     | 
| 79 | 
         
            -
            | 0. 
     | 
| 80 | 
         
            -
            | 0. 
     | 
| 81 | 
         
            -
            | 0. 
     | 
| 82 | 
         
            -
            | 0. 
     | 
| 83 | 
         
            -
            | 0. 
     | 
| 84 | 
         
            -
            | 0. 
     | 
| 85 | 
         
            -
            | 0. 
     | 
| 86 | 
         
            -
            | 0. 
     | 
| 87 | 
         
            -
            | 0. 
     | 
| 88 | 
         
            -
            | 0. 
     | 
| 89 | 
         
            -
            | 0. 
     | 
| 90 | 
         
            -
            | 0. 
     | 
| 91 | 
         
            -
            | 0. 
     | 
| 92 | 
         
            -
            | 0. 
     | 
| 93 | 
         
            -
            | 0. 
     | 
| 94 | 
         | 
| 95 | 
         | 
| 96 | 
         
             
            ### Framework versions
         
     | 
| 
         | 
|
| 18 | 
         | 
| 19 | 
         
             
            This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
         
     | 
| 20 | 
         
             
            It achieves the following results on the evaluation set:
         
     | 
| 21 | 
         
            +
            - Loss: 1.9131
         
     | 
| 22 | 
         
            +
            - Accuracy: 0.7701
         
     | 
| 23 | 
         
            +
            - F1 Macro: 0.4179
         
     | 
| 24 | 
         | 
| 25 | 
         
             
            ## Model description
         
     | 
| 26 | 
         | 
| 
         | 
|
| 51 | 
         | 
| 52 | 
         
             
            | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
         
     | 
| 53 | 
         
             
            |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
         
     | 
| 54 | 
         
            +
            | 3.2726        | 1.0   | 25   | 3.1430          | 0.0230   | 0.0041   |
         
     | 
| 55 | 
         
            +
            | 3.214         | 2.0   | 50   | 2.9861          | 0.0230   | 0.0041   |
         
     | 
| 56 | 
         
            +
            | 3.1457        | 3.0   | 75   | 2.9949          | 0.0115   | 0.0019   |
         
     | 
| 57 | 
         
            +
            | 3.0447        | 4.0   | 100  | 3.0090          | 0.1149   | 0.0265   |
         
     | 
| 58 | 
         
            +
            | 3.0588        | 5.0   | 125  | 2.9652          | 0.0230   | 0.0039   |
         
     | 
| 59 | 
         
            +
            | 2.9336        | 6.0   | 150  | 2.9089          | 0.4828   | 0.1081   |
         
     | 
| 60 | 
         
            +
            | 2.9729        | 7.0   | 175  | 2.9005          | 0.1264   | 0.0606   |
         
     | 
| 61 | 
         
            +
            | 2.812         | 8.0   | 200  | 2.9174          | 0.3563   | 0.1788   |
         
     | 
| 62 | 
         
            +
            | 2.6587        | 9.0   | 225  | 2.8268          | 0.3563   | 0.1414   |
         
     | 
| 63 | 
         
            +
            | 2.5464        | 10.0  | 250  | 2.8296          | 0.3103   | 0.1339   |
         
     | 
| 64 | 
         
            +
            | 2.4379        | 11.0  | 275  | 2.7762          | 0.2989   | 0.1554   |
         
     | 
| 65 | 
         
            +
            | 2.2741        | 12.0  | 300  | 2.7595          | 0.4598   | 0.1745   |
         
     | 
| 66 | 
         
            +
            | 2.1793        | 13.0  | 325  | 2.7483          | 0.4943   | 0.1826   |
         
     | 
| 67 | 
         
            +
            | 2.0085        | 14.0  | 350  | 2.6646          | 0.4713   | 0.2136   |
         
     | 
| 68 | 
         
            +
            | 1.9313        | 15.0  | 375  | 2.6414          | 0.6092   | 0.2916   |
         
     | 
| 69 | 
         
            +
            | 1.7534        | 16.0  | 400  | 2.5186          | 0.6552   | 0.3345   |
         
     | 
| 70 | 
         
            +
            | 1.6187        | 17.0  | 425  | 2.3736          | 0.6552   | 0.3381   |
         
     | 
| 71 | 
         
            +
            | 1.5568        | 18.0  | 450  | 2.2908          | 0.6667   | 0.3391   |
         
     | 
| 72 | 
         
            +
            | 1.4627        | 19.0  | 475  | 2.4101          | 0.6437   | 0.3356   |
         
     | 
| 73 | 
         
            +
            | 1.2964        | 20.0  | 500  | 2.2791          | 0.6782   | 0.3525   |
         
     | 
| 74 | 
         
            +
            | 1.2236        | 21.0  | 525  | 2.1636          | 0.6667   | 0.3403   |
         
     | 
| 75 | 
         
            +
            | 1.1237        | 22.0  | 550  | 2.1584          | 0.6897   | 0.3397   |
         
     | 
| 76 | 
         
            +
            | 1.0589        | 23.0  | 575  | 2.1262          | 0.6782   | 0.3535   |
         
     | 
| 77 | 
         
            +
            | 0.952         | 24.0  | 600  | 2.1252          | 0.6782   | 0.3504   |
         
     | 
| 78 | 
         
            +
            | 0.9137        | 25.0  | 625  | 2.0899          | 0.6667   | 0.3656   |
         
     | 
| 79 | 
         
            +
            | 0.878         | 26.0  | 650  | 1.9915          | 0.7126   | 0.4012   |
         
     | 
| 80 | 
         
            +
            | 0.8073        | 27.0  | 675  | 1.9856          | 0.7356   | 0.3857   |
         
     | 
| 81 | 
         
            +
            | 0.7588        | 28.0  | 700  | 1.9613          | 0.7356   | 0.3737   |
         
     | 
| 82 | 
         
            +
            | 0.7114        | 29.0  | 725  | 1.9789          | 0.7701   | 0.4103   |
         
     | 
| 83 | 
         
            +
            | 0.6728        | 30.0  | 750  | 1.9131          | 0.7701   | 0.4179   |
         
     | 
| 84 | 
         
            +
            | 0.6651        | 31.0  | 775  | 2.0236          | 0.7701   | 0.4231   |
         
     | 
| 85 | 
         
            +
            | 0.5979        | 32.0  | 800  | 2.0366          | 0.7701   | 0.4668   |
         
     | 
| 86 | 
         
            +
            | 0.5946        | 33.0  | 825  | 2.0026          | 0.7931   | 0.4478   |
         
     | 
| 87 | 
         
            +
            | 0.5395        | 34.0  | 850  | 2.0010          | 0.8046   | 0.4544   |
         
     | 
| 88 | 
         
            +
            | 0.5301        | 35.0  | 875  | 1.9332          | 0.8046   | 0.4500   |
         
     | 
| 89 | 
         
            +
            | 0.5216        | 36.0  | 900  | 1.9965          | 0.8161   | 0.4966   |
         
     | 
| 90 | 
         
            +
            | 0.497         | 37.0  | 925  | 1.9930          | 0.8161   | 0.4639   |
         
     | 
| 91 | 
         
            +
            | 0.5149        | 38.0  | 950  | 1.9813          | 0.8161   | 0.4582   |
         
     | 
| 92 | 
         
            +
            | 0.5022        | 39.0  | 975  | 1.9775          | 0.8046   | 0.4667   |
         
     | 
| 93 | 
         
            +
            | 0.4892        | 40.0  | 1000 | 1.9643          | 0.8161   | 0.4688   |
         
     | 
| 94 | 
         | 
| 95 | 
         | 
| 96 | 
         
             
            ### Framework versions
         
     | 
    	
        config.json
    CHANGED
    
    | 
         @@ -10,62 +10,62 @@ 
     | 
|
| 10 | 
         
             
              "hidden_dropout_prob": 0.1,
         
     | 
| 11 | 
         
             
              "hidden_size": 768,
         
     | 
| 12 | 
         
             
              "id2label": {
         
     | 
| 13 | 
         
            -
                "0": " 
     | 
| 14 | 
         
            -
                "1": " 
     | 
| 15 | 
         
            -
                "2": " 
     | 
| 16 | 
         
            -
                "3": " 
     | 
| 17 | 
         
            -
                "4": " 
     | 
| 18 | 
         
            -
                "5": " 
     | 
| 19 | 
         
            -
                "6": " 
     | 
| 20 | 
         
            -
                "7": " 
     | 
| 21 | 
         
            -
                "8": " 
     | 
| 22 | 
         
            -
                "9": " 
     | 
| 23 | 
         
            -
                "10": " 
     | 
| 24 | 
         
            -
                "11": " 
     | 
| 25 | 
         
            -
                "12": " 
     | 
| 26 | 
         
            -
                "13": " 
     | 
| 27 | 
         
            -
                "14": " 
     | 
| 28 | 
         
            -
                "15": " 
     | 
| 29 | 
         
            -
                "16": " 
     | 
| 30 | 
         
            -
                "17": " 
     | 
| 31 | 
         
            -
                "18": " 
     | 
| 32 | 
         
            -
                "19": " 
     | 
| 33 | 
         
            -
                "20": " 
     | 
| 34 | 
         
            -
                "21": " 
     | 
| 35 | 
         
            -
                "22": " 
     | 
| 36 | 
         
            -
                "23": " 
     | 
| 37 | 
         
            -
                "24": " 
     | 
| 38 | 
         
            -
                "25": " 
     | 
| 39 | 
         
             
              },
         
     | 
| 40 | 
         
             
              "initializer_range": 0.02,
         
     | 
| 41 | 
         
             
              "intermediate_size": 3072,
         
     | 
| 42 | 
         
             
              "label2id": {
         
     | 
| 43 | 
         
            -
                " 
     | 
| 44 | 
         
            -
                " 
     | 
| 45 | 
         
            -
                " 
     | 
| 46 | 
         
            -
                " 
     | 
| 47 | 
         
            -
                " 
     | 
| 48 | 
         
            -
                " 
     | 
| 49 | 
         
            -
                " 
     | 
| 50 | 
         
            -
                " 
     | 
| 51 | 
         
            -
                " 
     | 
| 52 | 
         
            -
                " 
     | 
| 53 | 
         
            -
                " 
     | 
| 54 | 
         
            -
                " 
     | 
| 55 | 
         
            -
                " 
     | 
| 56 | 
         
            -
                " 
     | 
| 57 | 
         
            -
                " 
     | 
| 58 | 
         
            -
                " 
     | 
| 59 | 
         
            -
                " 
     | 
| 60 | 
         
            -
                " 
     | 
| 61 | 
         
            -
                " 
     | 
| 62 | 
         
            -
                " 
     | 
| 63 | 
         
            -
                " 
     | 
| 64 | 
         
            -
                " 
     | 
| 65 | 
         
            -
                " 
     | 
| 66 | 
         
            -
                " 
     | 
| 67 | 
         
            -
                " 
     | 
| 68 | 
         
            -
                " 
     | 
| 69 | 
         
             
              },
         
     | 
| 70 | 
         
             
              "layer_norm_eps": 1e-05,
         
     | 
| 71 | 
         
             
              "max_position_embeddings": 514,
         
     | 
| 
         | 
|
| 10 | 
         
             
              "hidden_dropout_prob": 0.1,
         
     | 
| 11 | 
         
             
              "hidden_size": 768,
         
     | 
| 12 | 
         
             
              "id2label": {
         
     | 
| 13 | 
         
            +
                "0": "1025",
         
     | 
| 14 | 
         
            +
                "1": "1071",
         
     | 
| 15 | 
         
            +
                "2": "131",
         
     | 
| 16 | 
         
            +
                "3": "138",
         
     | 
| 17 | 
         
            +
                "4": "284",
         
     | 
| 18 | 
         
            +
                "5": "285",
         
     | 
| 19 | 
         
            +
                "6": "435",
         
     | 
| 20 | 
         
            +
                "7": "436",
         
     | 
| 21 | 
         
            +
                "8": "595",
         
     | 
| 22 | 
         
            +
                "9": "657",
         
     | 
| 23 | 
         
            +
                "10": "664",
         
     | 
| 24 | 
         
            +
                "11": "682",
         
     | 
| 25 | 
         
            +
                "12": "684",
         
     | 
| 26 | 
         
            +
                "13": "691",
         
     | 
| 27 | 
         
            +
                "14": "693",
         
     | 
| 28 | 
         
            +
                "15": "697",
         
     | 
| 29 | 
         
            +
                "16": "703",
         
     | 
| 30 | 
         
            +
                "17": "706",
         
     | 
| 31 | 
         
            +
                "18": "707",
         
     | 
| 32 | 
         
            +
                "19": "710",
         
     | 
| 33 | 
         
            +
                "20": "74",
         
     | 
| 34 | 
         
            +
                "21": "754",
         
     | 
| 35 | 
         
            +
                "22": "829",
         
     | 
| 36 | 
         
            +
                "23": "862",
         
     | 
| 37 | 
         
            +
                "24": "913",
         
     | 
| 38 | 
         
            +
                "25": "94"
         
     | 
| 39 | 
         
             
              },
         
     | 
| 40 | 
         
             
              "initializer_range": 0.02,
         
     | 
| 41 | 
         
             
              "intermediate_size": 3072,
         
     | 
| 42 | 
         
             
              "label2id": {
         
     | 
| 43 | 
         
            +
                "1025": 0,
         
     | 
| 44 | 
         
            +
                "1071": 1,
         
     | 
| 45 | 
         
            +
                "131": 2,
         
     | 
| 46 | 
         
            +
                "138": 3,
         
     | 
| 47 | 
         
            +
                "284": 4,
         
     | 
| 48 | 
         
            +
                "285": 5,
         
     | 
| 49 | 
         
            +
                "435": 6,
         
     | 
| 50 | 
         
            +
                "436": 7,
         
     | 
| 51 | 
         
            +
                "595": 8,
         
     | 
| 52 | 
         
            +
                "657": 9,
         
     | 
| 53 | 
         
            +
                "664": 10,
         
     | 
| 54 | 
         
            +
                "682": 11,
         
     | 
| 55 | 
         
            +
                "684": 12,
         
     | 
| 56 | 
         
            +
                "691": 13,
         
     | 
| 57 | 
         
            +
                "693": 14,
         
     | 
| 58 | 
         
            +
                "697": 15,
         
     | 
| 59 | 
         
            +
                "703": 16,
         
     | 
| 60 | 
         
            +
                "706": 17,
         
     | 
| 61 | 
         
            +
                "707": 18,
         
     | 
| 62 | 
         
            +
                "710": 19,
         
     | 
| 63 | 
         
            +
                "74": 20,
         
     | 
| 64 | 
         
            +
                "754": 21,
         
     | 
| 65 | 
         
            +
                "829": 22,
         
     | 
| 66 | 
         
            +
                "862": 23,
         
     | 
| 67 | 
         
            +
                "913": 24,
         
     | 
| 68 | 
         
            +
                "94": 25
         
     | 
| 69 | 
         
             
              },
         
     | 
| 70 | 
         
             
              "layer_norm_eps": 1e-05,
         
     | 
| 71 | 
         
             
              "max_position_embeddings": 514,
         
     | 
    	
        emissions.csv
    CHANGED
    
    | 
         @@ -1,2 +1,2 @@ 
     | 
|
| 1 | 
         
             
            timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
         
     | 
| 2 | 
         
            -
            2025-09- 
     | 
| 
         | 
|
| 1 | 
         
             
            timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
         
     | 
| 2 | 
         
            +
            2025-09-02T14:16:22,codecarbon,9ea547cb-df64-4219-8082-9f9f4afeb1fc,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,466.10610487288795,0.007993244659741786,1.7148980835429365e-05,42.5,188.53936351148204,94.34468507766725,0.005495822849665839,0.05824084603709423,0.012199269284694121,0.0759359381714542,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-71-generic-x86_64-with-glibc2.39,3.12.3,2.8.4,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.5858268737793,machine,N,1.0
         
     | 
    	
        metrics.json
    CHANGED
    
    | 
         @@ -1,9 +1,9 @@ 
     | 
|
| 1 | 
         
             
            {
         
     | 
| 2 | 
         
            -
                "eval_loss": 1. 
     | 
| 3 | 
         
            -
                "eval_accuracy": 0. 
     | 
| 4 | 
         
            -
                "eval_f1_macro": 0. 
     | 
| 5 | 
         
            -
                "eval_runtime": 0. 
     | 
| 6 | 
         
            -
                "eval_samples_per_second":  
     | 
| 7 | 
         
            -
                "eval_steps_per_second":  
     | 
| 8 | 
         
             
                "epoch": 40.0
         
     | 
| 9 | 
         
             
            }
         
     | 
| 
         | 
|
| 1 | 
         
             
            {
         
     | 
| 2 | 
         
            +
                "eval_loss": 1.9131312370300293,
         
     | 
| 3 | 
         
            +
                "eval_accuracy": 0.7701149425287356,
         
     | 
| 4 | 
         
            +
                "eval_f1_macro": 0.4179426520505981,
         
     | 
| 5 | 
         
            +
                "eval_runtime": 0.2644,
         
     | 
| 6 | 
         
            +
                "eval_samples_per_second": 329.062,
         
     | 
| 7 | 
         
            +
                "eval_steps_per_second": 11.347,
         
     | 
| 8 | 
         
             
                "epoch": 40.0
         
     | 
| 9 | 
         
             
            }
         
     | 
    	
        model.safetensors
    CHANGED
    
    | 
         @@ -1,3 +1,3 @@ 
     | 
|
| 1 | 
         
             
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            -
            oid sha256: 
     | 
| 3 | 
         
             
            size 498686648
         
     | 
| 
         | 
|
| 1 | 
         
             
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:a154d0659330d059cf644e7e1bbab9af00ed782b1603ab1676428b722553a0f2
         
     | 
| 3 | 
         
             
            size 498686648
         
     |