vishaljangra29 commited on
Commit
9507fd3
1 Parent(s): ccbe0b5

Promptengineering/text-to-sql-st_geometry

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ tags:
4
+ - trl
5
+ - sft
6
+ - generated_from_trainer
7
+ base_model: sid321axn/Mistral-7B-text-to-sql-finetuned
8
+ datasets:
9
+ - generator
10
+ model-index:
11
+ - name: mistral_instruct_generation_st_geometry
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # mistral_instruct_generation_st_geometry
19
+
20
+ This model is a fine-tuned version of [sid321axn/Mistral-7B-text-to-sql-finetuned](https://huggingface.co/sid321axn/Mistral-7B-text-to-sql-finetuned) on the generator dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.2155
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0002
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: constant
47
+ - lr_scheduler_warmup_steps: 0.03
48
+ - training_steps: 100
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 0.2741 | 4.0 | 20 | 0.1555 |
55
+ | 0.0834 | 8.0 | 40 | 0.1331 |
56
+ | 0.0236 | 12.0 | 60 | 0.1771 |
57
+ | 0.0098 | 16.0 | 80 | 0.2101 |
58
+ | 0.0063 | 20.0 | 100 | 0.2155 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.11.1
64
+ - Transformers 4.41.0
65
+ - Pytorch 2.2.2+cu121
66
+ - Datasets 2.15.0
67
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "sid321axn/Mistral-7B-text-to-sql-finetuned",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d0869c3e688366975b2e2f5759a0ac16e681e602cab5702f4169f16d426380
3
+ size 109069176
runs/May24_16-05-02_DESK-HO-74960/events.out.tfevents.1716546908.DESK-HO-74960.10020.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:618ab14ccc4d13864f454fce3cdcd9077277b08abc0c782536128b6f1839f025
3
+ size 5381
runs/May24_16-06-30_DESK-HO-74960/events.out.tfevents.1716546995.DESK-HO-74960.10020.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33f6c41ba974f7607501c9f9c08cc4e832a5b6a51c3208f4972cc2210b213a4f
3
+ size 5588
runs/May24_16-06-30_DESK-HO-74960/events.out.tfevents.1716547172.DESK-HO-74960.10020.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6107261256cd63a39aea215e2f3731d88e4388deae11a9ae3981089cac8bee0
3
+ size 5381
runs/May24_16-13-43_DESK-HO-74960/events.out.tfevents.1716547429.DESK-HO-74960.18204.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977de603bba65fa0f234790edcd2bc943905999dedc2233a168c039f3c3e2e6d
3
+ size 5795
runs/May24_16-46-19_DESK-HO-74960/events.out.tfevents.1716549384.DESK-HO-74960.15976.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:661940a58801a8ed6bb9f063ae5c68b659c06c7908dd0b4ff1bef5e9084ca363
3
+ size 9129
runs/May27_10-31-10_DESK-HO-74960/events.out.tfevents.1716786236.DESK-HO-74960.21048.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f5be84ee815ac4f5a248b48be0b59b65cacdac5e5342202e623c1d712ccf78
3
+ size 10674
runs/May27_10-57-42_DESK-HO-74960/events.out.tfevents.1716787667.DESK-HO-74960.19572.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48dace8bbb86456d578a266f2760849d0433c8b122b97623ff8542e565a65b43
3
+ size 9129
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token + ' ' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "max_length": 512,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "</s>",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "stride": 0,
41
+ "tokenizer_class": "LlamaTokenizer",
42
+ "truncation_side": "right",
43
+ "truncation_strategy": "longest_first",
44
+ "unk_token": "<unk>",
45
+ "use_default_system_prompt": false
46
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38191b47b5adae85baedf9a148e4033ea9235eb86eb0c93b4b8a7a2aa188c733
3
+ size 5176