ethensanchez commited on
Commit
a9e7d23
1 Parent(s): 833380b

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: qlora-out
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
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
15
+ <details><summary>See axolotl config</summary>
16
+
17
+ axolotl version: `0.4.0`
18
+ ```yaml
19
+ adapter: null
20
+ base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
21
+ bf16: auto
22
+ dataset_prepared_path: last_run_prepared
23
+ datasets:
24
+ - path: utrgvseniorproject/medtext
25
+ type: completion
26
+ debug: null
27
+ deepspeed: null
28
+ early_stopping_patience: null
29
+ evals_per_epoch: null
30
+ flash_attention: false
31
+ fp16: null
32
+ fsdp: null
33
+ fsdp_config: null
34
+ gradient_accumulation_steps: 1
35
+ gradient_checkpointing: true
36
+ group_by_length: false
37
+ is_llama_derived_model: true
38
+ learning_rate: 0.0002
39
+ load_in_4bit: false
40
+ load_in_8bit: false
41
+ local_rank: null
42
+ logging_steps: 1
43
+ lora_alpha: null
44
+ lora_dropout: null
45
+ lora_fan_in_fan_out: null
46
+ lora_model_dir: null
47
+ lora_r: null
48
+ lora_target_linear: null
49
+ lora_target_modules: null
50
+ lr_scheduler: cosine
51
+ micro_batch_size: 1
52
+ model_type: LlamaForCausalLM
53
+ num_epochs: 2
54
+ optimizer: adamw_bnb_8bit
55
+ output_dir: ./qlora-out
56
+ pad_to_sequence_len: true
57
+ resume_from_checkpoint: null
58
+ sample_packing: true
59
+ saves_per_epoch: null
60
+ sequence_len: 1096
61
+ special_tokens: null
62
+ strict: false
63
+ tf32: false
64
+ tokenizer_type: LlamaTokenizer
65
+ train_on_inputs: false
66
+ val_set_size: 0.05
67
+ wandb_entity: utrgvmedai
68
+ wandb_log_model: true
69
+ wandb_name: testingTiny
70
+ wandb_project: TinyLlamaLLMTest
71
+ wandb_watch: null
72
+ warmup_steps: 10
73
+ weight_decay: 0.0
74
+ xformers_attention: null
75
+
76
+ ```
77
+
78
+ </details><br>
79
+
80
+ # qlora-out
81
+
82
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on the None dataset.
83
+ It achieves the following results on the evaluation set:
84
+ - Loss: nan
85
+
86
+ ## Model description
87
+
88
+ More information needed
89
+
90
+ ## Intended uses & limitations
91
+
92
+ More information needed
93
+
94
+ ## Training and evaluation data
95
+
96
+ More information needed
97
+
98
+ ## Training procedure
99
+
100
+ ### Training hyperparameters
101
+
102
+ The following hyperparameters were used during training:
103
+ - learning_rate: 0.0002
104
+ - train_batch_size: 1
105
+ - eval_batch_size: 1
106
+ - seed: 42
107
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
108
+ - lr_scheduler_type: cosine
109
+ - lr_scheduler_warmup_steps: 10
110
+ - num_epochs: 2
111
+
112
+ ### Training results
113
+
114
+ | Training Loss | Epoch | Step | Validation Loss |
115
+ |:-------------:|:-----:|:----:|:---------------:|
116
+ | 0.0 | 1.02 | 810 | nan |
117
+ | 0.0 | 1.98 | 1594 | nan |
118
+
119
+
120
+ ### Framework versions
121
+
122
+ - Transformers 4.38.0.dev0
123
+ - Pytorch 2.1.2+cu121
124
+ - Datasets 2.17.0
125
+ - Tokenizers 0.15.0
checkpoint-1594/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T",
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": "float32",
25
+ "transformers_version": "4.38.0.dev0",
26
+ "use_cache": false,
27
+ "vocab_size": 32000
28
+ }
checkpoint-1594/generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "do_sample": true,
4
+ "eos_token_id": 2,
5
+ "max_length": 2048,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.38.0.dev0"
8
+ }
checkpoint-1594/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2600824be657705a475fb0da61094bb98053da2a8ca4c877ab94cf6efef126b9
3
+ size 2462448120
checkpoint-1594/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cee355acef459873a0c98228de30a9feef2db53787aa555941f6ce84a52f6aa
3
+ size 2205157946
checkpoint-1594/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d245e05e72192c132e0f2edb6fdcae0c578c890f0fe912f17ec7b0bba2d38cc3
3
+ size 14244
checkpoint-1594/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e26ac92251029e9efe0bc2ec6bd1bd75e0fcc9d4daa08da6484ee351f66cff56
3
+ size 1064
checkpoint-1594/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1594/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f066a7da309074818d1a3bc28dd38fd2b52e178ef8b206d07e41b59b21584cda
3
+ size 5368
checkpoint-810/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T",
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": "float32",
25
+ "transformers_version": "4.38.0.dev0",
26
+ "use_cache": false,
27
+ "vocab_size": 32000
28
+ }
checkpoint-810/generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "do_sample": true,
4
+ "eos_token_id": 2,
5
+ "max_length": 2048,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.38.0.dev0"
8
+ }
checkpoint-810/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2600824be657705a475fb0da61094bb98053da2a8ca4c877ab94cf6efef126b9
3
+ size 2462448120
checkpoint-810/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df4f654dc55f0e695b0310d63079ab48bda6357e7d8988e0d456cdcc305360f8
3
+ size 2205157946
checkpoint-810/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c062f7f375beded48b5337f5a3f3a5cb38807fa3e85dbf3e294c0ab6b627bfc2
3
+ size 14244
checkpoint-810/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f990d14f16376e6495508284f10308149e022c84e4a9c5268808a616b89e8893
3
+ size 1064
checkpoint-810/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-810/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f066a7da309074818d1a3bc28dd38fd2b52e178ef8b206d07e41b59b21584cda
3
+ size 5368
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T",
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": "float32",
25
+ "transformers_version": "4.38.0.dev0",
26
+ "use_cache": false,
27
+ "vocab_size": 32000
28
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "do_sample": true,
4
+ "eos_token_id": 2,
5
+ "max_length": 2048,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.38.0.dev0"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:912c8b718f2890e4b015be9c104027ab04a7a277054cb630cba75319cc8af320
3
+ size 2462493038
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.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 ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "bos_token": "<s>",
31
+ "clean_up_tokenization_spaces": false,
32
+ "eos_token": "</s>",
33
+ "legacy": false,
34
+ "model_max_length": 1000000000000000019884624838656,
35
+ "pad_token": "</s>",
36
+ "padding_side": "right",
37
+ "sp_model_kwargs": {},
38
+ "spaces_between_special_tokens": false,
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "trust_remote_code": false,
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false,
43
+ "use_fast": true
44
+ }