nicholasKluge commited on
Commit
b9b695a
·
verified ·
1 Parent(s): 02be9ab

Upload folder using huggingface_hub

Browse files
nca_learnable_50_c4/metadata.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "resume_count": 0,
3
+ "stages": {
4
+ "nca_learnable_50_c4": {
5
+ "resume_count": 0,
6
+ "initialization_notes": [
7
+ "Initializing model from base model: /cephfs/user/nklugeco/checkpoints/nca_learnable_50/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 | nca_learnable_50_c4."
17
+ ],
18
+ "run_info": {
19
+ "Training stage": "nca_learnable_50_c4",
20
+ "Run ID": "55181",
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/nca_learnable_50/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.8614,
68
+ "energy_consumed_kwh": 4.202192,
69
+ "co2_emissions_kgco2eq": 1.600825,
70
+ "num_nodes": 1
71
+ }
72
+ }
nca_learnable_50_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
+ }
nca_learnable_50_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
+ }
nca_learnable_50_c4/model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46062c0e9556b22177cbb09563632e338e791ab7e4c744278f646bb7818f60f3
3
+ size 1340284304
nca_learnable_50_c4/model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
nca_learnable_50_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
+ }
nca_learnable_50_c4/training.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
nca_learnable_50_c4/validation.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"kwh": 0.428512, "loss": 3.993336, "stage_name": "nca_learnable_50_c4", "status": "validation", "step": 1000, "val_time_s": 58.295862}
2
+ {"kwh": 2.118686, "loss": 3.051417, "stage_name": "nca_learnable_50_c4", "status": "validation", "step": 5000, "val_time_s": 55.783209}
3
+ {"kwh": 4.200796, "loss": 2.92629, "stage_name": "nca_learnable_50_c4", "status": "validation", "step": 10000, "val_time_s": 55.702015}