nicholasKluge commited on
Commit
843be83
·
verified ·
1 Parent(s): d774203

Upload folder using huggingface_hub

Browse files
copy_c4/metadata.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "resume_count": 0,
3
+ "stages": {
4
+ "copy_c4": {
5
+ "resume_count": 0,
6
+ "initialization_notes": [
7
+ "Initializing model from base model: /cephfs/user/nklugeco/checkpoints/copy/reset_model for continual pretraining/fine-tuning.",
8
+ "Applied Liger kernels to the model.",
9
+ "Number of trainable parameters: 670,127,616",
10
+ "Shuffling enabled. Shuffling 36 dataset files.",
11
+ "Collate function will mask token IDs: [0]",
12
+ "Overriding the number of steps to 10000 as per the `max_steps` argument (check the YAML file if you are not sure).",
13
+ "Using learning rate decay type: cosine"
14
+ ],
15
+ "events": [
16
+ "Learning rate stage changed to: cosine_decay at step 1000 | copy_c4."
17
+ ],
18
+ "run_info": {
19
+ "Training stage": "copy_c4",
20
+ "Run ID": "104568",
21
+ "Hardware": "H200",
22
+ "World size (total GPUs)": "2",
23
+ "Precision": "bfloat16"
24
+ },
25
+ "Dataset Configuration": {
26
+ "Num train examples": "2,612,686",
27
+ "Num validation examples": "8,192",
28
+ "Length of train dataloader": "81,647",
29
+ "Max position embeddings (seq length)": "4,096",
30
+ "Shuffle dataset": "True",
31
+ "Masked token IDs": "[0]"
32
+ },
33
+ "Batch Configuration": {
34
+ "Num Epochs": "1",
35
+ "Micro batch size per device": "16",
36
+ "Gradient accumulation steps": "4",
37
+ "Total batch size (samples)": "128",
38
+ "Total batch size (tokens)": "524,288",
39
+ "Total optimization steps": "10,000",
40
+ "Steps per epoch": "20,412",
41
+ "Checkpointing every": "5000 steps"
42
+ },
43
+ "Model Architecture": {
44
+ "Model config": "/cephfs/user/nklugeco/checkpoints/copy/reset_model",
45
+ "Attention implementation": "flash_attention_4",
46
+ "Gradient checkpointing": "False",
47
+ "Liger kernel": "True",
48
+ "Torch compile": "False",
49
+ "Trainable parameters": "670,127,616"
50
+ },
51
+ "Optimizer Configuration (AdamW)": {
52
+ "Optimizer type": "adamw",
53
+ "Max learning rate (Adam)": "0.0005",
54
+ "Min learning rate": "0.0",
55
+ "LR scheduler type": "COSINE",
56
+ "LR decay iterations coef": "0.1",
57
+ "Warmup steps": "1000",
58
+ "Weight decay": "0.1",
59
+ "Beta1": "0.9",
60
+ "Beta2": "0.95",
61
+ "Epsilon": "1e-08",
62
+ "Max grad norm": "1.0"
63
+ }
64
+ }
65
+ },
66
+ "emissions": {
67
+ "duration_hours": 7.9037,
68
+ "energy_consumed_kwh": 4.218723,
69
+ "co2_emissions_kgco2eq": 1.607123,
70
+ "num_nodes": 1
71
+ }
72
+ }
copy_c4/model/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 0,
10
+ "head_dim": 96,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 1536,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "is_llama_config": true,
16
+ "max_position_embeddings": 4096,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 16,
20
+ "num_hidden_layers": 28,
21
+ "num_key_value_heads": 8,
22
+ "pad_token_id": 0,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_interleaved": false,
26
+ "rope_parameters": {
27
+ "rope_theta": 50000.0,
28
+ "rope_type": "default"
29
+ },
30
+ "tie_word_embeddings": true,
31
+ "transformers_version": "5.6.2",
32
+ "use_cache": false,
33
+ "vocab_size": 49152
34
+ }
copy_c4/model/generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "pad_token_id": 0,
8
+ "transformers_version": "5.6.2",
9
+ "use_cache": false
10
+ }
copy_c4/model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de30383af303d583a061b25ee14bd96bdb62acfebed66002e92029c8296aa858
3
+ size 1340284304
copy_c4/model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
copy_c4/model/tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|endoftext|>",
10
+ "<|im_start|>",
11
+ "<|im_end|>",
12
+ "<repo_name>",
13
+ "<reponame>",
14
+ "<file_sep>",
15
+ "<filename>",
16
+ "<gh_stars>",
17
+ "<issue_start>",
18
+ "<issue_comment>",
19
+ "<issue_closed>",
20
+ "<jupyter_start>",
21
+ "<jupyter_text>",
22
+ "<jupyter_code>",
23
+ "<jupyter_output>",
24
+ "<jupyter_script>",
25
+ "<empty_output>"
26
+ ],
27
+ "is_local": false,
28
+ "local_files_only": false,
29
+ "model_max_length": 4096,
30
+ "pad_token": null,
31
+ "tokenizer_class": "GPT2Tokenizer",
32
+ "unk_token": "<|endoftext|>",
33
+ "vocab_size": 49152
34
+ }
copy_c4/training.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
copy_c4/validation.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"kwh": 0.415559, "loss": 3.932839, "stage_name": "copy_c4", "status": "validation", "step": 1000, "val_time_s": 57.866058}
2
+ {"kwh": 2.094951, "loss": 3.044529, "stage_name": "copy_c4", "status": "validation", "step": 5000, "val_time_s": 55.278001}
3
+ {"kwh": 4.216805, "loss": 2.921414, "stage_name": "copy_c4", "status": "validation", "step": 10000, "val_time_s": 55.226302}