winglian commited on
Commit
d8190bf
1 Parent(s): 04df397

supporting files

Browse files
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/sgugger/tmp/llama/llama-13b/",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 5120,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 13824,
12
+ "max_position_embeddings": 2048,
13
+ "max_sequence_length": 2048,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 40,
16
+ "num_hidden_layers": 40,
17
+ "pad_token_id": 0,
18
+ "rms_norm_eps": 1e-06,
19
+ "tie_word_embeddings": false,
20
+ "torch_dtype": "float16",
21
+ "transformers_version": "4.28.0.dev0",
22
+ "use_cache": true,
23
+ "vocab_size": 32000
24
+ }
configs/minotaur.yml ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ base_model: huggyllama/llama-13b
2
+ base_model_config: huggyllama/llama-13b
3
+ model_type: LlamaForCausalLM
4
+ tokenizer_type: LlamaTokenizer
5
+ load_in_8bit: false
6
+ load_in_4bit: false
7
+ gptq: false
8
+ strict: false
9
+ push_dataset_to_hub:
10
+ hf_use_auth_token: true
11
+ datasets:
12
+ - path: winglian/evals
13
+ data_files:
14
+ - hf/ARC-Challenge.jsonl
15
+ - hf/ARC-Easy.jsonl
16
+ - hf/riddle_sense.jsonl
17
+ - hf/piqa.jsonl
18
+ type: explainchoice:chat
19
+ - path: winglian/evals
20
+ data_files:
21
+ - hf/gsm8k.jsonl
22
+ - hf/winogrande.jsonl
23
+ type: alpaca_chat.load_qa
24
+ - path: winglian/evals
25
+ data_files:
26
+ - custom/n_task.jsonl
27
+ - custom/misconceptions.jsonl
28
+ - custom/context_insensitivity.jsonl
29
+ type: alpaca_chat
30
+ - path: camel-ai/math
31
+ type: alpaca_chat.load_camel_ai
32
+ - path: camel-ai/biology
33
+ type: alpaca_chat.load_camel_ai
34
+ - path: camel-ai/physics
35
+ type: alpaca_chat.load_camel_ai
36
+ - path: camel-ai/chemistry
37
+ type: alpaca_chat.load_camel_ai
38
+ - path: winglian/evals
39
+ data_files:
40
+ - custom/in_context_qa.jsonl
41
+ type: context_qa
42
+ - path: winglian/evals
43
+ data_files:
44
+ - custom/in_context_qa.jsonl
45
+ type: context_qa.load_404
46
+ - path: winglian/evals
47
+ data_files:
48
+ - custom/jokes_explained_500up.jsonl
49
+ type: sharegpt_jokes
50
+ - path: winglian/evals
51
+ data_files:
52
+ - custom/classify-self-chat.sharegpt.jsonl
53
+ - custom/coding-self-chat.sharegpt.jsonl
54
+ - custom/prose-gpt4.sharegpt.jsonl
55
+ - custom/prose-rewrite-gpt4.sharegpt.jsonl
56
+ type: sharegpt_simple.load_role
57
+ - path: winglian/evals
58
+ data_files:
59
+ - openai/tldr.jsonl
60
+ type: summarizetldr:chat
61
+ - path: winglian/evals
62
+ data_files:
63
+ - hellaswag/hellaswag.jsonl
64
+ type: explainchoice:chat
65
+ - path: metaeval/ScienceQA_text_only
66
+ type: concisechoice:chat
67
+ - path: teknium/GPT4-LLM-Cleaned
68
+ type: alpaca_chat
69
+ - path: teknium/GPTeacher-General-Instruct
70
+ data_files: gpt4-instruct-similarity-0.6-dataset.json
71
+ type: gpteacher:chat
72
+ - path: QingyiSi/Alpaca-CoT
73
+ data_files:
74
+ - Chain-of-Thought/formatted_cot_data/aqua_train.json
75
+ - Chain-of-Thought/formatted_cot_data/creak_train.json
76
+ - Chain-of-Thought/formatted_cot_data/ecqa_train.json
77
+ - Chain-of-Thought/formatted_cot_data/esnli_train.json
78
+ - Chain-of-Thought/formatted_cot_data/qasc_train.json
79
+ - Chain-of-Thought/formatted_cot_data/qed_train.json
80
+ - Chain-of-Thought/formatted_cot_data/sensemaking_train.json
81
+ - Chain-of-Thought/formatted_cot_data/strategyqa_train.json
82
+ - GPTeacher/Roleplay/formatted_roleplay-similarity_0.6-instruct-dataset.json
83
+ type: alpaca_chat
84
+ - path: ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered
85
+ type: alpaca_chat
86
+ - path: ehartford/wizard_vicuna_70k_unfiltered
87
+ type: sharegpt:chat
88
+ dataset_prepared_path: last_run_prepared
89
+ val_set_size: 0.004
90
+ adapter:
91
+ lora_model_dir:
92
+ sequence_len: 2048
93
+ max_packed_sequence_len: 2048
94
+ lora_r:
95
+ lora_alpha:
96
+ lora_dropout:
97
+ lora_target_modules:
98
+ lora_target_linear: true
99
+ lora_fan_in_fan_out:
100
+ wandb_project: minotaur-13b
101
+ wandb_watch:
102
+ wandb_run_id:
103
+ wandb_log_model:
104
+ output_dir: ./minotaur-13b
105
+ gradient_accumulation_steps: 1
106
+ micro_batch_size: 12
107
+ num_epochs: 3
108
+ optimizer: adamw_bnb_8bit
109
+ torchdistx_path:
110
+ lr_scheduler: cosine
111
+ learning_rate: 0.00013
112
+ train_on_inputs: false
113
+ group_by_length: true
114
+ bf16: true
115
+ fp16: false
116
+ tf32: true
117
+ gradient_checkpointing: true
118
+ early_stopping_patience:
119
+ resume_from_checkpoint:
120
+ local_rank:
121
+ logging_steps: 1
122
+ xformers_attention: true
123
+ flash_attention:
124
+ gptq_groupsize:
125
+ gptq_model_v1:
126
+ warmup_steps: 100
127
+ eval_steps: 20
128
+ save_steps: 51
129
+ load_best_model_at_end: false
130
+ debug:
131
+ deepspeed:
132
+ weight_decay: 0.1
133
+ fsdp:
134
+ - full_shard
135
+ - auto_wrap
136
+ fsdp_config:
137
+ fsdp_offload_params: true
138
+ fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
139
+ special_tokens:
140
+ bos_token: "<s>"
141
+ eos_token: "</s>"
142
+ unk_token: "<unk>"
143
+
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
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,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "model_max_length": 2048,
22
+ "pad_token": null,
23
+ "sp_model_kwargs": {},
24
+ "tokenizer_class": "LlamaTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }