checkpoints of br-fmt8-e0.25-mix
Browse files- br-fmt8-e0.25-mix/e0.7529/config.json +65 -0
- br-fmt8-e0.25-mix/e0.7529/generation_config.json +14 -0
- br-fmt8-e0.25-mix/e0.7529/model.safetensors +3 -0
- br-fmt8-e0.25-mix/e1.251/config.json +65 -0
- br-fmt8-e0.25-mix/e1.251/generation_config.json +14 -0
- br-fmt8-e0.25-mix/e1.251/model.safetensors +3 -0
- br-fmt8-e0.25-mix/run-config.json +46 -0
br-fmt8-e0.25-mix/e0.7529/config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Lfm2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"block__name_mlp": "parallel_mlp_merged",
|
| 6 |
+
"block_auto_adjust_ff_dim": false,
|
| 7 |
+
"block_dim": 1024,
|
| 8 |
+
"block_ffn_dim_multiplier": 1.0,
|
| 9 |
+
"block_ffn_te_autocast": false,
|
| 10 |
+
"block_ffn_use_quantized_params": false,
|
| 11 |
+
"block_mlp_init_scale": 1.0,
|
| 12 |
+
"block_multiple_of": 256,
|
| 13 |
+
"block_norm_eps": 1e-05,
|
| 14 |
+
"block_out_init_scale": 1.0,
|
| 15 |
+
"block_sequence_parallel_norm_across_tp": false,
|
| 16 |
+
"block_use_swiglu": true,
|
| 17 |
+
"block_use_xavier_init": true,
|
| 18 |
+
"bos_token_id": 1,
|
| 19 |
+
"conv_L_cache": 3,
|
| 20 |
+
"conv_bias": false,
|
| 21 |
+
"conv_dim": 1024,
|
| 22 |
+
"conv_use_xavier_init": true,
|
| 23 |
+
"dtype": "float32",
|
| 24 |
+
"eos_token_id": 7,
|
| 25 |
+
"ffn_te_autocast": false,
|
| 26 |
+
"ffn_use_quantized_params": false,
|
| 27 |
+
"full_attn_idxs": null,
|
| 28 |
+
"hidden_size": 1024,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 2560,
|
| 31 |
+
"layer_types": [
|
| 32 |
+
"conv",
|
| 33 |
+
"conv",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"conv",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"conv",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"conv",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"conv",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"conv",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"conv"
|
| 46 |
+
],
|
| 47 |
+
"max_position_embeddings": 128000,
|
| 48 |
+
"model_type": "lfm2",
|
| 49 |
+
"norm_eps": 1e-05,
|
| 50 |
+
"num_attention_heads": 16,
|
| 51 |
+
"num_heads": 16,
|
| 52 |
+
"num_hidden_layers": 14,
|
| 53 |
+
"num_key_value_heads": 8,
|
| 54 |
+
"pad_token_id": 0,
|
| 55 |
+
"rope_parameters": {
|
| 56 |
+
"rope_theta": 1000000.0,
|
| 57 |
+
"rope_type": "default"
|
| 58 |
+
},
|
| 59 |
+
"sequence_parallel_norm_across_tp": false,
|
| 60 |
+
"tie_word_embeddings": true,
|
| 61 |
+
"transformers_version": "5.22.2",
|
| 62 |
+
"use_cache": true,
|
| 63 |
+
"use_pos_enc": true,
|
| 64 |
+
"vocab_size": 65536
|
| 65 |
+
}
|
br-fmt8-e0.25-mix/e0.7529/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 7,
|
| 6 |
+
"output_attentions": false,
|
| 7 |
+
"output_hidden_states": false,
|
| 8 |
+
"pad_token_id": 0,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.1,
|
| 11 |
+
"top_k": 50,
|
| 12 |
+
"transformers_version": "5.22.2",
|
| 13 |
+
"use_cache": true
|
| 14 |
+
}
|
br-fmt8-e0.25-mix/e0.7529/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f560c7772c9323cf39fe1359a6c28b5cc5c0ef7cb8dc047e4bf386e6664722b5
|
| 3 |
+
size 593618936
|
br-fmt8-e0.25-mix/e1.251/config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Lfm2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"block__name_mlp": "parallel_mlp_merged",
|
| 6 |
+
"block_auto_adjust_ff_dim": false,
|
| 7 |
+
"block_dim": 1024,
|
| 8 |
+
"block_ffn_dim_multiplier": 1.0,
|
| 9 |
+
"block_ffn_te_autocast": false,
|
| 10 |
+
"block_ffn_use_quantized_params": false,
|
| 11 |
+
"block_mlp_init_scale": 1.0,
|
| 12 |
+
"block_multiple_of": 256,
|
| 13 |
+
"block_norm_eps": 1e-05,
|
| 14 |
+
"block_out_init_scale": 1.0,
|
| 15 |
+
"block_sequence_parallel_norm_across_tp": false,
|
| 16 |
+
"block_use_swiglu": true,
|
| 17 |
+
"block_use_xavier_init": true,
|
| 18 |
+
"bos_token_id": 1,
|
| 19 |
+
"conv_L_cache": 3,
|
| 20 |
+
"conv_bias": false,
|
| 21 |
+
"conv_dim": 1024,
|
| 22 |
+
"conv_use_xavier_init": true,
|
| 23 |
+
"dtype": "float32",
|
| 24 |
+
"eos_token_id": 7,
|
| 25 |
+
"ffn_te_autocast": false,
|
| 26 |
+
"ffn_use_quantized_params": false,
|
| 27 |
+
"full_attn_idxs": null,
|
| 28 |
+
"hidden_size": 1024,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 2560,
|
| 31 |
+
"layer_types": [
|
| 32 |
+
"conv",
|
| 33 |
+
"conv",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"conv",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"conv",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"conv",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"conv",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"conv",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"conv"
|
| 46 |
+
],
|
| 47 |
+
"max_position_embeddings": 128000,
|
| 48 |
+
"model_type": "lfm2",
|
| 49 |
+
"norm_eps": 1e-05,
|
| 50 |
+
"num_attention_heads": 16,
|
| 51 |
+
"num_heads": 16,
|
| 52 |
+
"num_hidden_layers": 14,
|
| 53 |
+
"num_key_value_heads": 8,
|
| 54 |
+
"pad_token_id": 0,
|
| 55 |
+
"rope_parameters": {
|
| 56 |
+
"rope_theta": 1000000.0,
|
| 57 |
+
"rope_type": "default"
|
| 58 |
+
},
|
| 59 |
+
"sequence_parallel_norm_across_tp": false,
|
| 60 |
+
"tie_word_embeddings": true,
|
| 61 |
+
"transformers_version": "5.22.2",
|
| 62 |
+
"use_cache": true,
|
| 63 |
+
"use_pos_enc": true,
|
| 64 |
+
"vocab_size": 65536
|
| 65 |
+
}
|
br-fmt8-e0.25-mix/e1.251/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 7,
|
| 6 |
+
"output_attentions": false,
|
| 7 |
+
"output_hidden_states": false,
|
| 8 |
+
"pad_token_id": 0,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.1,
|
| 11 |
+
"top_k": 50,
|
| 12 |
+
"transformers_version": "5.22.2",
|
| 13 |
+
"use_cache": true
|
| 14 |
+
}
|
br-fmt8-e0.25-mix/e1.251/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba6ff269b7cbcb789c1e217db60878f99ee5b90eea4f138c4e494d64d2ed3d97
|
| 3 |
+
size 593618936
|
br-fmt8-e0.25-mix/run-config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "results/runs/br-src-fmt8/ckpt/e0.25",
|
| 3 |
+
"kb": "data/kb/kb-v1",
|
| 4 |
+
"data": "data/synth/kb-v1-fmt-k8-short",
|
| 5 |
+
"out": "results/runs/br-fmt8-e0.25-mix",
|
| 6 |
+
"epochs": 20,
|
| 7 |
+
"save_at": "0.05,0.1,0.25,0.5,0.75,1,1.5,2,3,5,8,12,20",
|
| 8 |
+
"objective": "sft",
|
| 9 |
+
"objective_args": "{}",
|
| 10 |
+
"cpt": false,
|
| 11 |
+
"replay": "data/replay/r-self-v1",
|
| 12 |
+
"replay_ratio": 0.5,
|
| 13 |
+
"replay_per_epoch": 0,
|
| 14 |
+
"replay_seed": null,
|
| 15 |
+
"stream": 0,
|
| 16 |
+
"lr": 1e-05,
|
| 17 |
+
"beta2": 0.999,
|
| 18 |
+
"weight_decay": 0.0,
|
| 19 |
+
"warmup": 0.03,
|
| 20 |
+
"clip": 1.0,
|
| 21 |
+
"batch": 16,
|
| 22 |
+
"seed": 1,
|
| 23 |
+
"freeze_embeddings": false,
|
| 24 |
+
"lora_rank": 0,
|
| 25 |
+
"lora_alpha": 16.0,
|
| 26 |
+
"lora_dropout": 0.1,
|
| 27 |
+
"lora_targets": "q_proj,v_proj",
|
| 28 |
+
"start_model": ".local/models/lfm2.5-230m",
|
| 29 |
+
"token_budget": 4096,
|
| 30 |
+
"trace": false,
|
| 31 |
+
"save_state_at": "",
|
| 32 |
+
"resume": "results/runs/br-src-fmt8/ckpt/e0.25",
|
| 33 |
+
"branch_steps": 263,
|
| 34 |
+
"save_every_steps": 132,
|
| 35 |
+
"reset_optimizer": false,
|
| 36 |
+
"order": "mixed",
|
| 37 |
+
"order_block": 256,
|
| 38 |
+
"max_steps": 0,
|
| 39 |
+
"data_manifest": {
|
| 40 |
+
"train/pairs.jsonl": "8bc0feb8fe0e2f8630a1e4615fcf6cd50239bd66c75b48dc74817bb24c8b8a49"
|
| 41 |
+
},
|
| 42 |
+
"replay_manifest": {
|
| 43 |
+
"train/replay.jsonl": "517ae5f64821282fdfd8b519475b03fc44f5776a7bf1d3938ad01b1d5f4483cf",
|
| 44 |
+
"heldout/heldout.jsonl": "feab6169a5622d5557f327edf13ac4366b3be127e9c23c28dcf704bc2b3456c0"
|
| 45 |
+
}
|
| 46 |
+
}
|