param-bharat commited on
Commit
63cf3f4
·
verified ·
1 Parent(s): a425c07

Model save

Browse files
Files changed (2) hide show
  1. README.md +69 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: huggingface/CodeBERTa-small-v1
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: CodeBERTa-small-v1-sourcecode-detection-clf
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
+ # CodeBERTa-small-v1-sourcecode-detection-clf
20
+
21
+ This model is a fine-tuned version of [huggingface/CodeBERTa-small-v1](https://huggingface.co/huggingface/CodeBERTa-small-v1) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0000
24
+ - F1: 1.0
25
+ - Accuracy: 1.0
26
+ - Precision: 1.0
27
+ - Recall: 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: 0.0003
47
+ - train_batch_size: 128
48
+ - eval_batch_size: 128
49
+ - seed: 2024
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: cosine
52
+ - lr_scheduler_warmup_ratio: 0.1
53
+ - training_steps: 100
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|:---------:|:------:|
59
+ | No log | 0 | 0 | 0.7035 | 0.3005 | 0.47 | 0.2209 | 0.47 |
60
+ | 0.0018 | 6.25 | 50 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
61
+ | 0.0001 | 12.5 | 100 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.46.3
67
+ - Pytorch 2.5.1
68
+ - Datasets 3.1.0
69
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e93616aa4473a25e36b72f0a11307737476df12f67a83caa8c21feae3574526f
3
  size 166917412
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7f46e069595762bf60b140f863cc1570e2d726ecdad4b8d34d529ecc5474773
3
  size 166917412