ManthanKulakarni commited on
Commit
b0198f8
1 Parent(s): 7a83895

ManthanKulakarni/Tiny_llama_sql_v1

Browse files
README.md CHANGED
@@ -1,7 +1,9 @@
1
  ---
2
  license: apache-2.0
3
- base_model: tiiuae/falcon-rw-1b
4
  tags:
 
 
5
  - generated_from_trainer
6
  model-index:
7
  - name: working
@@ -13,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # working
15
 
16
- This model is a fine-tuned version of [tiiuae/falcon-rw-1b](https://huggingface.co/tiiuae/falcon-rw-1b) on the None dataset.
17
 
18
  ## Model description
19
 
@@ -33,11 +35,11 @@ More information needed
33
 
34
  The following hyperparameters were used during training:
35
  - learning_rate: 0.0002
36
- - train_batch_size: 30
37
- - eval_batch_size: 30
38
  - seed: 42
39
  - gradient_accumulation_steps: 4
40
- - total_train_batch_size: 120
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: cosine
43
  - lr_scheduler_warmup_ratio: 0.05
@@ -51,5 +53,5 @@ The following hyperparameters were used during training:
51
 
52
  - Transformers 4.36.0
53
  - Pytorch 2.0.0
54
- - Datasets 2.1.0
55
  - Tokenizers 0.15.0
 
1
  ---
2
  license: apache-2.0
3
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
4
  tags:
5
+ - trl
6
+ - sft
7
  - generated_from_trainer
8
  model-index:
9
  - name: working
 
15
 
16
  # working
17
 
18
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on an unknown dataset.
19
 
20
  ## Model description
21
 
 
35
 
36
  The following hyperparameters were used during training:
37
  - learning_rate: 0.0002
38
+ - train_batch_size: 16
39
+ - eval_batch_size: 16
40
  - seed: 42
41
  - gradient_accumulation_steps: 4
42
+ - total_train_batch_size: 64
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: cosine
45
  - lr_scheduler_warmup_ratio: 0.05
 
53
 
54
  - Transformers 4.36.0
55
  - Pytorch 2.0.0
56
+ - Datasets 2.16.1
57
  - Tokenizers 0.15.0
config.json CHANGED
@@ -1,35 +1,28 @@
1
  {
2
- "_name_or_path": "tiiuae/falcon-rw-1b",
3
- "alibi": true,
4
- "apply_residual_connection_post_layernorm": false,
5
  "architectures": [
6
- "FalconForCausalLM"
7
  ],
 
8
  "attention_dropout": 0.0,
9
- "auto_map": {
10
- "AutoConfig": "tiiuae/falcon-rw-1b--configuration_falcon.FalconConfig",
11
- "AutoModel": "tiiuae/falcon-rw-1b--modeling_falcon.FalconModel",
12
- "AutoModelForCausalLM": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForCausalLM",
13
- "AutoModelForQuestionAnswering": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForQuestionAnswering",
14
- "AutoModelForSequenceClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForSequenceClassification",
15
- "AutoModelForTokenClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForTokenClassification"
16
- },
17
- "bias": true,
18
  "bos_token_id": 1,
19
  "eos_token_id": 2,
20
- "hidden_dropout": 0.0,
21
  "hidden_size": 2048,
22
  "initializer_range": 0.02,
23
- "layer_norm_epsilon": 1e-05,
24
- "model_type": "falcon",
25
- "multi_query": false,
26
- "new_decoder_architecture": false,
27
  "num_attention_heads": 32,
28
- "num_hidden_layers": 24,
29
- "num_kv_heads": 32,
30
- "parallel_attn": false,
 
 
 
 
31
  "torch_dtype": "bfloat16",
32
  "transformers_version": "4.36.0",
33
  "use_cache": false,
34
- "vocab_size": 50304
35
  }
 
1
  {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
 
 
3
  "architectures": [
4
+ "LlamaForCausalLM"
5
  ],
6
+ "attention_bias": false,
7
  "attention_dropout": 0.0,
 
 
 
 
 
 
 
 
 
8
  "bos_token_id": 1,
9
  "eos_token_id": 2,
10
+ "hidden_act": "silu",
11
  "hidden_size": 2048,
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 5632,
14
+ "max_position_embeddings": 2048,
15
+ "model_type": "llama",
 
16
  "num_attention_heads": 32,
17
+ "num_hidden_layers": 22,
18
+ "num_key_value_heads": 4,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": null,
22
+ "rope_theta": 10000.0,
23
+ "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.36.0",
26
  "use_cache": false,
27
+ "vocab_size": 32000
28
  }
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
- "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
 
 
5
  "transformers_version": "4.36.0"
6
  }
 
1
  {
 
2
  "bos_token_id": 1,
3
  "eos_token_id": 2,
4
+ "max_length": 2048,
5
+ "pad_token_id": 0,
6
  "transformers_version": "4.36.0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7699a3ed8683fef29c48b38d918faf22191d08a26cea3b9f890322eabbb56ef4
3
- size 2623284688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a037d81d18d893faf2ea1b990431621cf40879d72f522d3a153ebec4c7c933f7
3
+ size 2200119864
runs/Jan04_09-14-05_a664a7572be8/events.out.tfevents.1704359672.a664a7572be8.284.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ee1dce7c82cf65a0a59afde505a6616ecbeeee8509d3f662d16c0f4993ca9d1
3
+ size 4403
runs/Jan04_09-19-52_a664a7572be8/events.out.tfevents.1704360003.a664a7572be8.284.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:937df079b14065dfc1a09b64d13afe7c6fdb01b4ef9900c69c65fc932e753c83
3
+ size 4184
runs/Jan04_09-22-10_a664a7572be8/events.out.tfevents.1704360130.a664a7572be8.474.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e0a41f1650d18739042783b5ad9cde59c6b31c7eaae390ad9f293898d5674e8
3
+ size 4402
runs/Jan04_09-23-18_a664a7572be8/events.out.tfevents.1704360198.a664a7572be8.537.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:768099f980eef86d0433af4877d21d02935ed2794d9615c19a002adf19b637d1
3
+ size 4402
runs/Jan04_09-24-20_a664a7572be8/events.out.tfevents.1704360260.a664a7572be8.589.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb6ef6da67a0fabe965cc91dd936be6010747b9daeefd5e97ff59ad0262829f7
3
+ size 4402
runs/Jan04_09-25-19_a664a7572be8/events.out.tfevents.1704360320.a664a7572be8.648.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095592a9961e4ca58d836604baeeefbbe511abc19462c750b1c57f178d825ef2
3
+ size 4402
runs/Jan04_09-29-10_a664a7572be8/events.out.tfevents.1704360551.a664a7572be8.715.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6899e6f51b5d78e89c00cc87c12cea4fe08a861d64e36da9e3dbbcb2efc549d4
3
+ size 4402
runs/Jan04_09-41-42_a664a7572be8/events.out.tfevents.1704361303.a664a7572be8.782.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d4d4be74de9bdf749c24aff6a49de5312b8daaf208f5d0c3ff96c52433f9892
3
+ size 11963
special_tokens_map.json CHANGED
@@ -1,6 +1,24 @@
1
  {
2
- "bos_token": "<|endoftext|>",
3
- "eos_token": "<|endoftext|>",
4
- "pad_token": "<|endoftext|>",
5
- "unk_token": "<|endoftext|>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
 
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 CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json CHANGED
@@ -1,8 +1,25 @@
1
  {
2
- "add_prefix_space": false,
 
3
  "added_tokens_decoder": {
4
- "50256": {
5
- "content": "<|endoftext|>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "lstrip": false,
7
  "normalized": false,
8
  "rstrip": false,
@@ -10,12 +27,17 @@
10
  "special": true
11
  }
12
  },
13
- "bos_token": "<|endoftext|>",
14
- "clean_up_tokenization_spaces": true,
15
- "eos_token": "<|endoftext|>",
16
- "model_max_length": 1024,
17
- "pad_token": "<|endoftext|>",
18
- "tokenizer_class": "GPT2Tokenizer",
 
 
 
 
19
  "torch_dtype": "auto",
20
- "unk_token": "<|endoftext|>"
 
21
  }
 
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,
 
27
  "special": true
28
  }
29
  },
30
+ "bos_token": "<s>",
31
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": false,
35
+ "model_max_length": 2048,
36
+ "pad_token": "</s>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "tokenizer_class": "LlamaTokenizer",
40
  "torch_dtype": "auto",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5c6107fe494cce67604f477c6e3ddb0c7eef565a136c71951dc32799619dd52a
3
  size 4283
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c059259d701efc7a4cf05c2b359676323f5dfa13c6e55b071978ad930a342957
3
  size 4283