AlexStepanenko commited on
Commit
f0b2257
·
verified ·
1 Parent(s): 27c6fe5

Initial secret classifier

Browse files
Files changed (2) hide show
  1. README.md +68 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: microsoft/codebert-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: secret-codebert-classifier
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # secret-codebert-classifier
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: 0.0001
24
+ - Accuracy: 1.0
25
+ - Precision: 1.0
26
+ - Recall: 1.0
27
+ - F1: 1.0
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 3
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:---:|
58
+ | 0.0477 | 1.0 | 500 | 0.0001 | 1.0 | 1.0 | 1.0 | 1.0 |
59
+ | 0.0001 | 2.0 | 1000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
60
+ | 0.0001 | 3.0 | 1500 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.46.3
66
+ - Pytorch 2.5.1+cu124
67
+ - Datasets 3.1.0
68
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f57af9333278369c197674591621e46429441041d918e63f4a9a6034da0ea6d
3
  size 498612824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b135983e20a1bb5a0a4492499ffc4db236637bf4deb5927cb7c8d493d6ecc460
3
  size 498612824