MrezaPRZ commited on
Commit
c49031c
1 Parent(s): 32dce0e

MrezaPRZ/sql-similarity-predictor

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: deepseek-ai/deepseek-coder-1.3b-instruct
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: encoder
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # encoder
15
+
16
+ This model is a fine-tuned version of [deepseek-ai/deepseek-coder-1.3b-instruct](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-instruct) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0670
19
+ - Mse: 1.0575
20
+ - Rmse: 1.0283
21
+ - Mae: 0.9076
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 12
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.01
47
+ - num_epochs: 2
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Mse | Rmse | Mae |
52
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|
53
+ | 0.0988 | 0.21 | 3000 | 0.0928 | 1.4795 | 1.2164 | 1.1099 |
54
+ | 0.0793 | 0.42 | 6000 | 0.0867 | 1.4370 | 1.1987 | 1.1076 |
55
+ | 0.0702 | 0.63 | 9000 | 0.0777 | 0.7554 | 0.8691 | 0.7701 |
56
+ | 0.0634 | 0.84 | 12000 | 0.0716 | 1.0950 | 1.0464 | 0.9449 |
57
+ | 0.0563 | 1.05 | 15000 | 0.0686 | 0.9966 | 0.9983 | 0.8899 |
58
+ | 0.0484 | 1.26 | 18000 | 0.0673 | 1.0653 | 1.0321 | 0.9161 |
59
+ | 0.0466 | 1.47 | 21000 | 0.0671 | 1.0877 | 1.0429 | 0.9219 |
60
+ | 0.0462 | 1.68 | 24000 | 0.0670 | 1.0613 | 1.0302 | 0.9090 |
61
+ | 0.046 | 1.89 | 27000 | 0.0670 | 1.0575 | 1.0283 | 0.9076 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.37.2
67
+ - Pytorch 2.1.0.dev20230605+cu121
68
+ - Datasets 2.17.0
69
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct",
3
+ "architectures": [
4
+ "LlamaForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 32013,
9
+ "eos_token_id": 32021,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 5504,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "max_position_embeddings": 16384,
21
+ "model_type": "llama",
22
+ "num_attention_heads": 16,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 16,
25
+ "pad_token_id": 32014,
26
+ "pretraining_tp": 1,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_scaling": {
29
+ "factor": 4.0,
30
+ "type": "linear"
31
+ },
32
+ "rope_theta": 100000,
33
+ "tie_word_embeddings": false,
34
+ "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.37.2",
36
+ "use_cache": false,
37
+ "vocab_size": 32256
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1d94d7682fc29e4eb9776088bf3407ff250a853313a752dd0bc1fbd47a4360d
3
+ size 2560852624
tmp-checkpoint-40/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct",
3
+ "architectures": [
4
+ "LlamaForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 32013,
9
+ "eos_token_id": 32021,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 5504,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "max_position_embeddings": 16384,
21
+ "model_type": "llama",
22
+ "num_attention_heads": 16,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 16,
25
+ "pad_token_id": 32014,
26
+ "pretraining_tp": 1,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_scaling": {
29
+ "factor": 4.0,
30
+ "type": "linear"
31
+ },
32
+ "rope_theta": 100000,
33
+ "tie_word_embeddings": false,
34
+ "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.37.2",
36
+ "use_cache": false,
37
+ "vocab_size": 32256
38
+ }
tmp-checkpoint-40/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40838fa9193ac8f3172c2b0711af6c006d3359e781d9e72e3314cb6b99e39790
3
+ size 2560852624
tmp-checkpoint-40/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:642b87bb535bdb6f43cb735eb9e10d6e2cd7b6fbef694799df4013b7b59a6fdf
3
+ size 3544834559
tmp-checkpoint-40/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd13af8fa2ddbbf829c275d4cbd87741a92019a91f464202ec5d2472336e714a
3
+ size 4664
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cea1a052dc752832722ff9093e15e1fbdb7460eff9998a60176777943c57481
3
+ size 4664