Athipan01 commited on
Commit
90085ea
·
verified ·
1 Parent(s): 44007cc

End of training

Browse files
Files changed (3) hide show
  1. README.md +19 -10
  2. adapter_model.safetensors +1 -1
  3. config.json +12 -12
README.md CHANGED
@@ -3,6 +3,11 @@ library_name: peft
3
  base_model: microsoft/codebert-base
4
  tags:
5
  - generated_from_trainer
 
 
 
 
 
6
  model-index:
7
  - name: codebert-emotion-model
8
  results: []
@@ -15,16 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: 1.9961
19
- - eval_model_preparation_time: 0.0041
20
- - eval_accuracy: 0.095
21
- - eval_f1: 0.0165
22
- - eval_precision: 0.0090
23
- - eval_recall: 0.095
24
- - eval_runtime: 17.4943
25
- - eval_samples_per_second: 11.432
26
- - eval_steps_per_second: 2.858
27
- - step: 0
28
 
29
  ## Model description
30
 
@@ -53,6 +53,15 @@ The following hyperparameters were used during training:
53
  - lr_scheduler_type: linear
54
  - num_epochs: 3
55
 
 
 
 
 
 
 
 
 
 
56
  ### Framework versions
57
 
58
  - PEFT 0.15.2
 
3
  base_model: microsoft/codebert-base
4
  tags:
5
  - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
  model-index:
12
  - name: codebert-emotion-model
13
  results: []
 
20
 
21
  This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 1.4952
24
+ - Accuracy: 0.415
25
+ - F1: 0.2434
26
+ - Precision: 0.1722
27
+ - Recall: 0.415
 
 
 
 
 
28
 
29
  ## Model description
30
 
 
53
  - lr_scheduler_type: linear
54
  - num_epochs: 3
55
 
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.6433 | 1.0 | 63 | 1.4952 | 0.415 | 0.2434 | 0.1722 | 0.415 |
61
+ | 1.5859 | 2.0 | 126 | 1.4870 | 0.415 | 0.2434 | 0.1722 | 0.415 |
62
+ | 1.6087 | 2.96 | 186 | 1.4865 | 0.415 | 0.2434 | 0.1722 | 0.415 |
63
+
64
+
65
  ### Framework versions
66
 
67
  - PEFT 0.15.2
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88ac14ff9c64d83917127e3598d47c08e79a6fb203fc1019813cb46882f9b347
3
  size 4747504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0304f6e8588a3d0187e33b7d3a088fea03fd00ce3f54882be642aa0dff1c0bea
3
  size 4747504
config.json CHANGED
@@ -11,22 +11,22 @@
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5"
20
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
23
  "label2id": {
24
- "LABEL_0": 0,
25
- "LABEL_1": 1,
26
- "LABEL_2": 2,
27
- "LABEL_3": 3,
28
- "LABEL_4": 4,
29
- "LABEL_5": 5
30
  },
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 514,
 
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
+ "0": "sadness",
15
+ "1": "joy",
16
+ "2": "love",
17
+ "3": "anger",
18
+ "4": "fear",
19
+ "5": "surprise"
20
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
23
  "label2id": {
24
+ "anger": 3,
25
+ "fear": 4,
26
+ "joy": 1,
27
+ "love": 2,
28
+ "sadness": 0,
29
+ "surprise": 5
30
  },
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 514,