Upload folder using huggingface_hub
Browse files- README.md +9 -0
- adapter_config.json +20 -0
- adapter_model.bin +3 -0
- checkpoint-990/README.md +34 -0
- checkpoint-990/adapter_config.json +20 -0
- checkpoint-990/adapter_model.bin +3 -0
- checkpoint-990/optimizer.pt +3 -0
- checkpoint-990/pytorch_model.bin +3 -0
- checkpoint-990/rng_state.pth +3 -0
- checkpoint-990/scheduler.pt +3 -0
- checkpoint-990/special_tokens_map.json +6 -0
- checkpoint-990/tokenizer.json +0 -0
- checkpoint-990/tokenizer_config.json +9 -0
- checkpoint-990/trainer_state.json +109 -0
- checkpoint-990/training_args.bin +3 -0
- config.json +29 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- runs/Aug12_09-46-35_8b7b12bbf1f3/events.out.tfevents.1691833596.8b7b12bbf1f3.3719.0 +3 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
- training_args.bin +3 -0
- training_params.json +41 -0
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- text-generation
|
5 |
+
widget:
|
6 |
+
- text: "I love AutoTrain because "
|
7 |
+
---
|
8 |
+
|
9 |
+
# Model Trained Using AutoTrain
|
adapter_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 32,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"query_key_value"
|
18 |
+
],
|
19 |
+
"task_type": "CAUSAL_LM"
|
20 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13688017bcbaddac27fb0b498cd7b6e481e83fdab276d4ecf0514a215964aa39
|
3 |
+
size 20995057
|
checkpoint-990/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
|
7 |
+
The following `bitsandbytes` quantization config was used during training:
|
8 |
+
- quant_method: bitsandbytes
|
9 |
+
- load_in_8bit: False
|
10 |
+
- load_in_4bit: True
|
11 |
+
- llm_int8_threshold: 6.0
|
12 |
+
- llm_int8_skip_modules: None
|
13 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
14 |
+
- llm_int8_has_fp16_weight: False
|
15 |
+
- bnb_4bit_quant_type: nf4
|
16 |
+
- bnb_4bit_use_double_quant: False
|
17 |
+
- bnb_4bit_compute_dtype: float16
|
18 |
+
|
19 |
+
The following `bitsandbytes` quantization config was used during training:
|
20 |
+
- quant_method: bitsandbytes
|
21 |
+
- load_in_8bit: False
|
22 |
+
- load_in_4bit: True
|
23 |
+
- llm_int8_threshold: 6.0
|
24 |
+
- llm_int8_skip_modules: None
|
25 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
26 |
+
- llm_int8_has_fp16_weight: False
|
27 |
+
- bnb_4bit_quant_type: nf4
|
28 |
+
- bnb_4bit_use_double_quant: False
|
29 |
+
- bnb_4bit_compute_dtype: float16
|
30 |
+
### Framework versions
|
31 |
+
|
32 |
+
- PEFT 0.5.0.dev0
|
33 |
+
|
34 |
+
- PEFT 0.5.0.dev0
|
checkpoint-990/adapter_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 32,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"query_key_value"
|
18 |
+
],
|
19 |
+
"task_type": "CAUSAL_LM"
|
20 |
+
}
|
checkpoint-990/adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13688017bcbaddac27fb0b498cd7b6e481e83fdab276d4ecf0514a215964aa39
|
3 |
+
size 20995057
|
checkpoint-990/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0d25faa78d73a51f2e2811a309b124ba2fd4318b33c6cc62eb6fc8e00447450
|
3 |
+
size 41996805
|
checkpoint-990/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c152074a486243089e4fc0fdee0a373a30fb0e0a6e40eb5fd0d36fdafc97a155
|
3 |
+
size 443
|
checkpoint-990/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f00ba1a527102846393921a953806d7bce5790eec7cb2b217af3d3161ead7c9c
|
3 |
+
size 14575
|
checkpoint-990/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ac4b706b327e10ff06a5dccc89af7bb73c4bfe4339f968b0211e041d85b8771
|
3 |
+
size 627
|
checkpoint-990/special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<|endoftext|>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
6 |
+
}
|
checkpoint-990/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-990/tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 2048,
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|
checkpoint-990/trainer_state.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 990,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.2,
|
13 |
+
"learning_rate": 0.00013333333333333334,
|
14 |
+
"loss": 1.2414,
|
15 |
+
"step": 66
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.4,
|
19 |
+
"learning_rate": 0.0001925925925925926,
|
20 |
+
"loss": 1.0867,
|
21 |
+
"step": 132
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.6,
|
25 |
+
"learning_rate": 0.00017777777777777779,
|
26 |
+
"loss": 0.9944,
|
27 |
+
"step": 198
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.8,
|
31 |
+
"learning_rate": 0.00016296296296296295,
|
32 |
+
"loss": 0.9678,
|
33 |
+
"step": 264
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 1.0,
|
37 |
+
"learning_rate": 0.00014814814814814815,
|
38 |
+
"loss": 0.97,
|
39 |
+
"step": 330
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.2,
|
43 |
+
"learning_rate": 0.00013333333333333334,
|
44 |
+
"loss": 0.8915,
|
45 |
+
"step": 396
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 1.4,
|
49 |
+
"learning_rate": 0.00011851851851851852,
|
50 |
+
"loss": 0.8615,
|
51 |
+
"step": 462
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.6,
|
55 |
+
"learning_rate": 0.0001037037037037037,
|
56 |
+
"loss": 0.8546,
|
57 |
+
"step": 528
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 1.8,
|
61 |
+
"learning_rate": 8.888888888888889e-05,
|
62 |
+
"loss": 0.8432,
|
63 |
+
"step": 594
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 2.0,
|
67 |
+
"learning_rate": 7.407407407407407e-05,
|
68 |
+
"loss": 0.8424,
|
69 |
+
"step": 660
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.2,
|
73 |
+
"learning_rate": 5.925925925925926e-05,
|
74 |
+
"loss": 0.7897,
|
75 |
+
"step": 726
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 2.4,
|
79 |
+
"learning_rate": 4.4444444444444447e-05,
|
80 |
+
"loss": 0.7621,
|
81 |
+
"step": 792
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 2.6,
|
85 |
+
"learning_rate": 2.962962962962963e-05,
|
86 |
+
"loss": 0.7649,
|
87 |
+
"step": 858
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 2.8,
|
91 |
+
"learning_rate": 1.4814814814814815e-05,
|
92 |
+
"loss": 0.7583,
|
93 |
+
"step": 924
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 3.0,
|
97 |
+
"learning_rate": 0.0,
|
98 |
+
"loss": 0.7589,
|
99 |
+
"step": 990
|
100 |
+
}
|
101 |
+
],
|
102 |
+
"logging_steps": 66,
|
103 |
+
"max_steps": 990,
|
104 |
+
"num_train_epochs": 3,
|
105 |
+
"save_steps": 500,
|
106 |
+
"total_flos": 3.38996464975872e+16,
|
107 |
+
"trial_name": null,
|
108 |
+
"trial_params": null
|
109 |
+
}
|
checkpoint-990/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c1a16bd11a5f4edef5b1360078ef5d5c715209b59b3dc7d9cddc6f55e13e89d
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": 0.1,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout": 0.0,
|
12 |
+
"hidden_size": 2560,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 10240,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 2048,
|
17 |
+
"model_type": "gpt_neox",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rotary_emb_base": 10000,
|
22 |
+
"rotary_pct": 1.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.32.0.dev0",
|
26 |
+
"use_cache": true,
|
27 |
+
"use_parallel_residual": false,
|
28 |
+
"vocab_size": 50432
|
29 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.32.0.dev0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbf68ea5ac501eea5b410117d44752ec603db5ca84ac0ff9aac13db8d3349599
|
3 |
+
size 5551870277
|
runs/Aug12_09-46-35_8b7b12bbf1f3/events.out.tfevents.1691833596.8b7b12bbf1f3.3719.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a9f7713208f52949ee2d468012d7d9834064c9fdb949da153fa96df111b276a
|
3 |
+
size 7274
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"unk_token": "<|endoftext|>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 2048,
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c1a16bd11a5f4edef5b1360078ef5d5c715209b59b3dc7d9cddc6f55e13e89d
|
3 |
+
size 4027
|
training_params.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_name": "togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
3 |
+
"data_path": "tingkart/NorwayTrivia",
|
4 |
+
"train_split": "train",
|
5 |
+
"valid_split": null,
|
6 |
+
"text_column": "text",
|
7 |
+
"huggingface_token": null,
|
8 |
+
"learning_rate": 0.0002,
|
9 |
+
"num_train_epochs": 3,
|
10 |
+
"train_batch_size": 2,
|
11 |
+
"eval_batch_size": 4,
|
12 |
+
"warmup_ratio": 0.1,
|
13 |
+
"gradient_accumulation_steps": 1,
|
14 |
+
"optimizer": "adamw_torch",
|
15 |
+
"scheduler": "linear",
|
16 |
+
"weight_decay": 0.0,
|
17 |
+
"max_grad_norm": 1.0,
|
18 |
+
"seed": 42,
|
19 |
+
"add_eos_token": false,
|
20 |
+
"block_size": 2048,
|
21 |
+
"use_peft": true,
|
22 |
+
"lora_r": 16,
|
23 |
+
"lora_alpha": 32,
|
24 |
+
"lora_dropout": 0.05,
|
25 |
+
"training_type": "generic",
|
26 |
+
"train_on_inputs": false,
|
27 |
+
"logging_steps": -1,
|
28 |
+
"project_name": "RedNorway",
|
29 |
+
"evaluation_strategy": "epoch",
|
30 |
+
"save_total_limit": 1,
|
31 |
+
"save_strategy": "epoch",
|
32 |
+
"auto_find_batch_size": false,
|
33 |
+
"fp16": false,
|
34 |
+
"push_to_hub": true,
|
35 |
+
"use_int8": false,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"repo_id": "tingkart/MLCNorway",
|
38 |
+
"use_int4": true,
|
39 |
+
"trainer": "sft",
|
40 |
+
"target_modules": null
|
41 |
+
}
|