Upload folder using huggingface_hub
Browse files- checkpoint-2000/config.json +88 -0
- checkpoint-2000/embodiment_id.json +57 -0
- checkpoint-2000/experiment_cfg/conf.yaml +251 -0
- checkpoint-2000/experiment_cfg/config.yaml +277 -0
- checkpoint-2000/experiment_cfg/dataset_statistics.json +907 -0
- checkpoint-2000/experiment_cfg/final_model_config.json +55 -0
- checkpoint-2000/experiment_cfg/final_processor_config.json +0 -0
- checkpoint-2000/global_step2000/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
- checkpoint-2000/global_step2000/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
- checkpoint-2000/global_step2000/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
- checkpoint-2000/global_step2000/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
- checkpoint-2000/global_step2000/mp_rank_00_model_states.pt +3 -0
- checkpoint-2000/latest +1 -0
- checkpoint-2000/model-00001-of-00002.safetensors +3 -0
- checkpoint-2000/model-00002-of-00002.safetensors +3 -0
- checkpoint-2000/model.safetensors.index.json +0 -0
- checkpoint-2000/processor_config.json +1159 -0
- checkpoint-2000/rng_state_0.pth +3 -0
- checkpoint-2000/rng_state_1.pth +3 -0
- checkpoint-2000/rng_state_2.pth +3 -0
- checkpoint-2000/rng_state_3.pth +3 -0
- checkpoint-2000/scheduler.pt +3 -0
- checkpoint-2000/statistics.json +0 -0
- checkpoint-2000/trainer_state.json +1234 -0
- checkpoint-2000/training_args.bin +3 -0
- checkpoint-2000/wandb_config.json +1 -0
- checkpoint-2000/zero_to_fp32.py +760 -0
checkpoint-2000/config.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action_horizon": 40,
|
| 3 |
+
"add_pos_embed": true,
|
| 4 |
+
"apply_sincos_state_encoding": false,
|
| 5 |
+
"architectures": [
|
| 6 |
+
"Gr00tN1d7"
|
| 7 |
+
],
|
| 8 |
+
"attn_dropout": 0.2,
|
| 9 |
+
"attn_implementation": null,
|
| 10 |
+
"backbone_embedding_dim": 2048,
|
| 11 |
+
"backbone_trainable_params_fp32": true,
|
| 12 |
+
"color_jitter_params": {
|
| 13 |
+
"brightness": 0.3,
|
| 14 |
+
"contrast": 0.4,
|
| 15 |
+
"hue": 0.08,
|
| 16 |
+
"saturation": 0.5
|
| 17 |
+
},
|
| 18 |
+
"crop_fraction": 0.95,
|
| 19 |
+
"diffusion_model_cfg": {
|
| 20 |
+
"attention_head_dim": 48,
|
| 21 |
+
"dropout": 0.2,
|
| 22 |
+
"final_dropout": true,
|
| 23 |
+
"interleave_self_attention": true,
|
| 24 |
+
"norm_type": "ada_norm",
|
| 25 |
+
"num_attention_heads": 32,
|
| 26 |
+
"num_layers": 32,
|
| 27 |
+
"output_dim": 1024,
|
| 28 |
+
"positional_embeddings": null
|
| 29 |
+
},
|
| 30 |
+
"dtype": "bfloat16",
|
| 31 |
+
"exclude_state": false,
|
| 32 |
+
"formalize_language": true,
|
| 33 |
+
"hidden_size": 1024,
|
| 34 |
+
"image_crop_size": [
|
| 35 |
+
230,
|
| 36 |
+
230
|
| 37 |
+
],
|
| 38 |
+
"image_target_size": [
|
| 39 |
+
256,
|
| 40 |
+
256
|
| 41 |
+
],
|
| 42 |
+
"letter_box_transform": false,
|
| 43 |
+
"load_bf16": false,
|
| 44 |
+
"max_action_dim": 132,
|
| 45 |
+
"max_num_embodiments": 32,
|
| 46 |
+
"max_seq_len": 1024,
|
| 47 |
+
"max_state_dim": 132,
|
| 48 |
+
"model_dtype": "bfloat16",
|
| 49 |
+
"model_name": "nvidia/Cosmos-Reason2-2B",
|
| 50 |
+
"model_type": "Gr00tN1d7",
|
| 51 |
+
"noise_beta_alpha": 1.5,
|
| 52 |
+
"noise_beta_beta": 1.0,
|
| 53 |
+
"noise_s": 0.999,
|
| 54 |
+
"num_inference_timesteps": 4,
|
| 55 |
+
"num_timestep_buckets": 1000,
|
| 56 |
+
"random_history_crop": true,
|
| 57 |
+
"random_rotation_angle": 0,
|
| 58 |
+
"reproject_vision": false,
|
| 59 |
+
"rtc_ramp_rate": 6.0,
|
| 60 |
+
"select_layer": 16,
|
| 61 |
+
"shortest_image_edge": 256,
|
| 62 |
+
"state_dropout_prob": 0.2,
|
| 63 |
+
"state_gaussian_noise_std": 0.0,
|
| 64 |
+
"transformers_version": "4.57.3",
|
| 65 |
+
"tune_diffusion_model": true,
|
| 66 |
+
"tune_linear": true,
|
| 67 |
+
"tune_llm": false,
|
| 68 |
+
"tune_projector": true,
|
| 69 |
+
"tune_top_llm_layers": 0,
|
| 70 |
+
"tune_visual": false,
|
| 71 |
+
"tune_vlln": true,
|
| 72 |
+
"use_albumentations": true,
|
| 73 |
+
"use_alternate_vl_dit": true,
|
| 74 |
+
"use_flash_attention": true,
|
| 75 |
+
"use_future_tokens": false,
|
| 76 |
+
"use_mean_std": false,
|
| 77 |
+
"use_percentiles": true,
|
| 78 |
+
"use_vl_self_attention": true,
|
| 79 |
+
"use_vlln": true,
|
| 80 |
+
"vl_self_attention_cfg": {
|
| 81 |
+
"attention_head_dim": 64,
|
| 82 |
+
"dropout": 0.2,
|
| 83 |
+
"final_dropout": true,
|
| 84 |
+
"num_attention_heads": 32,
|
| 85 |
+
"num_layers": 4,
|
| 86 |
+
"positional_embeddings": null
|
| 87 |
+
}
|
| 88 |
+
}
|
checkpoint-2000/embodiment_id.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"robocasa_panda_omron": 13,
|
| 3 |
+
"oxe_droid": 17,
|
| 4 |
+
"oxe_fractal": 18,
|
| 5 |
+
"oxe_language_table": 19,
|
| 6 |
+
"oxe_bridge": 20,
|
| 7 |
+
"unknown": 22,
|
| 8 |
+
"gr1_unified": 20,
|
| 9 |
+
"agibot": 26,
|
| 10 |
+
"sim_behavior_r1_pro": 23,
|
| 11 |
+
"xdof": 24,
|
| 12 |
+
"xdof_oss_data": 25,
|
| 13 |
+
"unitree_g1_full_body_with_waist_height_nav_cmd": 25,
|
| 14 |
+
"real_r1_pro_sharpa": 27,
|
| 15 |
+
"real_r1_pro_sharpa_add_view": 27,
|
| 16 |
+
"real_r1_pro_sharpa_relative_arm_joint": 26,
|
| 17 |
+
"real_r1_pro_sharpa_delta_eef": 26,
|
| 18 |
+
"real_r1_pro_sharpa_absolute_eef": 26,
|
| 19 |
+
"real_r1_pro_sharpa_meanstd": 26,
|
| 20 |
+
"real_r1_pro_sharpa_relative_eef": 26,
|
| 21 |
+
"real_r1_pro_sharpa_relative_eef_add_view": 26,
|
| 22 |
+
"real_r1_pro_sharpa_relative_eef_relative_hand": 26,
|
| 23 |
+
"real_r1_pro_sharpa_relative_eef_human": 26,
|
| 24 |
+
"real_r1_pro_sharpa_relative_eef_human_add_view": 26,
|
| 25 |
+
"real_r1_pro_sharpa_relative_eef_human_relative_hand": 26,
|
| 26 |
+
"real_r1_pro_sharpa_relative_eef_egodex": 26,
|
| 27 |
+
"real_r1_pro_sharpa_relative_eef_egodex_relative_hand": 26,
|
| 28 |
+
"real_r1_pro_sharpa_relative_eef_egodex_wrist_only": 26,
|
| 29 |
+
"real_r1_pro_sharpa_relative_eef_maxinsights": 26,
|
| 30 |
+
"real_r1_pro_sharpa_relative_eef_maxinsights_relative_hand": 26,
|
| 31 |
+
"real_r1_pro_sharpa_relative_eef_mecka": 26,
|
| 32 |
+
"real_r1_pro_sharpa_relative_eef_mecka_relative_hand": 26,
|
| 33 |
+
"real_g1_relative_eef_absolute_joints": 25,
|
| 34 |
+
"real_g1_relative_eef_absolute_joints_wrist_cam": 25,
|
| 35 |
+
"real_g1_relative_eef_relative_joints": 25,
|
| 36 |
+
"real_r1_pro_sharpa_relative_eef_relative_hand_relative_joint": 26,
|
| 37 |
+
"real_r1_pro_sharpa_relative_joint": 29,
|
| 38 |
+
"oxe_droid_relative_eef_relative_joint": 24,
|
| 39 |
+
"oxe_droid_relative_eef_relative_joint_swapped": 24,
|
| 40 |
+
"oxe_droid_relative_eef_relative_joint_upweight_z": 24,
|
| 41 |
+
"oxe_droid_relative_eef_relative_joint_upweight_z_swapped": 24,
|
| 42 |
+
"oxe_droid_relative_eef_relative_joint_3view": 24,
|
| 43 |
+
"oxe_droid_relative_eef_relative_joint_3view_swapped": 24,
|
| 44 |
+
"oxe_droid_relative_eef": 24,
|
| 45 |
+
"oxe_droid_joint_position_relative": 24,
|
| 46 |
+
"xdof_relative_eef_relative_joint": 27,
|
| 47 |
+
"xdof_relative_eef_relative_joint_subtask": 27,
|
| 48 |
+
"xdof_relative_eef": 27,
|
| 49 |
+
"xdof_relative_joint": 28,
|
| 50 |
+
"simpler_env_google": 0,
|
| 51 |
+
"simpler_env_widowx": 1,
|
| 52 |
+
"libero_sim": 2,
|
| 53 |
+
"droid_sim": 3,
|
| 54 |
+
"unitree_g1_sonic": 11,
|
| 55 |
+
"new_embodiment": 10,
|
| 56 |
+
"robocasa_gr1_tabletop": 10
|
| 57 |
+
}
|
checkpoint-2000/experiment_cfg/conf.yaml
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
tune_top_llm_layers: 0
|
| 9 |
+
backbone_embedding_dim: 2048
|
| 10 |
+
tune_llm: false
|
| 11 |
+
tune_visual: false
|
| 12 |
+
select_layer: 12
|
| 13 |
+
reproject_vision: false
|
| 14 |
+
use_flash_attention: true
|
| 15 |
+
load_bf16: false
|
| 16 |
+
backbone_trainable_params_fp32: true
|
| 17 |
+
image_crop_size:
|
| 18 |
+
- 230
|
| 19 |
+
- 230
|
| 20 |
+
image_target_size:
|
| 21 |
+
- 256
|
| 22 |
+
- 256
|
| 23 |
+
shortest_image_edge: null
|
| 24 |
+
crop_fraction: null
|
| 25 |
+
random_rotation_angle: null
|
| 26 |
+
color_jitter_params:
|
| 27 |
+
brightness: 0.3
|
| 28 |
+
contrast: 0.4
|
| 29 |
+
saturation: 0.5
|
| 30 |
+
hue: 0.08
|
| 31 |
+
use_albumentations_transforms: true
|
| 32 |
+
extra_augmentation_config: null
|
| 33 |
+
formalize_language: true
|
| 34 |
+
apply_sincos_state_encoding: false
|
| 35 |
+
use_percentiles: true
|
| 36 |
+
use_relative_action: true
|
| 37 |
+
max_state_dim: 132
|
| 38 |
+
max_action_dim: 132
|
| 39 |
+
action_horizon: 40
|
| 40 |
+
hidden_size: 1024
|
| 41 |
+
input_embedding_dim: 1536
|
| 42 |
+
state_history_length: 1
|
| 43 |
+
add_pos_embed: true
|
| 44 |
+
attn_dropout: 0.2
|
| 45 |
+
use_vlln: true
|
| 46 |
+
max_seq_len: 1024
|
| 47 |
+
use_alternate_vl_dit: true
|
| 48 |
+
attend_text_every_n_blocks: 2
|
| 49 |
+
diffusion_model_cfg:
|
| 50 |
+
positional_embeddings: null
|
| 51 |
+
num_layers: 16
|
| 52 |
+
num_attention_heads: 32
|
| 53 |
+
attention_head_dim: 48
|
| 54 |
+
norm_type: ada_norm
|
| 55 |
+
dropout: 0.2
|
| 56 |
+
final_dropout: true
|
| 57 |
+
output_dim: 1024
|
| 58 |
+
interleave_self_attention: true
|
| 59 |
+
num_inference_timesteps: 4
|
| 60 |
+
noise_beta_alpha: 1.5
|
| 61 |
+
noise_beta_beta: 1.0
|
| 62 |
+
noise_s: 0.999
|
| 63 |
+
num_timestep_buckets: 1000
|
| 64 |
+
tune_projector: true
|
| 65 |
+
tune_diffusion_model: true
|
| 66 |
+
tune_vlln: true
|
| 67 |
+
state_dropout_prob: 0.2
|
| 68 |
+
exclude_state: false
|
| 69 |
+
use_mean_std: false
|
| 70 |
+
max_num_embodiments: 32
|
| 71 |
+
data:
|
| 72 |
+
datasets:
|
| 73 |
+
- dataset_paths:
|
| 74 |
+
- /home/ubuntu/groot-files/dataset
|
| 75 |
+
embodiment_tag: unitree_g1_sonic
|
| 76 |
+
mix_ratio: 1.0
|
| 77 |
+
dataset_type: physical_embodiment
|
| 78 |
+
val_dataset_path: null
|
| 79 |
+
modality_configs:
|
| 80 |
+
unitree_g1_sonic:
|
| 81 |
+
video:
|
| 82 |
+
delta_indices:
|
| 83 |
+
- 0
|
| 84 |
+
modality_keys:
|
| 85 |
+
- ego_view
|
| 86 |
+
sin_cos_embedding_keys: null
|
| 87 |
+
mean_std_embedding_keys: null
|
| 88 |
+
action_configs: null
|
| 89 |
+
state:
|
| 90 |
+
delta_indices:
|
| 91 |
+
- 0
|
| 92 |
+
modality_keys:
|
| 93 |
+
- left_leg
|
| 94 |
+
- right_leg
|
| 95 |
+
- waist
|
| 96 |
+
- left_arm
|
| 97 |
+
- right_arm
|
| 98 |
+
- left_hand
|
| 99 |
+
- right_hand
|
| 100 |
+
- projected_gravity
|
| 101 |
+
sin_cos_embedding_keys: null
|
| 102 |
+
mean_std_embedding_keys: null
|
| 103 |
+
action_configs: null
|
| 104 |
+
action:
|
| 105 |
+
delta_indices:
|
| 106 |
+
- 0
|
| 107 |
+
- 1
|
| 108 |
+
- 2
|
| 109 |
+
- 3
|
| 110 |
+
- 4
|
| 111 |
+
- 5
|
| 112 |
+
- 6
|
| 113 |
+
- 7
|
| 114 |
+
- 8
|
| 115 |
+
- 9
|
| 116 |
+
- 10
|
| 117 |
+
- 11
|
| 118 |
+
- 12
|
| 119 |
+
- 13
|
| 120 |
+
- 14
|
| 121 |
+
- 15
|
| 122 |
+
- 16
|
| 123 |
+
- 17
|
| 124 |
+
- 18
|
| 125 |
+
- 19
|
| 126 |
+
- 20
|
| 127 |
+
- 21
|
| 128 |
+
- 22
|
| 129 |
+
- 23
|
| 130 |
+
- 24
|
| 131 |
+
- 25
|
| 132 |
+
- 26
|
| 133 |
+
- 27
|
| 134 |
+
- 28
|
| 135 |
+
- 29
|
| 136 |
+
- 30
|
| 137 |
+
- 31
|
| 138 |
+
- 32
|
| 139 |
+
- 33
|
| 140 |
+
- 34
|
| 141 |
+
- 35
|
| 142 |
+
- 36
|
| 143 |
+
- 37
|
| 144 |
+
- 38
|
| 145 |
+
- 39
|
| 146 |
+
modality_keys:
|
| 147 |
+
- motion_token
|
| 148 |
+
- left_hand_joints
|
| 149 |
+
- right_hand_joints
|
| 150 |
+
sin_cos_embedding_keys: null
|
| 151 |
+
mean_std_embedding_keys: null
|
| 152 |
+
action_configs:
|
| 153 |
+
- rep: ABSOLUTE
|
| 154 |
+
type: NON_EEF
|
| 155 |
+
format: DEFAULT
|
| 156 |
+
state_key: null
|
| 157 |
+
- rep: ABSOLUTE
|
| 158 |
+
type: NON_EEF
|
| 159 |
+
format: DEFAULT
|
| 160 |
+
state_key: null
|
| 161 |
+
- rep: ABSOLUTE
|
| 162 |
+
type: NON_EEF
|
| 163 |
+
format: DEFAULT
|
| 164 |
+
state_key: null
|
| 165 |
+
language:
|
| 166 |
+
delta_indices:
|
| 167 |
+
- 0
|
| 168 |
+
modality_keys:
|
| 169 |
+
- annotation.human.task_description
|
| 170 |
+
sin_cos_embedding_keys: null
|
| 171 |
+
mean_std_embedding_keys: null
|
| 172 |
+
action_configs: null
|
| 173 |
+
download_cache: false
|
| 174 |
+
shard_size: 1024
|
| 175 |
+
episode_sampling_rate: 0.1
|
| 176 |
+
num_shards_per_epoch: 100000
|
| 177 |
+
override_pretraining_statistics: true
|
| 178 |
+
mode: single_turn
|
| 179 |
+
random_chop: 0.0
|
| 180 |
+
mock_dataset_mode: false
|
| 181 |
+
shuffle: true
|
| 182 |
+
seed: 42
|
| 183 |
+
multiprocessing_context: fork
|
| 184 |
+
allow_padding: false
|
| 185 |
+
subsample_ratio: 1.0
|
| 186 |
+
image_crop_size:
|
| 187 |
+
- 244
|
| 188 |
+
- 244
|
| 189 |
+
image_target_size:
|
| 190 |
+
- 224
|
| 191 |
+
- 224
|
| 192 |
+
video_backend: torchcodec
|
| 193 |
+
training:
|
| 194 |
+
output_dir: /home/ubuntu/groot-files/checkpoints/g1_finetune-20260527-102938
|
| 195 |
+
experiment_name: null
|
| 196 |
+
max_steps: 4000
|
| 197 |
+
global_batch_size: 16
|
| 198 |
+
batch_size: null
|
| 199 |
+
gradient_accumulation_steps: 1
|
| 200 |
+
learning_rate: 0.0001
|
| 201 |
+
lr_scheduler_type: cosine
|
| 202 |
+
weight_decay: 1.0e-05
|
| 203 |
+
warmup_ratio: 0.05
|
| 204 |
+
warmup_steps: 0
|
| 205 |
+
max_grad_norm: 1.0
|
| 206 |
+
optim: adamw_torch
|
| 207 |
+
start_from_checkpoint: nvidia/GR00T-N1.7-3B
|
| 208 |
+
skip_weight_loading: false
|
| 209 |
+
tf32: true
|
| 210 |
+
fp16: false
|
| 211 |
+
bf16: true
|
| 212 |
+
eval_bf16: true
|
| 213 |
+
logging_steps: 10
|
| 214 |
+
save_steps: 500
|
| 215 |
+
save_total_limit: 10
|
| 216 |
+
save_vl_model: false
|
| 217 |
+
save_only_model: false
|
| 218 |
+
upload_checkpoints: false
|
| 219 |
+
upload_every: 1000
|
| 220 |
+
upload_last_n_checkpoints: 5
|
| 221 |
+
max_concurrent_uploads: 2
|
| 222 |
+
eval_strategy: 'no'
|
| 223 |
+
eval_steps: 500
|
| 224 |
+
eval_set_split_ratio: 0.1
|
| 225 |
+
eval_batch_size: 2
|
| 226 |
+
save_best_eval_metric_name: ''
|
| 227 |
+
save_best_eval_metric_greater_is_better: true
|
| 228 |
+
deepspeed_stage: 2
|
| 229 |
+
gradient_checkpointing: false
|
| 230 |
+
transformers_trust_remote_code: true
|
| 231 |
+
transformers_local_files_only: false
|
| 232 |
+
transformers_cache_dir: null
|
| 233 |
+
transformers_access_token: null
|
| 234 |
+
use_ddp: false
|
| 235 |
+
ddp_bucket_cap_mb: 100
|
| 236 |
+
num_gpus: 4
|
| 237 |
+
dataloader_num_workers: 6
|
| 238 |
+
remove_unused_columns: false
|
| 239 |
+
use_wandb: true
|
| 240 |
+
wandb_project: groot-finetune
|
| 241 |
+
enable_profiling: false
|
| 242 |
+
max_retries: 3
|
| 243 |
+
assert_loss_less_than: null
|
| 244 |
+
add_rl_callback: false
|
| 245 |
+
enable_open_loop_eval: false
|
| 246 |
+
open_loop_eval_traj_ids:
|
| 247 |
+
- 0
|
| 248 |
+
open_loop_eval_steps_per_traj: 100
|
| 249 |
+
open_loop_eval_plot_indices: null
|
| 250 |
+
max_steps: 4000
|
| 251 |
+
save_steps: 500
|
checkpoint-2000/experiment_cfg/config.yaml
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
!!python/object:gr00t.configs.base_config.Config
|
| 2 |
+
data: !!python/object:gr00t.configs.data.data_config.DataConfig
|
| 3 |
+
allow_padding: false
|
| 4 |
+
datasets:
|
| 5 |
+
- !!python/object:gr00t.configs.data.data_config.SingleDatasetConfig
|
| 6 |
+
dataset_paths:
|
| 7 |
+
- /home/ubuntu/groot-files/dataset
|
| 8 |
+
dataset_type: physical_embodiment
|
| 9 |
+
embodiment_tag: unitree_g1_sonic
|
| 10 |
+
mix_ratio: 1.0
|
| 11 |
+
val_dataset_path: null
|
| 12 |
+
download_cache: false
|
| 13 |
+
episode_sampling_rate: 0.1
|
| 14 |
+
image_crop_size:
|
| 15 |
+
- 244
|
| 16 |
+
- 244
|
| 17 |
+
image_target_size:
|
| 18 |
+
- 224
|
| 19 |
+
- 224
|
| 20 |
+
mock_dataset_mode: false
|
| 21 |
+
modality_configs:
|
| 22 |
+
unitree_g1_sonic:
|
| 23 |
+
action: !!python/object:gr00t.data.types.ModalityConfig
|
| 24 |
+
action_configs:
|
| 25 |
+
- !!python/object:gr00t.data.types.ActionConfig
|
| 26 |
+
format: &id001 !!python/object/apply:gr00t.data.types.ActionFormat
|
| 27 |
+
- default
|
| 28 |
+
rep: &id002 !!python/object/apply:gr00t.data.types.ActionRepresentation
|
| 29 |
+
- absolute
|
| 30 |
+
state_key: null
|
| 31 |
+
type: &id003 !!python/object/apply:gr00t.data.types.ActionType
|
| 32 |
+
- non_eef
|
| 33 |
+
- !!python/object:gr00t.data.types.ActionConfig
|
| 34 |
+
format: *id001
|
| 35 |
+
rep: *id002
|
| 36 |
+
state_key: null
|
| 37 |
+
type: *id003
|
| 38 |
+
- !!python/object:gr00t.data.types.ActionConfig
|
| 39 |
+
format: *id001
|
| 40 |
+
rep: *id002
|
| 41 |
+
state_key: null
|
| 42 |
+
type: *id003
|
| 43 |
+
delta_indices:
|
| 44 |
+
- 0
|
| 45 |
+
- 1
|
| 46 |
+
- 2
|
| 47 |
+
- 3
|
| 48 |
+
- 4
|
| 49 |
+
- 5
|
| 50 |
+
- 6
|
| 51 |
+
- 7
|
| 52 |
+
- 8
|
| 53 |
+
- 9
|
| 54 |
+
- 10
|
| 55 |
+
- 11
|
| 56 |
+
- 12
|
| 57 |
+
- 13
|
| 58 |
+
- 14
|
| 59 |
+
- 15
|
| 60 |
+
- 16
|
| 61 |
+
- 17
|
| 62 |
+
- 18
|
| 63 |
+
- 19
|
| 64 |
+
- 20
|
| 65 |
+
- 21
|
| 66 |
+
- 22
|
| 67 |
+
- 23
|
| 68 |
+
- 24
|
| 69 |
+
- 25
|
| 70 |
+
- 26
|
| 71 |
+
- 27
|
| 72 |
+
- 28
|
| 73 |
+
- 29
|
| 74 |
+
- 30
|
| 75 |
+
- 31
|
| 76 |
+
- 32
|
| 77 |
+
- 33
|
| 78 |
+
- 34
|
| 79 |
+
- 35
|
| 80 |
+
- 36
|
| 81 |
+
- 37
|
| 82 |
+
- 38
|
| 83 |
+
- 39
|
| 84 |
+
mean_std_embedding_keys: null
|
| 85 |
+
modality_keys:
|
| 86 |
+
- motion_token
|
| 87 |
+
- left_hand_joints
|
| 88 |
+
- right_hand_joints
|
| 89 |
+
sin_cos_embedding_keys: null
|
| 90 |
+
language: !!python/object:gr00t.data.types.ModalityConfig
|
| 91 |
+
action_configs: null
|
| 92 |
+
delta_indices:
|
| 93 |
+
- 0
|
| 94 |
+
mean_std_embedding_keys: null
|
| 95 |
+
modality_keys:
|
| 96 |
+
- annotation.human.task_description
|
| 97 |
+
sin_cos_embedding_keys: null
|
| 98 |
+
state: !!python/object:gr00t.data.types.ModalityConfig
|
| 99 |
+
action_configs: null
|
| 100 |
+
delta_indices:
|
| 101 |
+
- 0
|
| 102 |
+
mean_std_embedding_keys: null
|
| 103 |
+
modality_keys:
|
| 104 |
+
- left_leg
|
| 105 |
+
- right_leg
|
| 106 |
+
- waist
|
| 107 |
+
- left_arm
|
| 108 |
+
- right_arm
|
| 109 |
+
- left_hand
|
| 110 |
+
- right_hand
|
| 111 |
+
- projected_gravity
|
| 112 |
+
sin_cos_embedding_keys: null
|
| 113 |
+
video: !!python/object:gr00t.data.types.ModalityConfig
|
| 114 |
+
action_configs: null
|
| 115 |
+
delta_indices:
|
| 116 |
+
- 0
|
| 117 |
+
mean_std_embedding_keys: null
|
| 118 |
+
modality_keys:
|
| 119 |
+
- ego_view
|
| 120 |
+
sin_cos_embedding_keys: null
|
| 121 |
+
mode: single_turn
|
| 122 |
+
multiprocessing_context: fork
|
| 123 |
+
num_shards_per_epoch: 100000
|
| 124 |
+
override_pretraining_statistics: true
|
| 125 |
+
random_chop: 0.0
|
| 126 |
+
seed: 42
|
| 127 |
+
shard_size: 1024
|
| 128 |
+
shuffle: true
|
| 129 |
+
subsample_ratio: 1.0
|
| 130 |
+
video_backend: torchcodec
|
| 131 |
+
load_config_path: null
|
| 132 |
+
model: !!python/object:gr00t.configs.model.gr00t_n1d7.Gr00tN1d7Config
|
| 133 |
+
_attn_implementation_internal: null
|
| 134 |
+
_commit_hash: null
|
| 135 |
+
_name_or_path: ''
|
| 136 |
+
_output_attentions: false
|
| 137 |
+
add_cross_attention: false
|
| 138 |
+
architectures: null
|
| 139 |
+
backbone_trainable_params_fp32: true
|
| 140 |
+
bad_words_ids: null
|
| 141 |
+
begin_suppress_tokens: null
|
| 142 |
+
bos_token_id: null
|
| 143 |
+
chunk_size_feed_forward: 0
|
| 144 |
+
color_jitter_params:
|
| 145 |
+
brightness: 0.3
|
| 146 |
+
contrast: 0.4
|
| 147 |
+
hue: 0.08
|
| 148 |
+
saturation: 0.5
|
| 149 |
+
cross_attention_hidden_size: null
|
| 150 |
+
decoder_start_token_id: null
|
| 151 |
+
diffusion_model_cfg:
|
| 152 |
+
attention_head_dim: 48
|
| 153 |
+
dropout: 0.2
|
| 154 |
+
final_dropout: true
|
| 155 |
+
interleave_self_attention: true
|
| 156 |
+
norm_type: ada_norm
|
| 157 |
+
num_attention_heads: 32
|
| 158 |
+
num_layers: 16
|
| 159 |
+
output_dim: 1024
|
| 160 |
+
positional_embeddings: null
|
| 161 |
+
diversity_penalty: 0.0
|
| 162 |
+
do_sample: false
|
| 163 |
+
dtype: null
|
| 164 |
+
early_stopping: false
|
| 165 |
+
encoder_no_repeat_ngram_size: 0
|
| 166 |
+
eos_token_id: null
|
| 167 |
+
exponential_decay_length_penalty: null
|
| 168 |
+
extra_augmentation_config: null
|
| 169 |
+
finetuning_task: null
|
| 170 |
+
forced_bos_token_id: null
|
| 171 |
+
forced_eos_token_id: null
|
| 172 |
+
id2label:
|
| 173 |
+
0: LABEL_0
|
| 174 |
+
1: LABEL_1
|
| 175 |
+
is_decoder: false
|
| 176 |
+
is_encoder_decoder: false
|
| 177 |
+
label2id:
|
| 178 |
+
LABEL_0: 0
|
| 179 |
+
LABEL_1: 1
|
| 180 |
+
length_penalty: 1.0
|
| 181 |
+
load_bf16: false
|
| 182 |
+
max_length: 20
|
| 183 |
+
min_length: 0
|
| 184 |
+
model_name: nvidia/Cosmos-Reason2-2B
|
| 185 |
+
no_repeat_ngram_size: 0
|
| 186 |
+
num_beam_groups: 1
|
| 187 |
+
num_beams: 1
|
| 188 |
+
num_return_sequences: 1
|
| 189 |
+
output_hidden_states: false
|
| 190 |
+
output_scores: false
|
| 191 |
+
pad_token_id: null
|
| 192 |
+
prefix: null
|
| 193 |
+
problem_type: null
|
| 194 |
+
pruned_heads: {}
|
| 195 |
+
random_rotation_angle: null
|
| 196 |
+
remove_invalid_values: false
|
| 197 |
+
repetition_penalty: 1.0
|
| 198 |
+
reproject_vision: false
|
| 199 |
+
return_dict: true
|
| 200 |
+
return_dict_in_generate: false
|
| 201 |
+
sep_token_id: null
|
| 202 |
+
state_dropout_prob: 0.2
|
| 203 |
+
suppress_tokens: null
|
| 204 |
+
task_specific_params: null
|
| 205 |
+
temperature: 1.0
|
| 206 |
+
tf_legacy_loss: false
|
| 207 |
+
tie_encoder_decoder: false
|
| 208 |
+
tie_word_embeddings: true
|
| 209 |
+
tokenizer_class: null
|
| 210 |
+
top_k: 50
|
| 211 |
+
top_p: 1.0
|
| 212 |
+
torchscript: false
|
| 213 |
+
transformers_version: null
|
| 214 |
+
tune_diffusion_model: true
|
| 215 |
+
tune_llm: false
|
| 216 |
+
tune_projector: true
|
| 217 |
+
tune_visual: false
|
| 218 |
+
typical_p: 1.0
|
| 219 |
+
use_bfloat16: false
|
| 220 |
+
use_relative_action: true
|
| 221 |
+
training: !!python/object:gr00t.configs.training.training_config.TrainingConfig
|
| 222 |
+
add_rl_callback: false
|
| 223 |
+
assert_loss_less_than: null
|
| 224 |
+
batch_size: null
|
| 225 |
+
bf16: true
|
| 226 |
+
dataloader_num_workers: 6
|
| 227 |
+
ddp_bucket_cap_mb: 100
|
| 228 |
+
deepspeed_stage: 2
|
| 229 |
+
enable_open_loop_eval: false
|
| 230 |
+
enable_profiling: false
|
| 231 |
+
eval_batch_size: 2
|
| 232 |
+
eval_bf16: true
|
| 233 |
+
eval_set_split_ratio: 0.1
|
| 234 |
+
eval_steps: 500
|
| 235 |
+
eval_strategy: 'no'
|
| 236 |
+
experiment_name: null
|
| 237 |
+
fp16: false
|
| 238 |
+
global_batch_size: 16
|
| 239 |
+
gradient_accumulation_steps: 1
|
| 240 |
+
gradient_checkpointing: false
|
| 241 |
+
learning_rate: 0.0001
|
| 242 |
+
logging_steps: 10
|
| 243 |
+
lr_scheduler_type: cosine
|
| 244 |
+
max_concurrent_uploads: 2
|
| 245 |
+
max_grad_norm: 1.0
|
| 246 |
+
max_retries: 3
|
| 247 |
+
max_steps: 4000
|
| 248 |
+
num_gpus: 4
|
| 249 |
+
open_loop_eval_plot_indices: null
|
| 250 |
+
open_loop_eval_steps_per_traj: 100
|
| 251 |
+
open_loop_eval_traj_ids:
|
| 252 |
+
- 0
|
| 253 |
+
optim: adamw_torch
|
| 254 |
+
output_dir: /home/ubuntu/groot-files/checkpoints/g1_finetune-20260527-102938
|
| 255 |
+
remove_unused_columns: false
|
| 256 |
+
save_best_eval_metric_greater_is_better: true
|
| 257 |
+
save_best_eval_metric_name: ''
|
| 258 |
+
save_only_model: false
|
| 259 |
+
save_steps: 500
|
| 260 |
+
save_total_limit: 10
|
| 261 |
+
save_vl_model: false
|
| 262 |
+
skip_weight_loading: false
|
| 263 |
+
start_from_checkpoint: nvidia/GR00T-N1.7-3B
|
| 264 |
+
tf32: true
|
| 265 |
+
transformers_access_token: null
|
| 266 |
+
transformers_cache_dir: null
|
| 267 |
+
transformers_local_files_only: false
|
| 268 |
+
transformers_trust_remote_code: true
|
| 269 |
+
upload_checkpoints: false
|
| 270 |
+
upload_every: 1000
|
| 271 |
+
upload_last_n_checkpoints: 5
|
| 272 |
+
use_ddp: false
|
| 273 |
+
use_wandb: true
|
| 274 |
+
wandb_project: groot-finetune
|
| 275 |
+
warmup_ratio: 0.05
|
| 276 |
+
warmup_steps: 0
|
| 277 |
+
weight_decay: 1.0e-05
|
checkpoint-2000/experiment_cfg/dataset_statistics.json
ADDED
|
@@ -0,0 +1,907 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"unitree_g1_sonic": {
|
| 3 |
+
"state": {
|
| 4 |
+
"left_leg": {
|
| 5 |
+
"min": [
|
| 6 |
+
-0.4857776165008545,
|
| 7 |
+
-0.24391146004199982,
|
| 8 |
+
-0.8776780366897583,
|
| 9 |
+
0.03597185015678406,
|
| 10 |
+
-0.4930363595485687,
|
| 11 |
+
-0.20340518653392792
|
| 12 |
+
],
|
| 13 |
+
"max": [
|
| 14 |
+
0.3237466514110565,
|
| 15 |
+
0.31727835536003113,
|
| 16 |
+
0.7570706605911255,
|
| 17 |
+
0.8986315131187439,
|
| 18 |
+
0.1892659068107605,
|
| 19 |
+
0.15561887621879578
|
| 20 |
+
],
|
| 21 |
+
"mean": [
|
| 22 |
+
0.038367897272109985,
|
| 23 |
+
0.017137423157691956,
|
| 24 |
+
0.10202965885400772,
|
| 25 |
+
0.21319514513015747,
|
| 26 |
+
-0.20034761726856232,
|
| 27 |
+
-0.009860903024673462
|
| 28 |
+
],
|
| 29 |
+
"std": [
|
| 30 |
+
0.12473291903734207,
|
| 31 |
+
0.0657326877117157,
|
| 32 |
+
0.16789446771144867,
|
| 33 |
+
0.0855027362704277,
|
| 34 |
+
0.05454540252685547,
|
| 35 |
+
0.043583426624536514
|
| 36 |
+
],
|
| 37 |
+
"q01": [
|
| 38 |
+
-0.3429580569267273,
|
| 39 |
+
-0.14271177425980566,
|
| 40 |
+
-0.41709126979112626,
|
| 41 |
+
0.12328944355249405,
|
| 42 |
+
-0.2934864178299904,
|
| 43 |
+
-0.11147186532616615
|
| 44 |
+
],
|
| 45 |
+
"q99": [
|
| 46 |
+
0.18860293924808502,
|
| 47 |
+
0.17139848843216907,
|
| 48 |
+
0.4404219493269922,
|
| 49 |
+
0.5360466212034226,
|
| 50 |
+
-0.019520661234855623,
|
| 51 |
+
0.09359118081629283
|
| 52 |
+
]
|
| 53 |
+
},
|
| 54 |
+
"right_leg": {
|
| 55 |
+
"min": [
|
| 56 |
+
-0.5335952043533325,
|
| 57 |
+
-0.350761741399765,
|
| 58 |
+
-1.3307929039001465,
|
| 59 |
+
0.07445771992206573,
|
| 60 |
+
-0.6092288494110107,
|
| 61 |
+
-0.1984633058309555
|
| 62 |
+
],
|
| 63 |
+
"max": [
|
| 64 |
+
0.25397607684135437,
|
| 65 |
+
0.15654273331165314,
|
| 66 |
+
0.24837948381900787,
|
| 67 |
+
0.9999935626983643,
|
| 68 |
+
0.1089707612991333,
|
| 69 |
+
0.17701147496700287
|
| 70 |
+
],
|
| 71 |
+
"mean": [
|
| 72 |
+
0.05046115070581436,
|
| 73 |
+
-0.023679343983530998,
|
| 74 |
+
-0.213065966963768,
|
| 75 |
+
0.20844903588294983,
|
| 76 |
+
-0.19808240234851837,
|
| 77 |
+
-0.0055496226996183395
|
| 78 |
+
],
|
| 79 |
+
"std": [
|
| 80 |
+
0.07887373864650726,
|
| 81 |
+
0.06217808276414871,
|
| 82 |
+
0.18437089025974274,
|
| 83 |
+
0.10042016953229904,
|
| 84 |
+
0.06798264384269714,
|
| 85 |
+
0.04407079145312309
|
| 86 |
+
],
|
| 87 |
+
"q01": [
|
| 88 |
+
-0.193911362439394,
|
| 89 |
+
-0.1981988400220871,
|
| 90 |
+
-0.90549436211586,
|
| 91 |
+
0.127213454246521,
|
| 92 |
+
-0.4343456655740738,
|
| 93 |
+
-0.11320190876722336
|
| 94 |
+
],
|
| 95 |
+
"q99": [
|
| 96 |
+
0.1967100210487844,
|
| 97 |
+
0.11513377726078033,
|
| 98 |
+
0.15384408906102207,
|
| 99 |
+
0.7395615458488474,
|
| 100 |
+
-0.05514147877693175,
|
| 101 |
+
0.08568341806530994
|
| 102 |
+
]
|
| 103 |
+
},
|
| 104 |
+
"waist": {
|
| 105 |
+
"min": [
|
| 106 |
+
-0.3889274299144745,
|
| 107 |
+
-0.3032904267311096,
|
| 108 |
+
-0.04627600684762001
|
| 109 |
+
],
|
| 110 |
+
"max": [
|
| 111 |
+
0.4404728412628174,
|
| 112 |
+
0.11908156424760818,
|
| 113 |
+
0.05046159774065018
|
| 114 |
+
],
|
| 115 |
+
"mean": [
|
| 116 |
+
0.1003476083278656,
|
| 117 |
+
-0.03575156629085541,
|
| 118 |
+
-0.0004057084152009338
|
| 119 |
+
],
|
| 120 |
+
"std": [
|
| 121 |
+
0.11155267059803009,
|
| 122 |
+
0.044356729835271835,
|
| 123 |
+
0.007639772724360228
|
| 124 |
+
],
|
| 125 |
+
"q01": [
|
| 126 |
+
-0.09896008186042309,
|
| 127 |
+
-0.16525592356920243,
|
| 128 |
+
-0.019172759167850016
|
| 129 |
+
],
|
| 130 |
+
"q99": [
|
| 131 |
+
0.3729535743594171,
|
| 132 |
+
0.04077914115041498,
|
| 133 |
+
0.024438940081745388
|
| 134 |
+
]
|
| 135 |
+
},
|
| 136 |
+
"left_arm": {
|
| 137 |
+
"min": [
|
| 138 |
+
-0.2003283053636551,
|
| 139 |
+
0.09816279262304306,
|
| 140 |
+
-0.5412195920944214,
|
| 141 |
+
0.7723593711853027,
|
| 142 |
+
-0.7412483096122742,
|
| 143 |
+
-0.09287774562835693,
|
| 144 |
+
-0.31815722584724426
|
| 145 |
+
],
|
| 146 |
+
"max": [
|
| 147 |
+
0.4134317934513092,
|
| 148 |
+
0.38915175199508667,
|
| 149 |
+
0.3470511734485626,
|
| 150 |
+
1.363792896270752,
|
| 151 |
+
0.38266828656196594,
|
| 152 |
+
0.5152138471603394,
|
| 153 |
+
0.42312705516815186
|
| 154 |
+
],
|
| 155 |
+
"mean": [
|
| 156 |
+
0.17467822134494781,
|
| 157 |
+
0.20962199568748474,
|
| 158 |
+
0.03295444697141647,
|
| 159 |
+
1.0894439220428467,
|
| 160 |
+
-0.11893314123153687,
|
| 161 |
+
0.20652393996715546,
|
| 162 |
+
0.01763514056801796
|
| 163 |
+
],
|
| 164 |
+
"std": [
|
| 165 |
+
0.08956529945135117,
|
| 166 |
+
0.03943527489900589,
|
| 167 |
+
0.09209521114826202,
|
| 168 |
+
0.07066802680492401,
|
| 169 |
+
0.19965490698814392,
|
| 170 |
+
0.11541580408811569,
|
| 171 |
+
0.10361754149198532
|
| 172 |
+
],
|
| 173 |
+
"q01": [
|
| 174 |
+
-0.06361526139080524,
|
| 175 |
+
0.1356973797082901,
|
| 176 |
+
-0.1961050637066364,
|
| 177 |
+
0.9089213967323303,
|
| 178 |
+
-0.5769511580467224,
|
| 179 |
+
-0.03977684192359447,
|
| 180 |
+
-0.22587568387389184
|
| 181 |
+
],
|
| 182 |
+
"q99": [
|
| 183 |
+
0.3310546398162843,
|
| 184 |
+
0.31673349142074597,
|
| 185 |
+
0.2289490304887296,
|
| 186 |
+
1.2593449354171753,
|
| 187 |
+
0.2899013936519628,
|
| 188 |
+
0.46442466974258423,
|
| 189 |
+
0.2727669641375545
|
| 190 |
+
]
|
| 191 |
+
},
|
| 192 |
+
"right_arm": {
|
| 193 |
+
"min": [
|
| 194 |
+
-0.9788835048675537,
|
| 195 |
+
-0.7953690886497498,
|
| 196 |
+
-0.49778875708580017,
|
| 197 |
+
-0.7156979441642761,
|
| 198 |
+
-0.9786917567253113,
|
| 199 |
+
-0.1273084282875061,
|
| 200 |
+
-0.9962846040725708
|
| 201 |
+
],
|
| 202 |
+
"max": [
|
| 203 |
+
0.3628104329109192,
|
| 204 |
+
0.08640626072883606,
|
| 205 |
+
0.8718883395195007,
|
| 206 |
+
1.3758729696273804,
|
| 207 |
+
1.0651459693908691,
|
| 208 |
+
0.6638182401657104,
|
| 209 |
+
0.9581388235092163
|
| 210 |
+
],
|
| 211 |
+
"mean": [
|
| 212 |
+
-0.14295516908168793,
|
| 213 |
+
-0.20207007229328156,
|
| 214 |
+
0.164081871509552,
|
| 215 |
+
0.32978397607803345,
|
| 216 |
+
0.15659268200397491,
|
| 217 |
+
0.21257737278938293,
|
| 218 |
+
0.0897224023938179
|
| 219 |
+
],
|
| 220 |
+
"std": [
|
| 221 |
+
0.2832476496696472,
|
| 222 |
+
0.07377105951309204,
|
| 223 |
+
0.18590903282165527,
|
| 224 |
+
0.6193384528160095,
|
| 225 |
+
0.20538125932216644,
|
| 226 |
+
0.12802571058273315,
|
| 227 |
+
0.21542473137378693
|
| 228 |
+
],
|
| 229 |
+
"q01": [
|
| 230 |
+
-0.7704071193933487,
|
| 231 |
+
-0.376973994076252,
|
| 232 |
+
-0.19678157344460487,
|
| 233 |
+
-0.5173931628465652,
|
| 234 |
+
-0.39670541584491725,
|
| 235 |
+
-0.03838966768234967,
|
| 236 |
+
-0.3572006195783615
|
| 237 |
+
],
|
| 238 |
+
"q99": [
|
| 239 |
+
0.24905617535114288,
|
| 240 |
+
0.0024351945263335014,
|
| 241 |
+
0.586448073387146,
|
| 242 |
+
1.304707604646683,
|
| 243 |
+
0.5929710775613787,
|
| 244 |
+
0.5161845684051514,
|
| 245 |
+
0.6641693621873858
|
| 246 |
+
]
|
| 247 |
+
},
|
| 248 |
+
"left_hand": {
|
| 249 |
+
"min": [
|
| 250 |
+
0.0,
|
| 251 |
+
0.0,
|
| 252 |
+
0.0,
|
| 253 |
+
0.0,
|
| 254 |
+
0.0,
|
| 255 |
+
0.0,
|
| 256 |
+
0.0
|
| 257 |
+
],
|
| 258 |
+
"max": [
|
| 259 |
+
0.0,
|
| 260 |
+
0.0,
|
| 261 |
+
0.0,
|
| 262 |
+
0.0,
|
| 263 |
+
0.0,
|
| 264 |
+
0.0,
|
| 265 |
+
0.0
|
| 266 |
+
],
|
| 267 |
+
"mean": [
|
| 268 |
+
0.0,
|
| 269 |
+
0.0,
|
| 270 |
+
0.0,
|
| 271 |
+
0.0,
|
| 272 |
+
0.0,
|
| 273 |
+
0.0,
|
| 274 |
+
0.0
|
| 275 |
+
],
|
| 276 |
+
"std": [
|
| 277 |
+
0.0,
|
| 278 |
+
0.0,
|
| 279 |
+
0.0,
|
| 280 |
+
0.0,
|
| 281 |
+
0.0,
|
| 282 |
+
0.0,
|
| 283 |
+
0.0
|
| 284 |
+
],
|
| 285 |
+
"q01": [
|
| 286 |
+
0.0,
|
| 287 |
+
0.0,
|
| 288 |
+
0.0,
|
| 289 |
+
0.0,
|
| 290 |
+
0.0,
|
| 291 |
+
0.0,
|
| 292 |
+
0.0
|
| 293 |
+
],
|
| 294 |
+
"q99": [
|
| 295 |
+
0.0,
|
| 296 |
+
0.0,
|
| 297 |
+
0.0,
|
| 298 |
+
0.0,
|
| 299 |
+
0.0,
|
| 300 |
+
0.0,
|
| 301 |
+
0.0
|
| 302 |
+
]
|
| 303 |
+
},
|
| 304 |
+
"right_hand": {
|
| 305 |
+
"min": [
|
| 306 |
+
0.0,
|
| 307 |
+
0.0,
|
| 308 |
+
0.0,
|
| 309 |
+
0.0,
|
| 310 |
+
0.0,
|
| 311 |
+
0.0,
|
| 312 |
+
0.0
|
| 313 |
+
],
|
| 314 |
+
"max": [
|
| 315 |
+
0.0,
|
| 316 |
+
0.0,
|
| 317 |
+
0.0,
|
| 318 |
+
0.0,
|
| 319 |
+
0.0,
|
| 320 |
+
0.0,
|
| 321 |
+
0.0
|
| 322 |
+
],
|
| 323 |
+
"mean": [
|
| 324 |
+
0.0,
|
| 325 |
+
0.0,
|
| 326 |
+
0.0,
|
| 327 |
+
0.0,
|
| 328 |
+
0.0,
|
| 329 |
+
0.0,
|
| 330 |
+
0.0
|
| 331 |
+
],
|
| 332 |
+
"std": [
|
| 333 |
+
0.0,
|
| 334 |
+
0.0,
|
| 335 |
+
0.0,
|
| 336 |
+
0.0,
|
| 337 |
+
0.0,
|
| 338 |
+
0.0,
|
| 339 |
+
0.0
|
| 340 |
+
],
|
| 341 |
+
"q01": [
|
| 342 |
+
0.0,
|
| 343 |
+
0.0,
|
| 344 |
+
0.0,
|
| 345 |
+
0.0,
|
| 346 |
+
0.0,
|
| 347 |
+
0.0,
|
| 348 |
+
0.0
|
| 349 |
+
],
|
| 350 |
+
"q99": [
|
| 351 |
+
0.0,
|
| 352 |
+
0.0,
|
| 353 |
+
0.0,
|
| 354 |
+
0.0,
|
| 355 |
+
0.0,
|
| 356 |
+
0.0,
|
| 357 |
+
0.0
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"projected_gravity": {
|
| 361 |
+
"min": [
|
| 362 |
+
-0.12354099005460739,
|
| 363 |
+
-0.13017292320728302,
|
| 364 |
+
-1.0
|
| 365 |
+
],
|
| 366 |
+
"max": [
|
| 367 |
+
0.22223307192325592,
|
| 368 |
+
0.10705921798944473,
|
| 369 |
+
-0.9749471545219421
|
| 370 |
+
],
|
| 371 |
+
"mean": [
|
| 372 |
+
-0.01818661577999592,
|
| 373 |
+
0.0029902660753577948,
|
| 374 |
+
-0.9988934993743896
|
| 375 |
+
],
|
| 376 |
+
"std": [
|
| 377 |
+
0.03578517585992813,
|
| 378 |
+
0.032206468284130096,
|
| 379 |
+
0.0014198371209307285
|
| 380 |
+
],
|
| 381 |
+
"q01": [
|
| 382 |
+
-0.09425989575684071,
|
| 383 |
+
-0.08990333564579486,
|
| 384 |
+
-0.9999815225601196
|
| 385 |
+
],
|
| 386 |
+
"q99": [
|
| 387 |
+
0.06742736026644708,
|
| 388 |
+
0.06235775817185641,
|
| 389 |
+
-0.9940253734588623
|
| 390 |
+
]
|
| 391 |
+
}
|
| 392 |
+
},
|
| 393 |
+
"action": {
|
| 394 |
+
"motion_token": {
|
| 395 |
+
"min": [
|
| 396 |
+
-0.3125,
|
| 397 |
+
-0.5,
|
| 398 |
+
-0.5,
|
| 399 |
+
-0.4375,
|
| 400 |
+
-0.625,
|
| 401 |
+
-0.375,
|
| 402 |
+
-0.25,
|
| 403 |
+
-0.0625,
|
| 404 |
+
-0.4375,
|
| 405 |
+
-0.6875,
|
| 406 |
+
-0.375,
|
| 407 |
+
-0.375,
|
| 408 |
+
-0.3125,
|
| 409 |
+
-0.375,
|
| 410 |
+
-0.6875,
|
| 411 |
+
-0.25,
|
| 412 |
+
-0.375,
|
| 413 |
+
-0.25,
|
| 414 |
+
-0.375,
|
| 415 |
+
-0.5,
|
| 416 |
+
-0.5,
|
| 417 |
+
-0.5,
|
| 418 |
+
-0.625,
|
| 419 |
+
-0.5,
|
| 420 |
+
-0.375,
|
| 421 |
+
-0.5625,
|
| 422 |
+
-0.125,
|
| 423 |
+
-0.5,
|
| 424 |
+
-0.3125,
|
| 425 |
+
-0.3125,
|
| 426 |
+
-0.125,
|
| 427 |
+
-0.375,
|
| 428 |
+
0.0625,
|
| 429 |
+
-0.1875,
|
| 430 |
+
-0.1875,
|
| 431 |
+
-0.5625,
|
| 432 |
+
-0.6875,
|
| 433 |
+
-0.6875,
|
| 434 |
+
-0.125,
|
| 435 |
+
-0.125,
|
| 436 |
+
-0.4375,
|
| 437 |
+
-0.5625,
|
| 438 |
+
-0.3125,
|
| 439 |
+
-0.375,
|
| 440 |
+
-0.5,
|
| 441 |
+
-0.4375,
|
| 442 |
+
-0.125,
|
| 443 |
+
-0.3125,
|
| 444 |
+
-0.5,
|
| 445 |
+
-0.25,
|
| 446 |
+
-0.375,
|
| 447 |
+
-0.625,
|
| 448 |
+
-0.0625,
|
| 449 |
+
-0.4375,
|
| 450 |
+
-0.0625,
|
| 451 |
+
-0.4375,
|
| 452 |
+
-0.5,
|
| 453 |
+
0.0,
|
| 454 |
+
-0.25,
|
| 455 |
+
-0.5,
|
| 456 |
+
-0.375,
|
| 457 |
+
-0.1875,
|
| 458 |
+
0.0,
|
| 459 |
+
-0.5
|
| 460 |
+
],
|
| 461 |
+
"max": [
|
| 462 |
+
0.125,
|
| 463 |
+
0.25,
|
| 464 |
+
0.25,
|
| 465 |
+
0.125,
|
| 466 |
+
0.1875,
|
| 467 |
+
0.1875,
|
| 468 |
+
0.5,
|
| 469 |
+
0.4375,
|
| 470 |
+
0.25,
|
| 471 |
+
0.125,
|
| 472 |
+
0.1875,
|
| 473 |
+
0.0625,
|
| 474 |
+
0.125,
|
| 475 |
+
0.3125,
|
| 476 |
+
-0.0625,
|
| 477 |
+
0.1875,
|
| 478 |
+
0.25,
|
| 479 |
+
0.25,
|
| 480 |
+
0.125,
|
| 481 |
+
0.0625,
|
| 482 |
+
0.3125,
|
| 483 |
+
0.125,
|
| 484 |
+
0.25,
|
| 485 |
+
0.25,
|
| 486 |
+
0.3125,
|
| 487 |
+
0.125,
|
| 488 |
+
0.375,
|
| 489 |
+
0.1875,
|
| 490 |
+
0.375,
|
| 491 |
+
0.375,
|
| 492 |
+
0.375,
|
| 493 |
+
0.25,
|
| 494 |
+
0.4375,
|
| 495 |
+
0.5,
|
| 496 |
+
0.5,
|
| 497 |
+
0.5625,
|
| 498 |
+
0.25,
|
| 499 |
+
-0.0625,
|
| 500 |
+
0.3125,
|
| 501 |
+
0.4375,
|
| 502 |
+
0.125,
|
| 503 |
+
0.4375,
|
| 504 |
+
0.4375,
|
| 505 |
+
0.375,
|
| 506 |
+
-0.0625,
|
| 507 |
+
0.1875,
|
| 508 |
+
0.5625,
|
| 509 |
+
0.1875,
|
| 510 |
+
0.3125,
|
| 511 |
+
0.1875,
|
| 512 |
+
0.25,
|
| 513 |
+
0.1875,
|
| 514 |
+
0.375,
|
| 515 |
+
0.3125,
|
| 516 |
+
0.5625,
|
| 517 |
+
0.1875,
|
| 518 |
+
0.4375,
|
| 519 |
+
0.5625,
|
| 520 |
+
0.1875,
|
| 521 |
+
0.375,
|
| 522 |
+
0.3125,
|
| 523 |
+
0.4375,
|
| 524 |
+
0.5625,
|
| 525 |
+
0.0
|
| 526 |
+
],
|
| 527 |
+
"mean": [
|
| 528 |
+
-0.05732722207903862,
|
| 529 |
+
-0.12596048414707184,
|
| 530 |
+
-0.015900524333119392,
|
| 531 |
+
-0.16434414684772491,
|
| 532 |
+
-0.18957528471946716,
|
| 533 |
+
-0.08797170221805573,
|
| 534 |
+
0.2548595666885376,
|
| 535 |
+
0.19856274127960205,
|
| 536 |
+
-0.025066815316677094,
|
| 537 |
+
-0.21372610330581665,
|
| 538 |
+
-0.10314688086509705,
|
| 539 |
+
-0.21981850266456604,
|
| 540 |
+
-0.12050355225801468,
|
| 541 |
+
-0.08165144175291061,
|
| 542 |
+
-0.38714757561683655,
|
| 543 |
+
-8.805885590845719e-05,
|
| 544 |
+
-0.049404650926589966,
|
| 545 |
+
-0.055493421852588654,
|
| 546 |
+
-0.09600593894720078,
|
| 547 |
+
-0.2977478802204132,
|
| 548 |
+
-0.029102997854351997,
|
| 549 |
+
-0.2329292893409729,
|
| 550 |
+
-0.19594638049602509,
|
| 551 |
+
-0.23360289633274078,
|
| 552 |
+
-0.095408596098423,
|
| 553 |
+
-0.17069709300994873,
|
| 554 |
+
0.1292250156402588,
|
| 555 |
+
-0.2315811812877655,
|
| 556 |
+
0.07302621006965637,
|
| 557 |
+
0.06577451527118683,
|
| 558 |
+
0.1414906084537506,
|
| 559 |
+
-0.11845822632312775,
|
| 560 |
+
0.2995853126049042,
|
| 561 |
+
0.17635828256607056,
|
| 562 |
+
0.14573286473751068,
|
| 563 |
+
0.0782189592719078,
|
| 564 |
+
-0.1727832704782486,
|
| 565 |
+
-0.3186105489730835,
|
| 566 |
+
0.11981905251741409,
|
| 567 |
+
0.13200204074382782,
|
| 568 |
+
-0.08226785063743591,
|
| 569 |
+
-0.09514441341161728,
|
| 570 |
+
0.060834143310785294,
|
| 571 |
+
-0.006165935657918453,
|
| 572 |
+
-0.3161884844303131,
|
| 573 |
+
-0.02333650551736355,
|
| 574 |
+
0.21719853579998016,
|
| 575 |
+
-0.10866008698940277,
|
| 576 |
+
-0.01649424061179161,
|
| 577 |
+
-0.007006580010056496,
|
| 578 |
+
-0.06802137941122055,
|
| 579 |
+
-0.14377468824386597,
|
| 580 |
+
0.21333755552768707,
|
| 581 |
+
0.015348567627370358,
|
| 582 |
+
0.22719819843769073,
|
| 583 |
+
-0.1495230346918106,
|
| 584 |
+
0.030986731871962547,
|
| 585 |
+
0.296153724193573,
|
| 586 |
+
-0.023153124377131462,
|
| 587 |
+
-0.1389232873916626,
|
| 588 |
+
0.035359714180231094,
|
| 589 |
+
0.10143018513917923,
|
| 590 |
+
0.30849015712738037,
|
| 591 |
+
-0.22524820268154144
|
| 592 |
+
],
|
| 593 |
+
"std": [
|
| 594 |
+
0.06542618572711945,
|
| 595 |
+
0.09994574636220932,
|
| 596 |
+
0.07207678258419037,
|
| 597 |
+
0.08702709525823593,
|
| 598 |
+
0.17209544777870178,
|
| 599 |
+
0.0581701286137104,
|
| 600 |
+
0.09559116512537003,
|
| 601 |
+
0.07802454382181168,
|
| 602 |
+
0.13620688021183014,
|
| 603 |
+
0.1569388061761856,
|
| 604 |
+
0.0967717096209526,
|
| 605 |
+
0.0680033266544342,
|
| 606 |
+
0.05837923660874367,
|
| 607 |
+
0.11557621508836746,
|
| 608 |
+
0.11890240013599396,
|
| 609 |
+
0.08077684044837952,
|
| 610 |
+
0.06398067623376846,
|
| 611 |
+
0.06826013326644897,
|
| 612 |
+
0.09755037724971771,
|
| 613 |
+
0.10724268853664398,
|
| 614 |
+
0.1992810219526291,
|
| 615 |
+
0.12710419297218323,
|
| 616 |
+
0.21719561517238617,
|
| 617 |
+
0.14369657635688782,
|
| 618 |
+
0.08655858784914017,
|
| 619 |
+
0.11142221838235855,
|
| 620 |
+
0.057688891887664795,
|
| 621 |
+
0.18031662702560425,
|
| 622 |
+
0.0692613422870636,
|
| 623 |
+
0.16206243634223938,
|
| 624 |
+
0.11068906635046005,
|
| 625 |
+
0.06650221347808838,
|
| 626 |
+
0.06952458620071411,
|
| 627 |
+
0.10304083675146103,
|
| 628 |
+
0.12724509835243225,
|
| 629 |
+
0.3227654695510864,
|
| 630 |
+
0.14636477828025818,
|
| 631 |
+
0.08603093028068542,
|
| 632 |
+
0.08780314773321152,
|
| 633 |
+
0.06147885322570801,
|
| 634 |
+
0.07425742596387863,
|
| 635 |
+
0.27255958318710327,
|
| 636 |
+
0.13721545040607452,
|
| 637 |
+
0.10124049335718155,
|
| 638 |
+
0.06286311149597168,
|
| 639 |
+
0.0642034038901329,
|
| 640 |
+
0.08693595230579376,
|
| 641 |
+
0.06350599974393845,
|
| 642 |
+
0.11969305574893951,
|
| 643 |
+
0.06820058822631836,
|
| 644 |
+
0.09139743447303772,
|
| 645 |
+
0.1545047014951706,
|
| 646 |
+
0.06951460987329483,
|
| 647 |
+
0.08810964971780777,
|
| 648 |
+
0.0868336483836174,
|
| 649 |
+
0.0749349296092987,
|
| 650 |
+
0.09778603166341782,
|
| 651 |
+
0.11456362158060074,
|
| 652 |
+
0.06560879200696945,
|
| 653 |
+
0.2043108344078064,
|
| 654 |
+
0.07238639891147614,
|
| 655 |
+
0.0965481698513031,
|
| 656 |
+
0.11412639170885086,
|
| 657 |
+
0.11945699900388718
|
| 658 |
+
],
|
| 659 |
+
"q01": [
|
| 660 |
+
-0.1875,
|
| 661 |
+
-0.375,
|
| 662 |
+
-0.1875,
|
| 663 |
+
-0.375,
|
| 664 |
+
-0.5625,
|
| 665 |
+
-0.1875,
|
| 666 |
+
0.0625,
|
| 667 |
+
0.0,
|
| 668 |
+
-0.3125,
|
| 669 |
+
-0.625,
|
| 670 |
+
-0.3125,
|
| 671 |
+
-0.3125,
|
| 672 |
+
-0.25,
|
| 673 |
+
-0.3125,
|
| 674 |
+
-0.625,
|
| 675 |
+
-0.1875,
|
| 676 |
+
-0.25,
|
| 677 |
+
-0.1875,
|
| 678 |
+
-0.3125,
|
| 679 |
+
-0.5,
|
| 680 |
+
-0.375,
|
| 681 |
+
-0.4375,
|
| 682 |
+
-0.5625,
|
| 683 |
+
-0.4375,
|
| 684 |
+
-0.3125,
|
| 685 |
+
-0.5,
|
| 686 |
+
-0.0625,
|
| 687 |
+
-0.5,
|
| 688 |
+
-0.0625,
|
| 689 |
+
-0.1875,
|
| 690 |
+
-0.0625,
|
| 691 |
+
-0.25,
|
| 692 |
+
0.125,
|
| 693 |
+
-0.0625,
|
| 694 |
+
-0.0625,
|
| 695 |
+
-0.5,
|
| 696 |
+
-0.5625,
|
| 697 |
+
-0.5625,
|
| 698 |
+
-0.0625,
|
| 699 |
+
0.0,
|
| 700 |
+
-0.25,
|
| 701 |
+
-0.5625,
|
| 702 |
+
-0.1875,
|
| 703 |
+
-0.25,
|
| 704 |
+
-0.4375,
|
| 705 |
+
-0.1875,
|
| 706 |
+
0.0625,
|
| 707 |
+
-0.25,
|
| 708 |
+
-0.375,
|
| 709 |
+
-0.1875,
|
| 710 |
+
-0.3125,
|
| 711 |
+
-0.5,
|
| 712 |
+
0.0625,
|
| 713 |
+
-0.1875,
|
| 714 |
+
0.0625,
|
| 715 |
+
-0.375,
|
| 716 |
+
-0.375,
|
| 717 |
+
0.0625,
|
| 718 |
+
-0.1875,
|
| 719 |
+
-0.4375,
|
| 720 |
+
-0.1875,
|
| 721 |
+
-0.0625,
|
| 722 |
+
0.125,
|
| 723 |
+
-0.4375
|
| 724 |
+
],
|
| 725 |
+
"q99": [
|
| 726 |
+
0.0625,
|
| 727 |
+
0.0625,
|
| 728 |
+
0.1875,
|
| 729 |
+
0.0,
|
| 730 |
+
0.125,
|
| 731 |
+
0.0625,
|
| 732 |
+
0.375,
|
| 733 |
+
0.375,
|
| 734 |
+
0.1875,
|
| 735 |
+
0.0625,
|
| 736 |
+
0.0625,
|
| 737 |
+
-0.0625,
|
| 738 |
+
0.0625,
|
| 739 |
+
0.1875,
|
| 740 |
+
-0.125,
|
| 741 |
+
0.125,
|
| 742 |
+
0.125,
|
| 743 |
+
0.125,
|
| 744 |
+
0.0625,
|
| 745 |
+
-0.0625,
|
| 746 |
+
0.25,
|
| 747 |
+
0.0,
|
| 748 |
+
0.1875,
|
| 749 |
+
0.125,
|
| 750 |
+
0.0625,
|
| 751 |
+
0.0,
|
| 752 |
+
0.25,
|
| 753 |
+
0.125,
|
| 754 |
+
0.25,
|
| 755 |
+
0.3125,
|
| 756 |
+
0.3125,
|
| 757 |
+
0.0625,
|
| 758 |
+
0.375,
|
| 759 |
+
0.375,
|
| 760 |
+
0.4375,
|
| 761 |
+
0.5,
|
| 762 |
+
0.125,
|
| 763 |
+
-0.125,
|
| 764 |
+
0.3125,
|
| 765 |
+
0.25,
|
| 766 |
+
0.0625,
|
| 767 |
+
0.3125,
|
| 768 |
+
0.3125,
|
| 769 |
+
0.25,
|
| 770 |
+
-0.125,
|
| 771 |
+
0.125,
|
| 772 |
+
0.4375,
|
| 773 |
+
0.0,
|
| 774 |
+
0.1875,
|
| 775 |
+
0.125,
|
| 776 |
+
0.125,
|
| 777 |
+
0.125,
|
| 778 |
+
0.375,
|
| 779 |
+
0.1875,
|
| 780 |
+
0.5,
|
| 781 |
+
0.0625,
|
| 782 |
+
0.25,
|
| 783 |
+
0.5,
|
| 784 |
+
0.125,
|
| 785 |
+
0.1875,
|
| 786 |
+
0.25,
|
| 787 |
+
0.3125,
|
| 788 |
+
0.5,
|
| 789 |
+
0.0
|
| 790 |
+
]
|
| 791 |
+
},
|
| 792 |
+
"left_hand_joints": {
|
| 793 |
+
"min": [
|
| 794 |
+
0.0,
|
| 795 |
+
0.0,
|
| 796 |
+
0.0,
|
| 797 |
+
0.0,
|
| 798 |
+
0.0,
|
| 799 |
+
0.0,
|
| 800 |
+
0.0
|
| 801 |
+
],
|
| 802 |
+
"max": [
|
| 803 |
+
0.0,
|
| 804 |
+
0.0,
|
| 805 |
+
0.0,
|
| 806 |
+
0.0,
|
| 807 |
+
0.0,
|
| 808 |
+
0.0,
|
| 809 |
+
0.0
|
| 810 |
+
],
|
| 811 |
+
"mean": [
|
| 812 |
+
0.0,
|
| 813 |
+
0.0,
|
| 814 |
+
0.0,
|
| 815 |
+
0.0,
|
| 816 |
+
0.0,
|
| 817 |
+
0.0,
|
| 818 |
+
0.0
|
| 819 |
+
],
|
| 820 |
+
"std": [
|
| 821 |
+
0.0,
|
| 822 |
+
0.0,
|
| 823 |
+
0.0,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0
|
| 828 |
+
],
|
| 829 |
+
"q01": [
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
0.0,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0,
|
| 836 |
+
0.0
|
| 837 |
+
],
|
| 838 |
+
"q99": [
|
| 839 |
+
0.0,
|
| 840 |
+
0.0,
|
| 841 |
+
0.0,
|
| 842 |
+
0.0,
|
| 843 |
+
0.0,
|
| 844 |
+
0.0,
|
| 845 |
+
0.0
|
| 846 |
+
]
|
| 847 |
+
},
|
| 848 |
+
"right_hand_joints": {
|
| 849 |
+
"min": [
|
| 850 |
+
0.0,
|
| 851 |
+
0.0,
|
| 852 |
+
0.0,
|
| 853 |
+
0.0,
|
| 854 |
+
0.0,
|
| 855 |
+
0.0,
|
| 856 |
+
0.0
|
| 857 |
+
],
|
| 858 |
+
"max": [
|
| 859 |
+
0.0,
|
| 860 |
+
0.0,
|
| 861 |
+
0.0,
|
| 862 |
+
0.0,
|
| 863 |
+
0.0,
|
| 864 |
+
0.0,
|
| 865 |
+
0.0
|
| 866 |
+
],
|
| 867 |
+
"mean": [
|
| 868 |
+
0.0,
|
| 869 |
+
0.0,
|
| 870 |
+
0.0,
|
| 871 |
+
0.0,
|
| 872 |
+
0.0,
|
| 873 |
+
0.0,
|
| 874 |
+
0.0
|
| 875 |
+
],
|
| 876 |
+
"std": [
|
| 877 |
+
0.0,
|
| 878 |
+
0.0,
|
| 879 |
+
0.0,
|
| 880 |
+
0.0,
|
| 881 |
+
0.0,
|
| 882 |
+
0.0,
|
| 883 |
+
0.0
|
| 884 |
+
],
|
| 885 |
+
"q01": [
|
| 886 |
+
0.0,
|
| 887 |
+
0.0,
|
| 888 |
+
0.0,
|
| 889 |
+
0.0,
|
| 890 |
+
0.0,
|
| 891 |
+
0.0,
|
| 892 |
+
0.0
|
| 893 |
+
],
|
| 894 |
+
"q99": [
|
| 895 |
+
0.0,
|
| 896 |
+
0.0,
|
| 897 |
+
0.0,
|
| 898 |
+
0.0,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
0.0
|
| 902 |
+
]
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"relative_action": {}
|
| 906 |
+
}
|
| 907 |
+
}
|
checkpoint-2000/experiment_cfg/final_model_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "Gr00tN1d7",
|
| 3 |
+
"model_dtype": "bfloat16",
|
| 4 |
+
"model_name": "nvidia/Cosmos-Reason2-2B",
|
| 5 |
+
"backbone_model_type": "qwen",
|
| 6 |
+
"model_revision": null,
|
| 7 |
+
"tune_top_llm_layers": 0,
|
| 8 |
+
"backbone_embedding_dim": 2048,
|
| 9 |
+
"tune_llm": false,
|
| 10 |
+
"tune_visual": false,
|
| 11 |
+
"select_layer": 16,
|
| 12 |
+
"reproject_vision": false,
|
| 13 |
+
"use_flash_attention": true,
|
| 14 |
+
"load_bf16": false,
|
| 15 |
+
"backbone_trainable_params_fp32": true,
|
| 16 |
+
"extra_augmentation_config": null,
|
| 17 |
+
"apply_sincos_state_encoding": false,
|
| 18 |
+
"use_percentiles": true,
|
| 19 |
+
"use_relative_action": false,
|
| 20 |
+
"max_state_dim": 132,
|
| 21 |
+
"max_action_dim": 132,
|
| 22 |
+
"action_horizon": 40,
|
| 23 |
+
"hidden_size": 1024,
|
| 24 |
+
"input_embedding_dim": 1536,
|
| 25 |
+
"state_history_length": 1,
|
| 26 |
+
"add_pos_embed": true,
|
| 27 |
+
"attn_dropout": 0.2,
|
| 28 |
+
"use_vlln": true,
|
| 29 |
+
"max_seq_len": 1024,
|
| 30 |
+
"use_alternate_vl_dit": true,
|
| 31 |
+
"attend_text_every_n_blocks": 2,
|
| 32 |
+
"diffusion_model_cfg": {
|
| 33 |
+
"attention_head_dim": 48,
|
| 34 |
+
"dropout": 0.2,
|
| 35 |
+
"final_dropout": true,
|
| 36 |
+
"interleave_self_attention": true,
|
| 37 |
+
"norm_type": "ada_norm",
|
| 38 |
+
"num_attention_heads": 32,
|
| 39 |
+
"num_layers": 32,
|
| 40 |
+
"output_dim": 1024,
|
| 41 |
+
"positional_embeddings": null
|
| 42 |
+
},
|
| 43 |
+
"num_inference_timesteps": 4,
|
| 44 |
+
"noise_beta_alpha": 1.5,
|
| 45 |
+
"noise_beta_beta": 1.0,
|
| 46 |
+
"noise_s": 0.999,
|
| 47 |
+
"num_timestep_buckets": 1000,
|
| 48 |
+
"tune_projector": true,
|
| 49 |
+
"tune_diffusion_model": true,
|
| 50 |
+
"tune_vlln": true,
|
| 51 |
+
"state_dropout_prob": 0.2,
|
| 52 |
+
"exclude_state": false,
|
| 53 |
+
"use_mean_std": false,
|
| 54 |
+
"max_num_embodiments": 32
|
| 55 |
+
}
|
checkpoint-2000/experiment_cfg/final_processor_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-2000/global_step2000/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:349536f694bf42b257a9d0dfcd3fe48294731e7df08f332627380611f61c1c8f
|
| 3 |
+
size 4861568625
|
checkpoint-2000/global_step2000/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97c363db7728a7f574a243c2d7b1717f7902c88d8ec4146a64f365ad3f37dbdf
|
| 3 |
+
size 4861568369
|
checkpoint-2000/global_step2000/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6265c8f8ee19c9265b8a538e7a4837139aa86e8a4aa82bfed457de668852f075
|
| 3 |
+
size 4861566321
|
checkpoint-2000/global_step2000/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d0711224cd5820482e6b0a61653f6612c6936f174c8575c5fc2a375434df0cd
|
| 3 |
+
size 4861563121
|
checkpoint-2000/global_step2000/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c41f8928cc3c7b982d0b89f830b794f99ca3235e20dfc1f9d7e1646f6029e61
|
| 3 |
+
size 9335640879
|
checkpoint-2000/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step2000
|
checkpoint-2000/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e0a9b736b074e579f142481101ef2ceec3590a43a1a2b1883d2a0ebec2961f1
|
| 3 |
+
size 4990519232
|
checkpoint-2000/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25630e81fbb9b87bd65a00b2b94793a05d533999b47b5a7aaa453a82a9787293
|
| 3 |
+
size 1919980184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|
| 6 |
+
"video": {
|
| 7 |
+
"delta_indices": [
|
| 8 |
+
-20,
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"modality_keys": [
|
| 12 |
+
"ego_view"
|
| 13 |
+
],
|
| 14 |
+
"sin_cos_embedding_keys": null,
|
| 15 |
+
"mean_std_embedding_keys": null,
|
| 16 |
+
"action_configs": null
|
| 17 |
+
},
|
| 18 |
+
"state": {
|
| 19 |
+
"delta_indices": [
|
| 20 |
+
0
|
| 21 |
+
],
|
| 22 |
+
"modality_keys": [
|
| 23 |
+
"left_wrist_eef_9d",
|
| 24 |
+
"right_wrist_eef_9d",
|
| 25 |
+
"left_hand",
|
| 26 |
+
"right_hand",
|
| 27 |
+
"left_arm",
|
| 28 |
+
"right_arm",
|
| 29 |
+
"waist"
|
| 30 |
+
],
|
| 31 |
+
"sin_cos_embedding_keys": null,
|
| 32 |
+
"mean_std_embedding_keys": null,
|
| 33 |
+
"action_configs": null
|
| 34 |
+
},
|
| 35 |
+
"action": {
|
| 36 |
+
"delta_indices": [
|
| 37 |
+
0,
|
| 38 |
+
1,
|
| 39 |
+
2,
|
| 40 |
+
3,
|
| 41 |
+
4,
|
| 42 |
+
5,
|
| 43 |
+
6,
|
| 44 |
+
7,
|
| 45 |
+
8,
|
| 46 |
+
9,
|
| 47 |
+
10,
|
| 48 |
+
11,
|
| 49 |
+
12,
|
| 50 |
+
13,
|
| 51 |
+
14,
|
| 52 |
+
15,
|
| 53 |
+
16,
|
| 54 |
+
17,
|
| 55 |
+
18,
|
| 56 |
+
19,
|
| 57 |
+
20,
|
| 58 |
+
21,
|
| 59 |
+
22,
|
| 60 |
+
23,
|
| 61 |
+
24,
|
| 62 |
+
25,
|
| 63 |
+
26,
|
| 64 |
+
27,
|
| 65 |
+
28,
|
| 66 |
+
29,
|
| 67 |
+
30,
|
| 68 |
+
31,
|
| 69 |
+
32,
|
| 70 |
+
33,
|
| 71 |
+
34,
|
| 72 |
+
35,
|
| 73 |
+
36,
|
| 74 |
+
37,
|
| 75 |
+
38,
|
| 76 |
+
39
|
| 77 |
+
],
|
| 78 |
+
"modality_keys": [
|
| 79 |
+
"left_wrist_eef_9d",
|
| 80 |
+
"right_wrist_eef_9d",
|
| 81 |
+
"left_hand",
|
| 82 |
+
"right_hand",
|
| 83 |
+
"left_arm",
|
| 84 |
+
"right_arm",
|
| 85 |
+
"waist",
|
| 86 |
+
"base_height_command",
|
| 87 |
+
"navigate_command"
|
| 88 |
+
],
|
| 89 |
+
"sin_cos_embedding_keys": null,
|
| 90 |
+
"mean_std_embedding_keys": null,
|
| 91 |
+
"action_configs": [
|
| 92 |
+
{
|
| 93 |
+
"rep": "RELATIVE",
|
| 94 |
+
"type": "EEF",
|
| 95 |
+
"format": "XYZ_ROT6D",
|
| 96 |
+
"state_key": "left_wrist_eef_9d"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"rep": "RELATIVE",
|
| 100 |
+
"type": "EEF",
|
| 101 |
+
"format": "XYZ_ROT6D",
|
| 102 |
+
"state_key": "right_wrist_eef_9d"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"rep": "ABSOLUTE",
|
| 106 |
+
"type": "NON_EEF",
|
| 107 |
+
"format": "DEFAULT",
|
| 108 |
+
"state_key": "left_hand"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"rep": "ABSOLUTE",
|
| 112 |
+
"type": "NON_EEF",
|
| 113 |
+
"format": "DEFAULT",
|
| 114 |
+
"state_key": "right_hand"
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"rep": "RELATIVE",
|
| 118 |
+
"type": "NON_EEF",
|
| 119 |
+
"format": "DEFAULT",
|
| 120 |
+
"state_key": "left_arm"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"rep": "RELATIVE",
|
| 124 |
+
"type": "NON_EEF",
|
| 125 |
+
"format": "DEFAULT",
|
| 126 |
+
"state_key": "right_arm"
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"rep": "ABSOLUTE",
|
| 130 |
+
"type": "NON_EEF",
|
| 131 |
+
"format": "DEFAULT",
|
| 132 |
+
"state_key": "waist"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"rep": "ABSOLUTE",
|
| 136 |
+
"type": "NON_EEF",
|
| 137 |
+
"format": "DEFAULT",
|
| 138 |
+
"state_key": "base_height_command"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"rep": "ABSOLUTE",
|
| 142 |
+
"type": "NON_EEF",
|
| 143 |
+
"format": "DEFAULT",
|
| 144 |
+
"state_key": "navigate_command"
|
| 145 |
+
}
|
| 146 |
+
]
|
| 147 |
+
},
|
| 148 |
+
"language": {
|
| 149 |
+
"delta_indices": [
|
| 150 |
+
0
|
| 151 |
+
],
|
| 152 |
+
"modality_keys": [
|
| 153 |
+
"annotation.human.task_description"
|
| 154 |
+
],
|
| 155 |
+
"sin_cos_embedding_keys": null,
|
| 156 |
+
"mean_std_embedding_keys": null,
|
| 157 |
+
"action_configs": null
|
| 158 |
+
}
|
| 159 |
+
},
|
| 160 |
+
"real_r1_pro_sharpa_relative_eef_mecka": {
|
| 161 |
+
"video": {
|
| 162 |
+
"delta_indices": [
|
| 163 |
+
-30,
|
| 164 |
+
0
|
| 165 |
+
],
|
| 166 |
+
"modality_keys": [
|
| 167 |
+
"ego_view_cropratio_res320x240_freq30"
|
| 168 |
+
],
|
| 169 |
+
"sin_cos_embedding_keys": null,
|
| 170 |
+
"mean_std_embedding_keys": null,
|
| 171 |
+
"action_configs": null
|
| 172 |
+
},
|
| 173 |
+
"state": {
|
| 174 |
+
"delta_indices": [
|
| 175 |
+
0
|
| 176 |
+
],
|
| 177 |
+
"modality_keys": [
|
| 178 |
+
"left_wrist_eef",
|
| 179 |
+
"right_wrist_eef",
|
| 180 |
+
"left_hand_joints",
|
| 181 |
+
"right_hand_joints"
|
| 182 |
+
],
|
| 183 |
+
"sin_cos_embedding_keys": null,
|
| 184 |
+
"mean_std_embedding_keys": null,
|
| 185 |
+
"action_configs": null
|
| 186 |
+
},
|
| 187 |
+
"action": {
|
| 188 |
+
"delta_indices": [
|
| 189 |
+
0,
|
| 190 |
+
1,
|
| 191 |
+
2,
|
| 192 |
+
3,
|
| 193 |
+
4,
|
| 194 |
+
5,
|
| 195 |
+
6,
|
| 196 |
+
7,
|
| 197 |
+
8,
|
| 198 |
+
9,
|
| 199 |
+
10,
|
| 200 |
+
11,
|
| 201 |
+
12,
|
| 202 |
+
13,
|
| 203 |
+
14,
|
| 204 |
+
15,
|
| 205 |
+
16,
|
| 206 |
+
17,
|
| 207 |
+
18,
|
| 208 |
+
19,
|
| 209 |
+
20,
|
| 210 |
+
21,
|
| 211 |
+
22,
|
| 212 |
+
23,
|
| 213 |
+
24,
|
| 214 |
+
25,
|
| 215 |
+
26,
|
| 216 |
+
27,
|
| 217 |
+
28,
|
| 218 |
+
29,
|
| 219 |
+
30,
|
| 220 |
+
31,
|
| 221 |
+
32,
|
| 222 |
+
33,
|
| 223 |
+
34,
|
| 224 |
+
35,
|
| 225 |
+
36,
|
| 226 |
+
37,
|
| 227 |
+
38,
|
| 228 |
+
39
|
| 229 |
+
],
|
| 230 |
+
"modality_keys": [
|
| 231 |
+
"left_wrist_eef",
|
| 232 |
+
"right_wrist_eef",
|
| 233 |
+
"left_hand_joints",
|
| 234 |
+
"right_hand_joints"
|
| 235 |
+
],
|
| 236 |
+
"sin_cos_embedding_keys": null,
|
| 237 |
+
"mean_std_embedding_keys": null,
|
| 238 |
+
"action_configs": [
|
| 239 |
+
{
|
| 240 |
+
"rep": "RELATIVE",
|
| 241 |
+
"type": "EEF",
|
| 242 |
+
"format": "XYZ_ROT6D",
|
| 243 |
+
"state_key": "left_wrist_eef"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"rep": "RELATIVE",
|
| 247 |
+
"type": "EEF",
|
| 248 |
+
"format": "XYZ_ROT6D",
|
| 249 |
+
"state_key": "right_wrist_eef"
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"rep": "ABSOLUTE",
|
| 253 |
+
"type": "NON_EEF",
|
| 254 |
+
"format": "DEFAULT",
|
| 255 |
+
"state_key": "left_hand_joints"
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"rep": "ABSOLUTE",
|
| 259 |
+
"type": "NON_EEF",
|
| 260 |
+
"format": "DEFAULT",
|
| 261 |
+
"state_key": "right_hand_joints"
|
| 262 |
+
}
|
| 263 |
+
]
|
| 264 |
+
},
|
| 265 |
+
"language": {
|
| 266 |
+
"delta_indices": [
|
| 267 |
+
0
|
| 268 |
+
],
|
| 269 |
+
"modality_keys": [
|
| 270 |
+
"annotation.human.coarse_action"
|
| 271 |
+
],
|
| 272 |
+
"sin_cos_embedding_keys": null,
|
| 273 |
+
"mean_std_embedding_keys": null,
|
| 274 |
+
"action_configs": null
|
| 275 |
+
}
|
| 276 |
+
},
|
| 277 |
+
"real_r1_pro_sharpa_relative_eef_human": {
|
| 278 |
+
"video": {
|
| 279 |
+
"delta_indices": [
|
| 280 |
+
-20,
|
| 281 |
+
0
|
| 282 |
+
],
|
| 283 |
+
"modality_keys": [
|
| 284 |
+
"ego_view_res320x240_freq20",
|
| 285 |
+
"left_wrist_view_res320x240_freq20",
|
| 286 |
+
"right_wrist_view_res320x240_freq20"
|
| 287 |
+
],
|
| 288 |
+
"sin_cos_embedding_keys": null,
|
| 289 |
+
"mean_std_embedding_keys": null,
|
| 290 |
+
"action_configs": null
|
| 291 |
+
},
|
| 292 |
+
"state": {
|
| 293 |
+
"delta_indices": [
|
| 294 |
+
0
|
| 295 |
+
],
|
| 296 |
+
"modality_keys": [
|
| 297 |
+
"left_wrist_eef",
|
| 298 |
+
"right_wrist_eef",
|
| 299 |
+
"left_hand_joints",
|
| 300 |
+
"right_hand_joints"
|
| 301 |
+
],
|
| 302 |
+
"sin_cos_embedding_keys": null,
|
| 303 |
+
"mean_std_embedding_keys": null,
|
| 304 |
+
"action_configs": null
|
| 305 |
+
},
|
| 306 |
+
"action": {
|
| 307 |
+
"delta_indices": [
|
| 308 |
+
0,
|
| 309 |
+
1,
|
| 310 |
+
2,
|
| 311 |
+
3,
|
| 312 |
+
4,
|
| 313 |
+
5,
|
| 314 |
+
6,
|
| 315 |
+
7,
|
| 316 |
+
8,
|
| 317 |
+
9,
|
| 318 |
+
10,
|
| 319 |
+
11,
|
| 320 |
+
12,
|
| 321 |
+
13,
|
| 322 |
+
14,
|
| 323 |
+
15,
|
| 324 |
+
16,
|
| 325 |
+
17,
|
| 326 |
+
18,
|
| 327 |
+
19,
|
| 328 |
+
20,
|
| 329 |
+
21,
|
| 330 |
+
22,
|
| 331 |
+
23,
|
| 332 |
+
24,
|
| 333 |
+
25,
|
| 334 |
+
26,
|
| 335 |
+
27,
|
| 336 |
+
28,
|
| 337 |
+
29,
|
| 338 |
+
30,
|
| 339 |
+
31,
|
| 340 |
+
32,
|
| 341 |
+
33,
|
| 342 |
+
34,
|
| 343 |
+
35,
|
| 344 |
+
36,
|
| 345 |
+
37,
|
| 346 |
+
38,
|
| 347 |
+
39
|
| 348 |
+
],
|
| 349 |
+
"modality_keys": [
|
| 350 |
+
"left_wrist_eef",
|
| 351 |
+
"right_wrist_eef",
|
| 352 |
+
"left_hand_joints",
|
| 353 |
+
"right_hand_joints"
|
| 354 |
+
],
|
| 355 |
+
"sin_cos_embedding_keys": null,
|
| 356 |
+
"mean_std_embedding_keys": null,
|
| 357 |
+
"action_configs": [
|
| 358 |
+
{
|
| 359 |
+
"rep": "RELATIVE",
|
| 360 |
+
"type": "EEF",
|
| 361 |
+
"format": "XYZ_ROT6D",
|
| 362 |
+
"state_key": "left_wrist_eef"
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"rep": "RELATIVE",
|
| 366 |
+
"type": "EEF",
|
| 367 |
+
"format": "XYZ_ROT6D",
|
| 368 |
+
"state_key": "right_wrist_eef"
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"rep": "ABSOLUTE",
|
| 372 |
+
"type": "NON_EEF",
|
| 373 |
+
"format": "DEFAULT",
|
| 374 |
+
"state_key": "left_hand_joints"
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"rep": "ABSOLUTE",
|
| 378 |
+
"type": "NON_EEF",
|
| 379 |
+
"format": "DEFAULT",
|
| 380 |
+
"state_key": "right_hand_joints"
|
| 381 |
+
}
|
| 382 |
+
]
|
| 383 |
+
},
|
| 384 |
+
"language": {
|
| 385 |
+
"delta_indices": [
|
| 386 |
+
0
|
| 387 |
+
],
|
| 388 |
+
"modality_keys": [
|
| 389 |
+
"annotation.human.coarse_action"
|
| 390 |
+
],
|
| 391 |
+
"sin_cos_embedding_keys": null,
|
| 392 |
+
"mean_std_embedding_keys": null,
|
| 393 |
+
"action_configs": null
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
"real_r1_pro_sharpa_relative_eef": {
|
| 397 |
+
"video": {
|
| 398 |
+
"delta_indices": [
|
| 399 |
+
-20,
|
| 400 |
+
0
|
| 401 |
+
],
|
| 402 |
+
"modality_keys": [
|
| 403 |
+
"ego_view_res320x240_freq20",
|
| 404 |
+
"left_wrist_view_res320x240_freq20",
|
| 405 |
+
"right_wrist_view_res320x240_freq20"
|
| 406 |
+
],
|
| 407 |
+
"sin_cos_embedding_keys": null,
|
| 408 |
+
"mean_std_embedding_keys": null,
|
| 409 |
+
"action_configs": null
|
| 410 |
+
},
|
| 411 |
+
"state": {
|
| 412 |
+
"delta_indices": [
|
| 413 |
+
0
|
| 414 |
+
],
|
| 415 |
+
"modality_keys": [
|
| 416 |
+
"left_wrist_eef",
|
| 417 |
+
"right_wrist_eef",
|
| 418 |
+
"left_hand_joints",
|
| 419 |
+
"right_hand_joints"
|
| 420 |
+
],
|
| 421 |
+
"sin_cos_embedding_keys": null,
|
| 422 |
+
"mean_std_embedding_keys": null,
|
| 423 |
+
"action_configs": null
|
| 424 |
+
},
|
| 425 |
+
"action": {
|
| 426 |
+
"delta_indices": [
|
| 427 |
+
0,
|
| 428 |
+
1,
|
| 429 |
+
2,
|
| 430 |
+
3,
|
| 431 |
+
4,
|
| 432 |
+
5,
|
| 433 |
+
6,
|
| 434 |
+
7,
|
| 435 |
+
8,
|
| 436 |
+
9,
|
| 437 |
+
10,
|
| 438 |
+
11,
|
| 439 |
+
12,
|
| 440 |
+
13,
|
| 441 |
+
14,
|
| 442 |
+
15,
|
| 443 |
+
16,
|
| 444 |
+
17,
|
| 445 |
+
18,
|
| 446 |
+
19,
|
| 447 |
+
20,
|
| 448 |
+
21,
|
| 449 |
+
22,
|
| 450 |
+
23,
|
| 451 |
+
24,
|
| 452 |
+
25,
|
| 453 |
+
26,
|
| 454 |
+
27,
|
| 455 |
+
28,
|
| 456 |
+
29,
|
| 457 |
+
30,
|
| 458 |
+
31,
|
| 459 |
+
32,
|
| 460 |
+
33,
|
| 461 |
+
34,
|
| 462 |
+
35,
|
| 463 |
+
36,
|
| 464 |
+
37,
|
| 465 |
+
38,
|
| 466 |
+
39
|
| 467 |
+
],
|
| 468 |
+
"modality_keys": [
|
| 469 |
+
"left_wrist_eef",
|
| 470 |
+
"right_wrist_eef",
|
| 471 |
+
"left_hand_joints",
|
| 472 |
+
"right_hand_joints"
|
| 473 |
+
],
|
| 474 |
+
"sin_cos_embedding_keys": null,
|
| 475 |
+
"mean_std_embedding_keys": null,
|
| 476 |
+
"action_configs": [
|
| 477 |
+
{
|
| 478 |
+
"rep": "RELATIVE",
|
| 479 |
+
"type": "EEF",
|
| 480 |
+
"format": "XYZ_ROT6D",
|
| 481 |
+
"state_key": "left_wrist_eef"
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"rep": "RELATIVE",
|
| 485 |
+
"type": "EEF",
|
| 486 |
+
"format": "XYZ_ROT6D",
|
| 487 |
+
"state_key": "right_wrist_eef"
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"rep": "ABSOLUTE",
|
| 491 |
+
"type": "NON_EEF",
|
| 492 |
+
"format": "DEFAULT",
|
| 493 |
+
"state_key": "left_hand_joints"
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"rep": "ABSOLUTE",
|
| 497 |
+
"type": "NON_EEF",
|
| 498 |
+
"format": "DEFAULT",
|
| 499 |
+
"state_key": "right_hand_joints"
|
| 500 |
+
}
|
| 501 |
+
]
|
| 502 |
+
},
|
| 503 |
+
"language": {
|
| 504 |
+
"delta_indices": [
|
| 505 |
+
0
|
| 506 |
+
],
|
| 507 |
+
"modality_keys": [
|
| 508 |
+
"annotation.human.coarse_action"
|
| 509 |
+
],
|
| 510 |
+
"sin_cos_embedding_keys": null,
|
| 511 |
+
"mean_std_embedding_keys": null,
|
| 512 |
+
"action_configs": null
|
| 513 |
+
}
|
| 514 |
+
},
|
| 515 |
+
"xdof_relative_eef_relative_joint": {
|
| 516 |
+
"video": {
|
| 517 |
+
"delta_indices": [
|
| 518 |
+
-30,
|
| 519 |
+
0
|
| 520 |
+
],
|
| 521 |
+
"modality_keys": [
|
| 522 |
+
"top_camera-images-rgb_320_240",
|
| 523 |
+
"left_camera-images-rgb_320_240",
|
| 524 |
+
"right_camera-images-rgb_320_240"
|
| 525 |
+
],
|
| 526 |
+
"sin_cos_embedding_keys": null,
|
| 527 |
+
"mean_std_embedding_keys": null,
|
| 528 |
+
"action_configs": null
|
| 529 |
+
},
|
| 530 |
+
"state": {
|
| 531 |
+
"delta_indices": [
|
| 532 |
+
0
|
| 533 |
+
],
|
| 534 |
+
"modality_keys": [
|
| 535 |
+
"left_wrist_eef",
|
| 536 |
+
"right_wrist_eef",
|
| 537 |
+
"left_gripper_pos",
|
| 538 |
+
"right_gripper_pos",
|
| 539 |
+
"left_joint_pos",
|
| 540 |
+
"right_joint_pos"
|
| 541 |
+
],
|
| 542 |
+
"sin_cos_embedding_keys": null,
|
| 543 |
+
"mean_std_embedding_keys": null,
|
| 544 |
+
"action_configs": null
|
| 545 |
+
},
|
| 546 |
+
"action": {
|
| 547 |
+
"delta_indices": [
|
| 548 |
+
0,
|
| 549 |
+
1,
|
| 550 |
+
2,
|
| 551 |
+
3,
|
| 552 |
+
4,
|
| 553 |
+
5,
|
| 554 |
+
6,
|
| 555 |
+
7,
|
| 556 |
+
8,
|
| 557 |
+
9,
|
| 558 |
+
10,
|
| 559 |
+
11,
|
| 560 |
+
12,
|
| 561 |
+
13,
|
| 562 |
+
14,
|
| 563 |
+
15,
|
| 564 |
+
16,
|
| 565 |
+
17,
|
| 566 |
+
18,
|
| 567 |
+
19,
|
| 568 |
+
20,
|
| 569 |
+
21,
|
| 570 |
+
22,
|
| 571 |
+
23,
|
| 572 |
+
24,
|
| 573 |
+
25,
|
| 574 |
+
26,
|
| 575 |
+
27,
|
| 576 |
+
28,
|
| 577 |
+
29,
|
| 578 |
+
30,
|
| 579 |
+
31,
|
| 580 |
+
32,
|
| 581 |
+
33,
|
| 582 |
+
34,
|
| 583 |
+
35,
|
| 584 |
+
36,
|
| 585 |
+
37,
|
| 586 |
+
38,
|
| 587 |
+
39
|
| 588 |
+
],
|
| 589 |
+
"modality_keys": [
|
| 590 |
+
"left_wrist_eef",
|
| 591 |
+
"right_wrist_eef",
|
| 592 |
+
"left_gripper_pos",
|
| 593 |
+
"right_gripper_pos",
|
| 594 |
+
"left_joint_pos",
|
| 595 |
+
"right_joint_pos"
|
| 596 |
+
],
|
| 597 |
+
"sin_cos_embedding_keys": null,
|
| 598 |
+
"mean_std_embedding_keys": null,
|
| 599 |
+
"action_configs": [
|
| 600 |
+
{
|
| 601 |
+
"rep": "RELATIVE",
|
| 602 |
+
"type": "EEF",
|
| 603 |
+
"format": "XYZ_ROT6D",
|
| 604 |
+
"state_key": "left_wrist_eef"
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"rep": "RELATIVE",
|
| 608 |
+
"type": "EEF",
|
| 609 |
+
"format": "XYZ_ROT6D",
|
| 610 |
+
"state_key": "right_wrist_eef"
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"rep": "ABSOLUTE",
|
| 614 |
+
"type": "NON_EEF",
|
| 615 |
+
"format": "DEFAULT",
|
| 616 |
+
"state_key": "left_gripper_pos"
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"rep": "ABSOLUTE",
|
| 620 |
+
"type": "NON_EEF",
|
| 621 |
+
"format": "DEFAULT",
|
| 622 |
+
"state_key": "right_gripper_pos"
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"rep": "RELATIVE",
|
| 626 |
+
"type": "NON_EEF",
|
| 627 |
+
"format": "DEFAULT",
|
| 628 |
+
"state_key": "left_joint_pos"
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"rep": "RELATIVE",
|
| 632 |
+
"type": "NON_EEF",
|
| 633 |
+
"format": "DEFAULT",
|
| 634 |
+
"state_key": "right_joint_pos"
|
| 635 |
+
}
|
| 636 |
+
]
|
| 637 |
+
},
|
| 638 |
+
"language": {
|
| 639 |
+
"delta_indices": [
|
| 640 |
+
0
|
| 641 |
+
],
|
| 642 |
+
"modality_keys": [
|
| 643 |
+
"annotation.task"
|
| 644 |
+
],
|
| 645 |
+
"sin_cos_embedding_keys": null,
|
| 646 |
+
"mean_std_embedding_keys": null,
|
| 647 |
+
"action_configs": null
|
| 648 |
+
}
|
| 649 |
+
},
|
| 650 |
+
"real_r1_pro_sharpa_relative_eef_maxinsights": {
|
| 651 |
+
"video": {
|
| 652 |
+
"delta_indices": [
|
| 653 |
+
-30,
|
| 654 |
+
0
|
| 655 |
+
],
|
| 656 |
+
"modality_keys": [
|
| 657 |
+
"ego_view_cropratio_res320x240_freq30"
|
| 658 |
+
],
|
| 659 |
+
"sin_cos_embedding_keys": null,
|
| 660 |
+
"mean_std_embedding_keys": null,
|
| 661 |
+
"action_configs": null
|
| 662 |
+
},
|
| 663 |
+
"state": {
|
| 664 |
+
"delta_indices": [
|
| 665 |
+
0
|
| 666 |
+
],
|
| 667 |
+
"modality_keys": [
|
| 668 |
+
"left_wrist_eef",
|
| 669 |
+
"right_wrist_eef",
|
| 670 |
+
"left_hand_joints",
|
| 671 |
+
"right_hand_joints"
|
| 672 |
+
],
|
| 673 |
+
"sin_cos_embedding_keys": null,
|
| 674 |
+
"mean_std_embedding_keys": null,
|
| 675 |
+
"action_configs": null
|
| 676 |
+
},
|
| 677 |
+
"action": {
|
| 678 |
+
"delta_indices": [
|
| 679 |
+
0,
|
| 680 |
+
1,
|
| 681 |
+
2,
|
| 682 |
+
3,
|
| 683 |
+
4,
|
| 684 |
+
5,
|
| 685 |
+
6,
|
| 686 |
+
7,
|
| 687 |
+
8,
|
| 688 |
+
9,
|
| 689 |
+
10,
|
| 690 |
+
11,
|
| 691 |
+
12,
|
| 692 |
+
13,
|
| 693 |
+
14,
|
| 694 |
+
15,
|
| 695 |
+
16,
|
| 696 |
+
17,
|
| 697 |
+
18,
|
| 698 |
+
19,
|
| 699 |
+
20,
|
| 700 |
+
21,
|
| 701 |
+
22,
|
| 702 |
+
23,
|
| 703 |
+
24,
|
| 704 |
+
25,
|
| 705 |
+
26,
|
| 706 |
+
27,
|
| 707 |
+
28,
|
| 708 |
+
29,
|
| 709 |
+
30,
|
| 710 |
+
31,
|
| 711 |
+
32,
|
| 712 |
+
33,
|
| 713 |
+
34,
|
| 714 |
+
35,
|
| 715 |
+
36,
|
| 716 |
+
37,
|
| 717 |
+
38,
|
| 718 |
+
39
|
| 719 |
+
],
|
| 720 |
+
"modality_keys": [
|
| 721 |
+
"left_wrist_eef",
|
| 722 |
+
"right_wrist_eef",
|
| 723 |
+
"left_hand_joints",
|
| 724 |
+
"right_hand_joints"
|
| 725 |
+
],
|
| 726 |
+
"sin_cos_embedding_keys": null,
|
| 727 |
+
"mean_std_embedding_keys": null,
|
| 728 |
+
"action_configs": [
|
| 729 |
+
{
|
| 730 |
+
"rep": "RELATIVE",
|
| 731 |
+
"type": "EEF",
|
| 732 |
+
"format": "XYZ_ROT6D",
|
| 733 |
+
"state_key": "left_wrist_eef"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"rep": "RELATIVE",
|
| 737 |
+
"type": "EEF",
|
| 738 |
+
"format": "XYZ_ROT6D",
|
| 739 |
+
"state_key": "right_wrist_eef"
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"rep": "ABSOLUTE",
|
| 743 |
+
"type": "NON_EEF",
|
| 744 |
+
"format": "DEFAULT",
|
| 745 |
+
"state_key": "left_hand_joints"
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"rep": "ABSOLUTE",
|
| 749 |
+
"type": "NON_EEF",
|
| 750 |
+
"format": "DEFAULT",
|
| 751 |
+
"state_key": "right_hand_joints"
|
| 752 |
+
}
|
| 753 |
+
]
|
| 754 |
+
},
|
| 755 |
+
"language": {
|
| 756 |
+
"delta_indices": [
|
| 757 |
+
0
|
| 758 |
+
],
|
| 759 |
+
"modality_keys": [
|
| 760 |
+
"annotation.human.coarse_action"
|
| 761 |
+
],
|
| 762 |
+
"sin_cos_embedding_keys": null,
|
| 763 |
+
"mean_std_embedding_keys": null,
|
| 764 |
+
"action_configs": null
|
| 765 |
+
}
|
| 766 |
+
},
|
| 767 |
+
"xdof_relative_eef_relative_joint_subtask": {
|
| 768 |
+
"video": {
|
| 769 |
+
"delta_indices": [
|
| 770 |
+
-30,
|
| 771 |
+
0
|
| 772 |
+
],
|
| 773 |
+
"modality_keys": [
|
| 774 |
+
"top_camera-images-rgb_320_240",
|
| 775 |
+
"left_camera-images-rgb_320_240",
|
| 776 |
+
"right_camera-images-rgb_320_240"
|
| 777 |
+
],
|
| 778 |
+
"sin_cos_embedding_keys": null,
|
| 779 |
+
"mean_std_embedding_keys": null,
|
| 780 |
+
"action_configs": null
|
| 781 |
+
},
|
| 782 |
+
"state": {
|
| 783 |
+
"delta_indices": [
|
| 784 |
+
0
|
| 785 |
+
],
|
| 786 |
+
"modality_keys": [
|
| 787 |
+
"left_wrist_eef",
|
| 788 |
+
"right_wrist_eef",
|
| 789 |
+
"left_gripper_pos",
|
| 790 |
+
"right_gripper_pos",
|
| 791 |
+
"left_joint_pos",
|
| 792 |
+
"right_joint_pos"
|
| 793 |
+
],
|
| 794 |
+
"sin_cos_embedding_keys": null,
|
| 795 |
+
"mean_std_embedding_keys": null,
|
| 796 |
+
"action_configs": null
|
| 797 |
+
},
|
| 798 |
+
"action": {
|
| 799 |
+
"delta_indices": [
|
| 800 |
+
0,
|
| 801 |
+
1,
|
| 802 |
+
2,
|
| 803 |
+
3,
|
| 804 |
+
4,
|
| 805 |
+
5,
|
| 806 |
+
6,
|
| 807 |
+
7,
|
| 808 |
+
8,
|
| 809 |
+
9,
|
| 810 |
+
10,
|
| 811 |
+
11,
|
| 812 |
+
12,
|
| 813 |
+
13,
|
| 814 |
+
14,
|
| 815 |
+
15,
|
| 816 |
+
16,
|
| 817 |
+
17,
|
| 818 |
+
18,
|
| 819 |
+
19,
|
| 820 |
+
20,
|
| 821 |
+
21,
|
| 822 |
+
22,
|
| 823 |
+
23,
|
| 824 |
+
24,
|
| 825 |
+
25,
|
| 826 |
+
26,
|
| 827 |
+
27,
|
| 828 |
+
28,
|
| 829 |
+
29,
|
| 830 |
+
30,
|
| 831 |
+
31,
|
| 832 |
+
32,
|
| 833 |
+
33,
|
| 834 |
+
34,
|
| 835 |
+
35,
|
| 836 |
+
36,
|
| 837 |
+
37,
|
| 838 |
+
38,
|
| 839 |
+
39
|
| 840 |
+
],
|
| 841 |
+
"modality_keys": [
|
| 842 |
+
"left_wrist_eef",
|
| 843 |
+
"right_wrist_eef",
|
| 844 |
+
"left_gripper_pos",
|
| 845 |
+
"right_gripper_pos",
|
| 846 |
+
"left_joint_pos",
|
| 847 |
+
"right_joint_pos"
|
| 848 |
+
],
|
| 849 |
+
"sin_cos_embedding_keys": null,
|
| 850 |
+
"mean_std_embedding_keys": null,
|
| 851 |
+
"action_configs": [
|
| 852 |
+
{
|
| 853 |
+
"rep": "RELATIVE",
|
| 854 |
+
"type": "EEF",
|
| 855 |
+
"format": "XYZ_ROT6D",
|
| 856 |
+
"state_key": "left_wrist_eef"
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"rep": "RELATIVE",
|
| 860 |
+
"type": "EEF",
|
| 861 |
+
"format": "XYZ_ROT6D",
|
| 862 |
+
"state_key": "right_wrist_eef"
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"rep": "ABSOLUTE",
|
| 866 |
+
"type": "NON_EEF",
|
| 867 |
+
"format": "DEFAULT",
|
| 868 |
+
"state_key": "left_gripper_pos"
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"rep": "ABSOLUTE",
|
| 872 |
+
"type": "NON_EEF",
|
| 873 |
+
"format": "DEFAULT",
|
| 874 |
+
"state_key": "right_gripper_pos"
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"rep": "RELATIVE",
|
| 878 |
+
"type": "NON_EEF",
|
| 879 |
+
"format": "DEFAULT",
|
| 880 |
+
"state_key": "left_joint_pos"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"rep": "RELATIVE",
|
| 884 |
+
"type": "NON_EEF",
|
| 885 |
+
"format": "DEFAULT",
|
| 886 |
+
"state_key": "right_joint_pos"
|
| 887 |
+
}
|
| 888 |
+
]
|
| 889 |
+
},
|
| 890 |
+
"language": {
|
| 891 |
+
"delta_indices": [
|
| 892 |
+
0
|
| 893 |
+
],
|
| 894 |
+
"modality_keys": [
|
| 895 |
+
"annotation.sub_task"
|
| 896 |
+
],
|
| 897 |
+
"sin_cos_embedding_keys": null,
|
| 898 |
+
"mean_std_embedding_keys": null,
|
| 899 |
+
"action_configs": null
|
| 900 |
+
}
|
| 901 |
+
},
|
| 902 |
+
"oxe_droid_relative_eef_relative_joint": {
|
| 903 |
+
"video": {
|
| 904 |
+
"delta_indices": [
|
| 905 |
+
-15,
|
| 906 |
+
0
|
| 907 |
+
],
|
| 908 |
+
"modality_keys": [
|
| 909 |
+
"exterior_image_1_left",
|
| 910 |
+
"wrist_image_left"
|
| 911 |
+
],
|
| 912 |
+
"sin_cos_embedding_keys": null,
|
| 913 |
+
"mean_std_embedding_keys": null,
|
| 914 |
+
"action_configs": null
|
| 915 |
+
},
|
| 916 |
+
"state": {
|
| 917 |
+
"delta_indices": [
|
| 918 |
+
0
|
| 919 |
+
],
|
| 920 |
+
"modality_keys": [
|
| 921 |
+
"eef_9d",
|
| 922 |
+
"gripper_position",
|
| 923 |
+
"joint_position"
|
| 924 |
+
],
|
| 925 |
+
"sin_cos_embedding_keys": null,
|
| 926 |
+
"mean_std_embedding_keys": null,
|
| 927 |
+
"action_configs": null
|
| 928 |
+
},
|
| 929 |
+
"action": {
|
| 930 |
+
"delta_indices": [
|
| 931 |
+
0,
|
| 932 |
+
1,
|
| 933 |
+
2,
|
| 934 |
+
3,
|
| 935 |
+
4,
|
| 936 |
+
5,
|
| 937 |
+
6,
|
| 938 |
+
7,
|
| 939 |
+
8,
|
| 940 |
+
9,
|
| 941 |
+
10,
|
| 942 |
+
11,
|
| 943 |
+
12,
|
| 944 |
+
13,
|
| 945 |
+
14,
|
| 946 |
+
15,
|
| 947 |
+
16,
|
| 948 |
+
17,
|
| 949 |
+
18,
|
| 950 |
+
19,
|
| 951 |
+
20,
|
| 952 |
+
21,
|
| 953 |
+
22,
|
| 954 |
+
23,
|
| 955 |
+
24,
|
| 956 |
+
25,
|
| 957 |
+
26,
|
| 958 |
+
27,
|
| 959 |
+
28,
|
| 960 |
+
29,
|
| 961 |
+
30,
|
| 962 |
+
31,
|
| 963 |
+
32,
|
| 964 |
+
33,
|
| 965 |
+
34,
|
| 966 |
+
35,
|
| 967 |
+
36,
|
| 968 |
+
37,
|
| 969 |
+
38,
|
| 970 |
+
39
|
| 971 |
+
],
|
| 972 |
+
"modality_keys": [
|
| 973 |
+
"eef_9d",
|
| 974 |
+
"gripper_position",
|
| 975 |
+
"joint_position"
|
| 976 |
+
],
|
| 977 |
+
"sin_cos_embedding_keys": null,
|
| 978 |
+
"mean_std_embedding_keys": null,
|
| 979 |
+
"action_configs": [
|
| 980 |
+
{
|
| 981 |
+
"rep": "RELATIVE",
|
| 982 |
+
"type": "EEF",
|
| 983 |
+
"format": "XYZ_ROT6D",
|
| 984 |
+
"state_key": "eef_9d"
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"rep": "ABSOLUTE",
|
| 988 |
+
"type": "NON_EEF",
|
| 989 |
+
"format": "DEFAULT",
|
| 990 |
+
"state_key": "gripper_position"
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"rep": "RELATIVE",
|
| 994 |
+
"type": "NON_EEF",
|
| 995 |
+
"format": "DEFAULT",
|
| 996 |
+
"state_key": "joint_position"
|
| 997 |
+
}
|
| 998 |
+
]
|
| 999 |
+
},
|
| 1000 |
+
"language": {
|
| 1001 |
+
"delta_indices": [
|
| 1002 |
+
0
|
| 1003 |
+
],
|
| 1004 |
+
"modality_keys": [
|
| 1005 |
+
"annotation.language.language_instruction"
|
| 1006 |
+
],
|
| 1007 |
+
"sin_cos_embedding_keys": null,
|
| 1008 |
+
"mean_std_embedding_keys": null,
|
| 1009 |
+
"action_configs": null
|
| 1010 |
+
}
|
| 1011 |
+
},
|
| 1012 |
+
"unitree_g1_sonic": {
|
| 1013 |
+
"video": {
|
| 1014 |
+
"delta_indices": [
|
| 1015 |
+
0
|
| 1016 |
+
],
|
| 1017 |
+
"modality_keys": [
|
| 1018 |
+
"ego_view"
|
| 1019 |
+
],
|
| 1020 |
+
"sin_cos_embedding_keys": null,
|
| 1021 |
+
"mean_std_embedding_keys": null,
|
| 1022 |
+
"action_configs": null
|
| 1023 |
+
},
|
| 1024 |
+
"state": {
|
| 1025 |
+
"delta_indices": [
|
| 1026 |
+
0
|
| 1027 |
+
],
|
| 1028 |
+
"modality_keys": [
|
| 1029 |
+
"left_leg",
|
| 1030 |
+
"right_leg",
|
| 1031 |
+
"waist",
|
| 1032 |
+
"left_arm",
|
| 1033 |
+
"right_arm",
|
| 1034 |
+
"left_hand",
|
| 1035 |
+
"right_hand",
|
| 1036 |
+
"projected_gravity"
|
| 1037 |
+
],
|
| 1038 |
+
"sin_cos_embedding_keys": null,
|
| 1039 |
+
"mean_std_embedding_keys": null,
|
| 1040 |
+
"action_configs": null
|
| 1041 |
+
},
|
| 1042 |
+
"action": {
|
| 1043 |
+
"delta_indices": [
|
| 1044 |
+
0,
|
| 1045 |
+
1,
|
| 1046 |
+
2,
|
| 1047 |
+
3,
|
| 1048 |
+
4,
|
| 1049 |
+
5,
|
| 1050 |
+
6,
|
| 1051 |
+
7,
|
| 1052 |
+
8,
|
| 1053 |
+
9,
|
| 1054 |
+
10,
|
| 1055 |
+
11,
|
| 1056 |
+
12,
|
| 1057 |
+
13,
|
| 1058 |
+
14,
|
| 1059 |
+
15,
|
| 1060 |
+
16,
|
| 1061 |
+
17,
|
| 1062 |
+
18,
|
| 1063 |
+
19,
|
| 1064 |
+
20,
|
| 1065 |
+
21,
|
| 1066 |
+
22,
|
| 1067 |
+
23,
|
| 1068 |
+
24,
|
| 1069 |
+
25,
|
| 1070 |
+
26,
|
| 1071 |
+
27,
|
| 1072 |
+
28,
|
| 1073 |
+
29,
|
| 1074 |
+
30,
|
| 1075 |
+
31,
|
| 1076 |
+
32,
|
| 1077 |
+
33,
|
| 1078 |
+
34,
|
| 1079 |
+
35,
|
| 1080 |
+
36,
|
| 1081 |
+
37,
|
| 1082 |
+
38,
|
| 1083 |
+
39
|
| 1084 |
+
],
|
| 1085 |
+
"modality_keys": [
|
| 1086 |
+
"motion_token",
|
| 1087 |
+
"left_hand_joints",
|
| 1088 |
+
"right_hand_joints"
|
| 1089 |
+
],
|
| 1090 |
+
"sin_cos_embedding_keys": null,
|
| 1091 |
+
"mean_std_embedding_keys": null,
|
| 1092 |
+
"action_configs": [
|
| 1093 |
+
{
|
| 1094 |
+
"rep": "ABSOLUTE",
|
| 1095 |
+
"type": "NON_EEF",
|
| 1096 |
+
"format": "DEFAULT",
|
| 1097 |
+
"state_key": null
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"rep": "ABSOLUTE",
|
| 1101 |
+
"type": "NON_EEF",
|
| 1102 |
+
"format": "DEFAULT",
|
| 1103 |
+
"state_key": null
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"rep": "ABSOLUTE",
|
| 1107 |
+
"type": "NON_EEF",
|
| 1108 |
+
"format": "DEFAULT",
|
| 1109 |
+
"state_key": null
|
| 1110 |
+
}
|
| 1111 |
+
]
|
| 1112 |
+
},
|
| 1113 |
+
"language": {
|
| 1114 |
+
"delta_indices": [
|
| 1115 |
+
0
|
| 1116 |
+
],
|
| 1117 |
+
"modality_keys": [
|
| 1118 |
+
"annotation.human.task_description"
|
| 1119 |
+
],
|
| 1120 |
+
"sin_cos_embedding_keys": null,
|
| 1121 |
+
"mean_std_embedding_keys": null,
|
| 1122 |
+
"action_configs": null
|
| 1123 |
+
}
|
| 1124 |
+
}
|
| 1125 |
+
},
|
| 1126 |
+
"image_crop_size": [
|
| 1127 |
+
230,
|
| 1128 |
+
230
|
| 1129 |
+
],
|
| 1130 |
+
"image_target_size": [
|
| 1131 |
+
256,
|
| 1132 |
+
256
|
| 1133 |
+
],
|
| 1134 |
+
"use_albumentations": true,
|
| 1135 |
+
"random_rotation_angle": 0,
|
| 1136 |
+
"color_jitter_params": {
|
| 1137 |
+
"brightness": 0.3,
|
| 1138 |
+
"contrast": 0.4,
|
| 1139 |
+
"saturation": 0.5,
|
| 1140 |
+
"hue": 0.08
|
| 1141 |
+
},
|
| 1142 |
+
"shortest_image_edge": 256,
|
| 1143 |
+
"crop_fraction": 0.95,
|
| 1144 |
+
"letter_box_transform": false,
|
| 1145 |
+
"model_name": "nvidia/Cosmos-Reason2-2B",
|
| 1146 |
+
"model_type": "qwen",
|
| 1147 |
+
"formalize_language": true,
|
| 1148 |
+
"max_state_dim": 132,
|
| 1149 |
+
"max_action_dim": 132,
|
| 1150 |
+
"max_action_horizon": 40,
|
| 1151 |
+
"use_percentiles": true,
|
| 1152 |
+
"use_mean_std": false,
|
| 1153 |
+
"clip_outliers": true,
|
| 1154 |
+
"apply_sincos_state_encoding": false,
|
| 1155 |
+
"use_relative_action": true,
|
| 1156 |
+
"exclude_state": false,
|
| 1157 |
+
"state_dropout_prob": 0.2
|
| 1158 |
+
}
|
| 1159 |
+
}
|
checkpoint-2000/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:797ffe3fa24c55b114dd9e56fdf3235ce01a504a427c5330021c62a5ec64902c
|
| 3 |
+
size 15429
|
checkpoint-2000/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dec8f5b6aae34a5f9a65a49902e8ae5cf6f69c16b073f957a9ecf142adfb45d
|
| 3 |
+
size 15429
|
checkpoint-2000/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f7364701dd0970b7841b857bbcac3857e2675d16b7e8212a69f2af7f55e971a
|
| 3 |
+
size 15429
|
checkpoint-2000/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40a9a3fa5e41eddd39941fc7ef3cf5fd3d5abf51e241a568124cee1c98308778
|
| 3 |
+
size 15429
|
checkpoint-2000/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7ef83d05e76e9e5ebbad860e8434d64ab6315be2d15e16400907f61fb2644e4
|
| 3 |
+
size 1465
|
chec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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.5,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 2000,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"grad_norm": 0.31839632987976074,
|
| 14 |
+
"learning_rate": 4.5e-06,
|
| 15 |
+
"loss": 1.2127,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"grad_norm": 0.19609376788139343,
|
| 20 |
+
"learning_rate": 9.5e-06,
|
| 21 |
+
"loss": 1.1842,
|
| 22 |
+
"step": 20
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"grad_norm": 0.4635807275772095,
|
| 26 |
+
"learning_rate": 1.45e-05,
|
| 27 |
+
"loss": 1.1838,
|
| 28 |
+
"step": 30
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"grad_norm": 0.3277273178100586,
|
| 32 |
+
"learning_rate": 1.9500000000000003e-05,
|
| 33 |
+
"loss": 1.1629,
|
| 34 |
+
"step": 40
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"grad_norm": 0.40489643812179565,
|
| 38 |
+
"learning_rate": 2.45e-05,
|
| 39 |
+
"loss": 1.1264,
|
| 40 |
+
"step": 50
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"grad_norm": 1.2546579837799072,
|
| 44 |
+
"learning_rate": 2.95e-05,
|
| 45 |
+
"loss": 1.1117,
|
| 46 |
+
"step": 60
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"grad_norm": 0.3789711594581604,
|
| 50 |
+
"learning_rate": 3.45e-05,
|
| 51 |
+
"loss": 1.1066,
|
| 52 |
+
"step": 70
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"grad_norm": 0.3612673878669739,
|
| 56 |
+
"learning_rate": 3.9500000000000005e-05,
|
| 57 |
+
"loss": 1.1082,
|
| 58 |
+
"step": 80
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"grad_norm": 0.28633758425712585,
|
| 62 |
+
"learning_rate": 4.4500000000000004e-05,
|
| 63 |
+
"loss": 1.1211,
|
| 64 |
+
"step": 90
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"grad_norm": 0.41268351674079895,
|
| 68 |
+
"learning_rate": 4.9500000000000004e-05,
|
| 69 |
+
"loss": 1.0998,
|
| 70 |
+
"step": 100
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"grad_norm": 0.2796061933040619,
|
| 74 |
+
"learning_rate": 5.45e-05,
|
| 75 |
+
"loss": 1.1131,
|
| 76 |
+
"step": 110
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"grad_norm": 0.3423110544681549,
|
| 80 |
+
"learning_rate": 5.95e-05,
|
| 81 |
+
"loss": 1.1004,
|
| 82 |
+
"step": 120
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"grad_norm": 0.33770301938056946,
|
| 86 |
+
"learning_rate": 6.450000000000001e-05,
|
| 87 |
+
"loss": 1.0887,
|
| 88 |
+
"step": 130
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"grad_norm": 0.4104395806789398,
|
| 92 |
+
"learning_rate": 6.95e-05,
|
| 93 |
+
"loss": 1.1043,
|
| 94 |
+
"step": 140
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"grad_norm": 0.38792213797569275,
|
| 98 |
+
"learning_rate": 7.450000000000001e-05,
|
| 99 |
+
"loss": 1.093,
|
| 100 |
+
"step": 150
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"grad_norm": 0.31532591581344604,
|
| 104 |
+
"learning_rate": 7.950000000000001e-05,
|
| 105 |
+
"loss": 1.0992,
|
| 106 |
+
"step": 160
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"grad_norm": 0.37639284133911133,
|
| 110 |
+
"learning_rate": 8.450000000000001e-05,
|
| 111 |
+
"loss": 1.1033,
|
| 112 |
+
"step": 170
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"grad_norm": 0.4326634407043457,
|
| 116 |
+
"learning_rate": 8.950000000000001e-05,
|
| 117 |
+
"loss": 1.0834,
|
| 118 |
+
"step": 180
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"grad_norm": 0.4046025276184082,
|
| 122 |
+
"learning_rate": 9.449999999999999e-05,
|
| 123 |
+
"loss": 1.0852,
|
| 124 |
+
"step": 190
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"grad_norm": 0.45471683144569397,
|
| 128 |
+
"learning_rate": 9.95e-05,
|
| 129 |
+
"loss": 1.0775,
|
| 130 |
+
"step": 200
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"grad_norm": 0.5478058457374573,
|
| 134 |
+
"learning_rate": 9.999861593790126e-05,
|
| 135 |
+
"loss": 1.0781,
|
| 136 |
+
"step": 210
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"grad_norm": 0.3471389412879944,
|
| 140 |
+
"learning_rate": 9.999383162408304e-05,
|
| 141 |
+
"loss": 1.0828,
|
| 142 |
+
"step": 220
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"grad_norm": 0.4683222770690918,
|
| 146 |
+
"learning_rate": 9.998563029828259e-05,
|
| 147 |
+
"loss": 1.0568,
|
| 148 |
+
"step": 230
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"grad_norm": 0.3368767499923706,
|
| 152 |
+
"learning_rate": 9.997401252104962e-05,
|
| 153 |
+
"loss": 1.0364,
|
| 154 |
+
"step": 240
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"grad_norm": 0.425786554813385,
|
| 158 |
+
"learning_rate": 9.995897908644378e-05,
|
| 159 |
+
"loss": 1.0061,
|
| 160 |
+
"step": 250
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"grad_norm": 0.38125181198120117,
|
| 164 |
+
"learning_rate": 9.994053102198034e-05,
|
| 165 |
+
"loss": 1.0064,
|
| 166 |
+
"step": 260
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"grad_norm": 0.569205105304718,
|
| 170 |
+
"learning_rate": 9.991866958856003e-05,
|
| 171 |
+
"loss": 1.0119,
|
| 172 |
+
"step": 270
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"grad_norm": 0.360039621591568,
|
| 176 |
+
"learning_rate": 9.989339628038276e-05,
|
| 177 |
+
"loss": 0.9783,
|
| 178 |
+
"step": 280
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"grad_norm": 0.3894808292388916,
|
| 182 |
+
"learning_rate": 9.98647128248456e-05,
|
| 183 |
+
"loss": 0.9876,
|
| 184 |
+
"step": 290
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"grad_norm": 0.49482613801956177,
|
| 188 |
+
"learning_rate": 9.98326211824246e-05,
|
| 189 |
+
"loss": 0.9774,
|
| 190 |
+
"step": 300
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"grad_norm": 0.43771424889564514,
|
| 194 |
+
"learning_rate": 9.979712354654091e-05,
|
| 195 |
+
"loss": 0.9528,
|
| 196 |
+
"step": 310
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"grad_norm": 0.3924391269683838,
|
| 200 |
+
"learning_rate": 9.975822234341079e-05,
|
| 201 |
+
"loss": 0.949,
|
| 202 |
+
"step": 320
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"grad_norm": 0.3948723077774048,
|
| 206 |
+
"learning_rate": 9.97159202318798e-05,
|
| 207 |
+
"loss": 0.95,
|
| 208 |
+
"step": 330
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"grad_norm": 0.4701744019985199,
|
| 212 |
+
"learning_rate": 9.967022010324105e-05,
|
| 213 |
+
"loss": 0.9263,
|
| 214 |
+
"step": 340
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"grad_norm": 0.5202460289001465,
|
| 218 |
+
"learning_rate": 9.962112508103765e-05,
|
| 219 |
+
"loss": 0.9409,
|
| 220 |
+
"step": 350
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"grad_norm": 0.4282516837120056,
|
| 224 |
+
"learning_rate": 9.956863852084914e-05,
|
| 225 |
+
"loss": 0.9107,
|
| 226 |
+
"step": 360
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"grad_norm": 0.5906583666801453,
|
| 230 |
+
"learning_rate": 9.951276401006221e-05,
|
| 231 |
+
"loss": 0.9072,
|
| 232 |
+
"step": 370
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"grad_norm": 0.4856233298778534,
|
| 236 |
+
"learning_rate": 9.945350536762543e-05,
|
| 237 |
+
"loss": 0.9142,
|
| 238 |
+
"step": 380
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"grad_norm": 0.44197753071784973,
|
| 242 |
+
"learning_rate": 9.939086664378829e-05,
|
| 243 |
+
"loss": 0.8903,
|
| 244 |
+
"step": 390
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"grad_norm": 0.6055497527122498,
|
| 248 |
+
"learning_rate": 9.932485211982437e-05,
|
| 249 |
+
"loss": 0.8942,
|
| 250 |
+
"step": 400
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"grad_norm": 0.5160871744155884,
|
| 254 |
+
"learning_rate": 9.92554663077387e-05,
|
| 255 |
+
"loss": 0.8765,
|
| 256 |
+
"step": 410
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"grad_norm": 0.479907751083374,
|
| 260 |
+
"learning_rate": 9.918271394995935e-05,
|
| 261 |
+
"loss": 0.8774,
|
| 262 |
+
"step": 420
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"grad_norm": 0.5040944218635559,
|
| 266 |
+
"learning_rate": 9.910660001901335e-05,
|
| 267 |
+
"loss": 0.8775,
|
| 268 |
+
"step": 430
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"grad_norm": 0.5206490755081177,
|
| 272 |
+
"learning_rate": 9.902712971718675e-05,
|
| 273 |
+
"loss": 0.8647,
|
| 274 |
+
"step": 440
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"grad_norm": 0.44746702909469604,
|
| 278 |
+
"learning_rate": 9.894430847616915e-05,
|
| 279 |
+
"loss": 0.8619,
|
| 280 |
+
"step": 450
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"grad_norm": 0.4645554721355438,
|
| 284 |
+
"learning_rate": 9.885814195668232e-05,
|
| 285 |
+
"loss": 0.8444,
|
| 286 |
+
"step": 460
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"grad_norm": 0.47834452986717224,
|
| 290 |
+
"learning_rate": 9.876863604809344e-05,
|
| 291 |
+
"loss": 0.8333,
|
| 292 |
+
"step": 470
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"grad_norm": 0.43582776188850403,
|
| 296 |
+
"learning_rate": 9.867579686801245e-05,
|
| 297 |
+
"loss": 0.8598,
|
| 298 |
+
"step": 480
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"grad_norm": 0.4257030189037323,
|
| 302 |
+
"learning_rate": 9.8579630761874e-05,
|
| 303 |
+
"loss": 0.8198,
|
| 304 |
+
"step": 490
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"grad_norm": 0.5325835943222046,
|
| 308 |
+
"learning_rate": 9.848014430250367e-05,
|
| 309 |
+
"loss": 0.8271,
|
| 310 |
+
"step": 500
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"grad_norm": 0.46889224648475647,
|
| 314 |
+
"learning_rate": 9.837734428966885e-05,
|
| 315 |
+
"loss": 0.8202,
|
| 316 |
+
"step": 510
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"grad_norm": 0.5707681775093079,
|
| 320 |
+
"learning_rate": 9.827123774961383e-05,
|
| 321 |
+
"loss": 0.8078,
|
| 322 |
+
"step": 520
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"grad_norm": 0.5601910352706909,
|
| 326 |
+
"learning_rate": 9.816183193457968e-05,
|
| 327 |
+
"loss": 0.8296,
|
| 328 |
+
"step": 530
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"grad_norm": 0.6276665925979614,
|
| 332 |
+
"learning_rate": 9.804913432230856e-05,
|
| 333 |
+
"loss": 0.8248,
|
| 334 |
+
"step": 540
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"grad_norm": 0.6616746187210083,
|
| 338 |
+
"learning_rate": 9.793315261553252e-05,
|
| 339 |
+
"loss": 0.8042,
|
| 340 |
+
"step": 550
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"grad_norm": 0.5051801204681396,
|
| 344 |
+
"learning_rate": 9.781389474144717e-05,
|
| 345 |
+
"loss": 0.8047,
|
| 346 |
+
"step": 560
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"grad_norm": 0.45216768980026245,
|
| 350 |
+
"learning_rate": 9.76913688511698e-05,
|
| 351 |
+
"loss": 0.8061,
|
| 352 |
+
"step": 570
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"grad_norm": 0.5215824246406555,
|
| 356 |
+
"learning_rate": 9.756558331918227e-05,
|
| 357 |
+
"loss": 0.8082,
|
| 358 |
+
"step": 580
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"grad_norm": 0.5071956515312195,
|
| 362 |
+
"learning_rate": 9.743654674275855e-05,
|
| 363 |
+
"loss": 0.8092,
|
| 364 |
+
"step": 590
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"grad_norm": 0.4734920263290405,
|
| 368 |
+
"learning_rate": 9.730426794137727e-05,
|
| 369 |
+
"loss": 0.7902,
|
| 370 |
+
"step": 600
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"grad_norm": 0.6150533556938171,
|
| 374 |
+
"learning_rate": 9.716875595611879e-05,
|
| 375 |
+
"loss": 0.7976,
|
| 376 |
+
"step": 610
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"grad_norm": 0.6230007410049438,
|
| 380 |
+
"learning_rate": 9.703002004904729e-05,
|
| 381 |
+
"loss": 0.7894,
|
| 382 |
+
"step": 620
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"grad_norm": 0.47863709926605225,
|
| 386 |
+
"learning_rate": 9.688806970257773e-05,
|
| 387 |
+
"loss": 0.7771,
|
| 388 |
+
"step": 630
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"grad_norm": 0.5021641850471497,
|
| 392 |
+
"learning_rate": 9.674291461882774e-05,
|
| 393 |
+
"loss": 0.7608,
|
| 394 |
+
"step": 640
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"grad_norm": 0.6127395033836365,
|
| 398 |
+
"learning_rate": 9.659456471895445e-05,
|
| 399 |
+
"loss": 0.7793,
|
| 400 |
+
"step": 650
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"grad_norm": 0.5065549612045288,
|
| 404 |
+
"learning_rate": 9.644303014247648e-05,
|
| 405 |
+
"loss": 0.7759,
|
| 406 |
+
"step": 660
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"grad_norm": 0.5618578195571899,
|
| 410 |
+
"learning_rate": 9.628832124658085e-05,
|
| 411 |
+
"loss": 0.7647,
|
| 412 |
+
"step": 670
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"grad_norm": 0.7806953191757202,
|
| 416 |
+
"learning_rate": 9.613044860541507e-05,
|
| 417 |
+
"loss": 0.7829,
|
| 418 |
+
"step": 680
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"grad_norm": 0.48667505383491516,
|
| 422 |
+
"learning_rate": 9.596942300936445e-05,
|
| 423 |
+
"loss": 0.7624,
|
| 424 |
+
"step": 690
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"grad_norm": 0.4916687309741974,
|
| 428 |
+
"learning_rate": 9.580525546431459e-05,
|
| 429 |
+
"loss": 0.7617,
|
| 430 |
+
"step": 700
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"grad_norm": 0.382213830947876,
|
| 434 |
+
"learning_rate": 9.563795719089911e-05,
|
| 435 |
+
"loss": 0.7561,
|
| 436 |
+
"step": 710
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"grad_norm": 0.7185860276222229,
|
| 440 |
+
"learning_rate": 9.546753962373281e-05,
|
| 441 |
+
"loss": 0.7619,
|
| 442 |
+
"step": 720
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"grad_norm": 0.48129522800445557,
|
| 446 |
+
"learning_rate": 9.529401441062997e-05,
|
| 447 |
+
"loss": 0.773,
|
| 448 |
+
"step": 730
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"grad_norm": 0.5167684555053711,
|
| 452 |
+
"learning_rate": 9.511739341180842e-05,
|
| 453 |
+
"loss": 0.7669,
|
| 454 |
+
"step": 740
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"grad_norm": 0.5255888104438782,
|
| 458 |
+
"learning_rate": 9.493768869907886e-05,
|
| 459 |
+
"loss": 0.764,
|
| 460 |
+
"step": 750
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"grad_norm": 0.3794105052947998,
|
| 464 |
+
"learning_rate": 9.475491255501968e-05,
|
| 465 |
+
"loss": 0.7532,
|
| 466 |
+
"step": 760
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"grad_norm": 0.4577208459377289,
|
| 470 |
+
"learning_rate": 9.456907747213748e-05,
|
| 471 |
+
"loss": 0.7512,
|
| 472 |
+
"step": 770
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"grad_norm": 0.47813680768013,
|
| 476 |
+
"learning_rate": 9.438019615201336e-05,
|
| 477 |
+
"loss": 0.7653,
|
| 478 |
+
"step": 780
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"grad_norm": 0.48698732256889343,
|
| 482 |
+
"learning_rate": 9.418828150443469e-05,
|
| 483 |
+
"loss": 0.7354,
|
| 484 |
+
"step": 790
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"grad_norm": 0.48488903045654297,
|
| 488 |
+
"learning_rate": 9.399334664651262e-05,
|
| 489 |
+
"loss": 0.7649,
|
| 490 |
+
"step": 800
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"grad_norm": 0.46380874514579773,
|
| 494 |
+
"learning_rate": 9.379540490178581e-05,
|
| 495 |
+
"loss": 0.7617,
|
| 496 |
+
"step": 810
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"grad_norm": 0.48268088698387146,
|
| 500 |
+
"learning_rate": 9.359446979930955e-05,
|
| 501 |
+
"loss": 0.7466,
|
| 502 |
+
"step": 820
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"grad_norm": 0.5104127526283264,
|
| 506 |
+
"learning_rate": 9.33905550727312e-05,
|
| 507 |
+
"loss": 0.7389,
|
| 508 |
+
"step": 830
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"grad_norm": 0.4325626790523529,
|
| 512 |
+
"learning_rate": 9.318367465935142e-05,
|
| 513 |
+
"loss": 0.7414,
|
| 514 |
+
"step": 840
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"grad_norm": 0.45519083738327026,
|
| 518 |
+
"learning_rate": 9.29738426991717e-05,
|
| 519 |
+
"loss": 0.7517,
|
| 520 |
+
"step": 850
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"grad_norm": 0.5354924201965332,
|
| 524 |
+
"learning_rate": 9.276107353392774e-05,
|
| 525 |
+
"loss": 0.7427,
|
| 526 |
+
"step": 860
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"grad_norm": 0.5575360655784607,
|
| 530 |
+
"learning_rate": 9.254538170610938e-05,
|
| 531 |
+
"loss": 0.7515,
|
| 532 |
+
"step": 870
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"grad_norm": 0.5105330944061279,
|
| 536 |
+
"learning_rate": 9.232678195796654e-05,
|
| 537 |
+
"loss": 0.722,
|
| 538 |
+
"step": 880
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"grad_norm": 0.5286569595336914,
|
| 542 |
+
"learning_rate": 9.210528923050164e-05,
|
| 543 |
+
"loss": 0.7215,
|
| 544 |
+
"step": 890
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"grad_norm": 0.46469196677207947,
|
| 548 |
+
"learning_rate": 9.188091866244834e-05,
|
| 549 |
+
"loss": 0.72,
|
| 550 |
+
"step": 900
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"grad_norm": 0.43992435932159424,
|
| 554 |
+
"learning_rate": 9.165368558923695e-05,
|
| 555 |
+
"loss": 0.7195,
|
| 556 |
+
"step": 910
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"grad_norm": 0.4441291391849518,
|
| 560 |
+
"learning_rate": 9.142360554194618e-05,
|
| 561 |
+
"loss": 0.7272,
|
| 562 |
+
"step": 920
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"grad_norm": 0.5133683085441589,
|
| 566 |
+
"learning_rate": 9.119069424624163e-05,
|
| 567 |
+
"loss": 0.7142,
|
| 568 |
+
"step": 930
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"grad_norm": 0.5577358603477478,
|
| 572 |
+
"learning_rate": 9.0954967621301e-05,
|
| 573 |
+
"loss": 0.7095,
|
| 574 |
+
"step": 940
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"grad_norm": 0.621738076210022,
|
| 578 |
+
"learning_rate": 9.071644177872594e-05,
|
| 579 |
+
"loss": 0.7276,
|
| 580 |
+
"step": 950
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"grad_norm": 0.4756941497325897,
|
| 584 |
+
"learning_rate": 9.047513302144095e-05,
|
| 585 |
+
"loss": 0.7196,
|
| 586 |
+
"step": 960
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"grad_norm": 0.3742871582508087,
|
| 590 |
+
"learning_rate": 9.023105784257906e-05,
|
| 591 |
+
"loss": 0.7159,
|
| 592 |
+
"step": 970
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"grad_norm": 0.43546372652053833,
|
| 596 |
+
"learning_rate": 8.998423292435454e-05,
|
| 597 |
+
"loss": 0.7127,
|
| 598 |
+
"step": 980
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"grad_norm": 0.5410100817680359,
|
| 602 |
+
"learning_rate": 8.973467513692265e-05,
|
| 603 |
+
"loss": 0.7089,
|
| 604 |
+
"step": 990
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"grad_norm": 0.5081359148025513,
|
| 608 |
+
"learning_rate": 8.94824015372267e-05,
|
| 609 |
+
"loss": 0.6982,
|
| 610 |
+
"step": 1000
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"grad_norm": 0.49883362650871277,
|
| 614 |
+
"learning_rate": 8.922742936783207e-05,
|
| 615 |
+
"loss": 0.7099,
|
| 616 |
+
"step": 1010
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"grad_norm": 0.5988953709602356,
|
| 620 |
+
"learning_rate": 8.896977605574788e-05,
|
| 621 |
+
"loss": 0.7041,
|
| 622 |
+
"step": 1020
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"grad_norm": 0.648632824420929,
|
| 626 |
+
"learning_rate": 8.870945921123576e-05,
|
| 627 |
+
"loss": 0.7184,
|
| 628 |
+
"step": 1030
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"grad_norm": 0.4201085865497589,
|
| 632 |
+
"learning_rate": 8.844649662660624e-05,
|
| 633 |
+
"loss": 0.7186,
|
| 634 |
+
"step": 1040
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"grad_norm": 0.5427833199501038,
|
| 638 |
+
"learning_rate": 8.818090627500266e-05,
|
| 639 |
+
"loss": 0.7271,
|
| 640 |
+
"step": 1050
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"grad_norm": 0.5188281536102295,
|
| 644 |
+
"learning_rate": 8.791270630917275e-05,
|
| 645 |
+
"loss": 0.7092,
|
| 646 |
+
"step": 1060
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"grad_norm": 0.6617937684059143,
|
| 650 |
+
"learning_rate": 8.764191506022795e-05,
|
| 651 |
+
"loss": 0.7114,
|
| 652 |
+
"step": 1070
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"grad_norm": 0.5660023093223572,
|
| 656 |
+
"learning_rate": 8.736855103639037e-05,
|
| 657 |
+
"loss": 0.6944,
|
| 658 |
+
"step": 1080
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"grad_norm": 0.45464205741882324,
|
| 662 |
+
"learning_rate": 8.709263292172794e-05,
|
| 663 |
+
"loss": 0.7176,
|
| 664 |
+
"step": 1090
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"grad_norm": 0.44230857491493225,
|
| 668 |
+
"learning_rate": 8.681417957487729e-05,
|
| 669 |
+
"loss": 0.7053,
|
| 670 |
+
"step": 1100
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"grad_norm": 0.5209611654281616,
|
| 674 |
+
"learning_rate": 8.653321002775478e-05,
|
| 675 |
+
"loss": 0.7061,
|
| 676 |
+
"step": 1110
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"grad_norm": 0.5073080658912659,
|
| 680 |
+
"learning_rate": 8.624974348425574e-05,
|
| 681 |
+
"loss": 0.7162,
|
| 682 |
+
"step": 1120
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"grad_norm": 0.5269641280174255,
|
| 686 |
+
"learning_rate": 8.596379931894188e-05,
|
| 687 |
+
"loss": 0.7059,
|
| 688 |
+
"step": 1130
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"grad_norm": 0.45516136288642883,
|
| 692 |
+
"learning_rate": 8.567539707571703e-05,
|
| 693 |
+
"loss": 0.7021,
|
| 694 |
+
"step": 1140
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"grad_norm": 0.4557558298110962,
|
| 698 |
+
"learning_rate": 8.538455646649146e-05,
|
| 699 |
+
"loss": 0.6988,
|
| 700 |
+
"step": 1150
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"grad_norm": 0.5678983926773071,
|
| 704 |
+
"learning_rate": 8.509129736983446e-05,
|
| 705 |
+
"loss": 0.7003,
|
| 706 |
+
"step": 1160
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"grad_norm": 0.5725619196891785,
|
| 710 |
+
"learning_rate": 8.479563982961571e-05,
|
| 711 |
+
"loss": 0.7027,
|
| 712 |
+
"step": 1170
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"grad_norm": 0.46510183811187744,
|
| 716 |
+
"learning_rate": 8.449760405363539e-05,
|
| 717 |
+
"loss": 0.7054,
|
| 718 |
+
"step": 1180
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"grad_norm": 0.5408710241317749,
|
| 722 |
+
"learning_rate": 8.419721041224287e-05,
|
| 723 |
+
"loss": 0.6948,
|
| 724 |
+
"step": 1190
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"grad_norm": 0.46410325169563293,
|
| 728 |
+
"learning_rate": 8.389447943694451e-05,
|
| 729 |
+
"loss": 0.7045,
|
| 730 |
+
"step": 1200
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"grad_norm": 0.5080893039703369,
|
| 734 |
+
"learning_rate": 8.358943181900032e-05,
|
| 735 |
+
"loss": 0.6939,
|
| 736 |
+
"step": 1210
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"grad_norm": 0.5485800504684448,
|
| 740 |
+
"learning_rate": 8.328208840800981e-05,
|
| 741 |
+
"loss": 0.695,
|
| 742 |
+
"step": 1220
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"grad_norm": 0.5217918157577515,
|
| 746 |
+
"learning_rate": 8.297247021048686e-05,
|
| 747 |
+
"loss": 0.7029,
|
| 748 |
+
"step": 1230
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"grad_norm": 0.5817974209785461,
|
| 752 |
+
"learning_rate": 8.266059838842396e-05,
|
| 753 |
+
"loss": 0.7023,
|
| 754 |
+
"step": 1240
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"grad_norm": 0.4946444034576416,
|
| 758 |
+
"learning_rate": 8.23464942578459e-05,
|
| 759 |
+
"loss": 0.6997,
|
| 760 |
+
"step": 1250
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"grad_norm": 0.5017271041870117,
|
| 764 |
+
"learning_rate": 8.203017928735277e-05,
|
| 765 |
+
"loss": 0.7013,
|
| 766 |
+
"step": 1260
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"grad_norm": 0.4506302773952484,
|
| 770 |
+
"learning_rate": 8.17116750966526e-05,
|
| 771 |
+
"loss": 0.6914,
|
| 772 |
+
"step": 1270
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"grad_norm": 0.5228651762008667,
|
| 776 |
+
"learning_rate": 8.139100345508377e-05,
|
| 777 |
+
"loss": 0.7048,
|
| 778 |
+
"step": 1280
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"grad_norm": 0.47274133563041687,
|
| 782 |
+
"learning_rate": 8.106818628012697e-05,
|
| 783 |
+
"loss": 0.6809,
|
| 784 |
+
"step": 1290
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"grad_norm": 0.47493863105773926,
|
| 788 |
+
"learning_rate": 8.074324563590736e-05,
|
| 789 |
+
"loss": 0.693,
|
| 790 |
+
"step": 1300
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"grad_norm": 0.5628791451454163,
|
| 794 |
+
"learning_rate": 8.041620373168628e-05,
|
| 795 |
+
"loss": 0.7053,
|
| 796 |
+
"step": 1310
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"grad_norm": 0.5795761942863464,
|
| 800 |
+
"learning_rate": 8.008708292034349e-05,
|
| 801 |
+
"loss": 0.7127,
|
| 802 |
+
"step": 1320
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"grad_norm": 0.46782001852989197,
|
| 806 |
+
"learning_rate": 7.975590569684925e-05,
|
| 807 |
+
"loss": 0.6882,
|
| 808 |
+
"step": 1330
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"grad_norm": 0.45206907391548157,
|
| 812 |
+
"learning_rate": 7.942269469672687e-05,
|
| 813 |
+
"loss": 0.6894,
|
| 814 |
+
"step": 1340
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"grad_norm": 0.5340469479560852,
|
| 818 |
+
"learning_rate": 7.908747269450558e-05,
|
| 819 |
+
"loss": 0.6839,
|
| 820 |
+
"step": 1350
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"grad_norm": 0.6080896854400635,
|
| 824 |
+
"learning_rate": 7.875026260216393e-05,
|
| 825 |
+
"loss": 0.6956,
|
| 826 |
+
"step": 1360
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"grad_norm": 0.5087507367134094,
|
| 830 |
+
"learning_rate": 7.841108746756382e-05,
|
| 831 |
+
"loss": 0.6895,
|
| 832 |
+
"step": 1370
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"grad_norm": 0.4710014760494232,
|
| 836 |
+
"learning_rate": 7.806997047287516e-05,
|
| 837 |
+
"loss": 0.6839,
|
| 838 |
+
"step": 1380
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"grad_norm": 0.5395244359970093,
|
| 842 |
+
"learning_rate": 7.772693493299138e-05,
|
| 843 |
+
"loss": 0.6944,
|
| 844 |
+
"step": 1390
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"grad_norm": 0.5339425206184387,
|
| 848 |
+
"learning_rate": 7.7382004293936e-05,
|
| 849 |
+
"loss": 0.6979,
|
| 850 |
+
"step": 1400
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"grad_norm": 0.4487476348876953,
|
| 854 |
+
"learning_rate": 7.703520213126e-05,
|
| 855 |
+
"loss": 0.6793,
|
| 856 |
+
"step": 1410
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"grad_norm": 0.5018513798713684,
|
| 860 |
+
"learning_rate": 7.66865521484305e-05,
|
| 861 |
+
"loss": 0.7039,
|
| 862 |
+
"step": 1420
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"grad_norm": 0.497934490442276,
|
| 866 |
+
"learning_rate": 7.633607817521074e-05,
|
| 867 |
+
"loss": 0.6904,
|
| 868 |
+
"step": 1430
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"grad_norm": 0.5556654334068298,
|
| 872 |
+
"learning_rate": 7.598380416603119e-05,
|
| 873 |
+
"loss": 0.6821,
|
| 874 |
+
"step": 1440
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"grad_norm": 0.5551984906196594,
|
| 878 |
+
"learning_rate": 7.562975419835247e-05,
|
| 879 |
+
"loss": 0.682,
|
| 880 |
+
"step": 1450
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"grad_norm": 0.5837743878364563,
|
| 884 |
+
"learning_rate": 7.527395247101956e-05,
|
| 885 |
+
"loss": 0.6929,
|
| 886 |
+
"step": 1460
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"grad_norm": 0.504239022731781,
|
| 890 |
+
"learning_rate": 7.491642330260789e-05,
|
| 891 |
+
"loss": 0.6718,
|
| 892 |
+
"step": 1470
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"grad_norm": 0.4760385751724243,
|
| 896 |
+
"learning_rate": 7.45571911297612e-05,
|
| 897 |
+
"loss": 0.6712,
|
| 898 |
+
"step": 1480
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"grad_norm": 0.4641706347465515,
|
| 902 |
+
"learning_rate": 7.419628050552131e-05,
|
| 903 |
+
"loss": 0.6831,
|
| 904 |
+
"step": 1490
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"grad_norm": 0.5901619791984558,
|
| 908 |
+
"learning_rate": 7.383371609764999e-05,
|
| 909 |
+
"loss": 0.6675,
|
| 910 |
+
"step": 1500
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"grad_norm": 0.5062085390090942,
|
| 914 |
+
"learning_rate": 7.346952268694288e-05,
|
| 915 |
+
"loss": 0.6798,
|
| 916 |
+
"step": 1510
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"grad_norm": 0.49795156717300415,
|
| 920 |
+
"learning_rate": 7.310372516553585e-05,
|
| 921 |
+
"loss": 0.68,
|
| 922 |
+
"step": 1520
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"grad_norm": 0.4773595929145813,
|
| 926 |
+
"learning_rate": 7.273634853520356e-05,
|
| 927 |
+
"loss": 0.6758,
|
| 928 |
+
"step": 1530
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"grad_norm": 0.5229724645614624,
|
| 932 |
+
"learning_rate": 7.236741790565072e-05,
|
| 933 |
+
"loss": 0.687,
|
| 934 |
+
"step": 1540
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"grad_norm": 0.4959690570831299,
|
| 938 |
+
"learning_rate": 7.199695849279576e-05,
|
| 939 |
+
"loss": 0.6939,
|
| 940 |
+
"step": 1550
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"grad_norm": 0.4881291687488556,
|
| 944 |
+
"learning_rate": 7.162499561704747e-05,
|
| 945 |
+
"loss": 0.6905,
|
| 946 |
+
"step": 1560
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"grad_norm": 0.48054420948028564,
|
| 950 |
+
"learning_rate": 7.125155470157429e-05,
|
| 951 |
+
"loss": 0.6672,
|
| 952 |
+
"step": 1570
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"grad_norm": 0.47718197107315063,
|
| 956 |
+
"learning_rate": 7.087666127056675e-05,
|
| 957 |
+
"loss": 0.6745,
|
| 958 |
+
"step": 1580
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"grad_norm": 0.39660972356796265,
|
| 962 |
+
"learning_rate": 7.050034094749286e-05,
|
| 963 |
+
"loss": 0.6731,
|
| 964 |
+
"step": 1590
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"grad_norm": 0.4159504771232605,
|
| 968 |
+
"learning_rate": 7.012261945334683e-05,
|
| 969 |
+
"loss": 0.6727,
|
| 970 |
+
"step": 1600
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"grad_norm": 0.5238457322120667,
|
| 974 |
+
"learning_rate": 6.974352260489103e-05,
|
| 975 |
+
"loss": 0.6777,
|
| 976 |
+
"step": 1610
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"grad_norm": 0.5296777486801147,
|
| 980 |
+
"learning_rate": 6.936307631289148e-05,
|
| 981 |
+
"loss": 0.6842,
|
| 982 |
+
"step": 1620
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"grad_norm": 0.5169921517372131,
|
| 986 |
+
"learning_rate": 6.898130658034685e-05,
|
| 987 |
+
"loss": 0.6722,
|
| 988 |
+
"step": 1630
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"grad_norm": 0.46622392535209656,
|
| 992 |
+
"learning_rate": 6.859823950071127e-05,
|
| 993 |
+
"loss": 0.6768,
|
| 994 |
+
"step": 1640
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"grad_norm": 0.4715481698513031,
|
| 998 |
+
"learning_rate": 6.821390125611078e-05,
|
| 999 |
+
"loss": 0.6875,
|
| 1000 |
+
"step": 1650
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"grad_norm": 0.4542713761329651,
|
| 1004 |
+
"learning_rate": 6.782831811555385e-05,
|
| 1005 |
+
"loss": 0.6647,
|
| 1006 |
+
"step": 1660
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"grad_norm": 0.4589802324771881,
|
| 1010 |
+
"learning_rate": 6.744151643313597e-05,
|
| 1011 |
+
"loss": 0.6769,
|
| 1012 |
+
"step": 1670
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"grad_norm": 0.46197426319122314,
|
| 1016 |
+
"learning_rate": 6.705352264623828e-05,
|
| 1017 |
+
"loss": 0.6818,
|
| 1018 |
+
"step": 1680
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"grad_norm": 0.4620882570743561,
|
| 1022 |
+
"learning_rate": 6.666436327372078e-05,
|
| 1023 |
+
"loss": 0.6723,
|
| 1024 |
+
"step": 1690
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"grad_norm": 0.4430062174797058,
|
| 1028 |
+
"learning_rate": 6.62740649141096e-05,
|
| 1029 |
+
"loss": 0.6743,
|
| 1030 |
+
"step": 1700
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"grad_norm": 0.49391141533851624,
|
| 1034 |
+
"learning_rate": 6.588265424377919e-05,
|
| 1035 |
+
"loss": 0.6687,
|
| 1036 |
+
"step": 1710
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"grad_norm": 0.46312108635902405,
|
| 1040 |
+
"learning_rate": 6.549015801512895e-05,
|
| 1041 |
+
"loss": 0.6715,
|
| 1042 |
+
"step": 1720
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"grad_norm": 0.5987693071365356,
|
| 1046 |
+
"learning_rate": 6.509660305475468e-05,
|
| 1047 |
+
"loss": 0.6784,
|
| 1048 |
+
"step": 1730
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"grad_norm": 0.5958335995674133,
|
| 1052 |
+
"learning_rate": 6.47020162616152e-05,
|
| 1053 |
+
"loss": 0.6722,
|
| 1054 |
+
"step": 1740
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"grad_norm": 0.47428029775619507,
|
| 1058 |
+
"learning_rate": 6.430642460519365e-05,
|
| 1059 |
+
"loss": 0.6666,
|
| 1060 |
+
"step": 1750
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"grad_norm": 0.5168448090553284,
|
| 1064 |
+
"learning_rate": 6.390985512365426e-05,
|
| 1065 |
+
"loss": 0.6717,
|
| 1066 |
+
"step": 1760
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"grad_norm": 0.5116503238677979,
|
| 1070 |
+
"learning_rate": 6.351233492199431e-05,
|
| 1071 |
+
"loss": 0.6729,
|
| 1072 |
+
"step": 1770
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"grad_norm": 0.44382596015930176,
|
| 1076 |
+
"learning_rate": 6.311389117019155e-05,
|
| 1077 |
+
"loss": 0.6729,
|
| 1078 |
+
"step": 1780
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"grad_norm": 0.493990421295166,
|
| 1082 |
+
"learning_rate": 6.271455110134713e-05,
|
| 1083 |
+
"loss": 0.67,
|
| 1084 |
+
"step": 1790
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"grad_norm": 0.4669109880924225,
|
| 1088 |
+
"learning_rate": 6.231434200982428e-05,
|
| 1089 |
+
"loss": 0.6675,
|
| 1090 |
+
"step": 1800
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"grad_norm": 0.5045506954193115,
|
| 1094 |
+
"learning_rate": 6.191329124938285e-05,
|
| 1095 |
+
"loss": 0.6669,
|
| 1096 |
+
"step": 1810
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"grad_norm": 0.44471701979637146,
|
| 1100 |
+
"learning_rate": 6.15114262313095e-05,
|
| 1101 |
+
"loss": 0.6674,
|
| 1102 |
+
"step": 1820
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"grad_norm": 0.4768633246421814,
|
| 1106 |
+
"learning_rate": 6.110877442254444e-05,
|
| 1107 |
+
"loss": 0.6627,
|
| 1108 |
+
"step": 1830
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"grad_norm": 0.44661039113998413,
|
| 1112 |
+
"learning_rate": 6.0705363343803946e-05,
|
| 1113 |
+
"loss": 0.6601,
|
| 1114 |
+
"step": 1840
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"grad_norm": 0.3572286367416382,
|
| 1118 |
+
"learning_rate": 6.030122056769934e-05,
|
| 1119 |
+
"loss": 0.6664,
|
| 1120 |
+
"step": 1850
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"grad_norm": 0.5288762450218201,
|
| 1124 |
+
"learning_rate": 5.989637371685257e-05,
|
| 1125 |
+
"loss": 0.6776,
|
| 1126 |
+
"step": 1860
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"grad_norm": 0.5009581446647644,
|
| 1130 |
+
"learning_rate": 5.949085046200808e-05,
|
| 1131 |
+
"loss": 0.6725,
|
| 1132 |
+
"step": 1870
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"grad_norm": 0.44043007493019104,
|
| 1136 |
+
"learning_rate": 5.908467852014169e-05,
|
| 1137 |
+
"loss": 0.6632,
|
| 1138 |
+
"step": 1880
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"grad_norm": 0.4002927243709564,
|
| 1142 |
+
"learning_rate": 5.867788565256607e-05,
|
| 1143 |
+
"loss": 0.6646,
|
| 1144 |
+
"step": 1890
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"grad_norm": 0.49478879570961,
|
| 1148 |
+
"learning_rate": 5.827049966303335e-05,
|
| 1149 |
+
"loss": 0.6567,
|
| 1150 |
+
"step": 1900
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"grad_norm": 0.4791210889816284,
|
| 1154 |
+
"learning_rate": 5.786254839583478e-05,
|
| 1155 |
+
"loss": 0.6634,
|
| 1156 |
+
"step": 1910
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"grad_norm": 0.5025086998939514,
|
| 1160 |
+
"learning_rate": 5.745405973389757e-05,
|
| 1161 |
+
"loss": 0.6534,
|
| 1162 |
+
"step": 1920
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"grad_norm": 0.4516906142234802,
|
| 1166 |
+
"learning_rate": 5.7045061596879134e-05,
|
| 1167 |
+
"loss": 0.6736,
|
| 1168 |
+
"step": 1930
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"grad_norm": 0.4860899746417999,
|
| 1172 |
+
"learning_rate": 5.6635581939258855e-05,
|
| 1173 |
+
"loss": 0.658,
|
| 1174 |
+
"step": 1940
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"grad_norm": 0.514963686466217,
|
| 1178 |
+
"learning_rate": 5.622564874842742e-05,
|
| 1179 |
+
"loss": 0.6562,
|
| 1180 |
+
"step": 1950
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"grad_norm": 0.48472991585731506,
|
| 1184 |
+
"learning_rate": 5.5815290042773836e-05,
|
| 1185 |
+
"loss": 0.6619,
|
| 1186 |
+
"step": 1960
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"grad_norm": 0.5486400723457336,
|
| 1190 |
+
"learning_rate": 5.540453386977058e-05,
|
| 1191 |
+
"loss": 0.651,
|
| 1192 |
+
"step": 1970
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"grad_norm": 0.5085767507553101,
|
| 1196 |
+
"learning_rate": 5.4993408304056425e-05,
|
| 1197 |
+
"loss": 0.6531,
|
| 1198 |
+
"step": 1980
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"grad_norm": 0.5380701422691345,
|
| 1202 |
+
"learning_rate": 5.458194144551768e-05,
|
| 1203 |
+
"loss": 0.6554,
|
| 1204 |
+
"step": 1990
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"grad_norm": 0.48443129658699036,
|
| 1208 |
+
"learning_rate": 5.417016141736756e-05,
|
| 1209 |
+
"loss": 0.6568,
|
| 1210 |
+
"step": 2000
|
| 1211 |
+
}
|
| 1212 |
+
],
|
| 1213 |
+
"logging_steps": 10,
|
| 1214 |
+
"max_steps": 4000,
|
| 1215 |
+
"num_input_tokens_seen": 0,
|
| 1216 |
+
"num_train_epochs": 9223372036854775807,
|
| 1217 |
+
"save_steps": 500,
|
| 1218 |
+
"stateful_callbacks": {
|
| 1219 |
+
"TrainerControl": {
|
| 1220 |
+
"args": {
|
| 1221 |
+
"should_epoch_stop": false,
|
| 1222 |
+
"should_evaluate": false,
|
| 1223 |
+
"should_log": false,
|
| 1224 |
+
"should_save": true,
|
| 1225 |
+
"should_training_stop": false
|
| 1226 |
+
},
|
| 1227 |
+
"attributes": {}
|
| 1228 |
+
}
|
| 1229 |
+
},
|
| 1230 |
+
"total_flos": 0.0,
|
| 1231 |
+
"train_batch_size": 4,
|
| 1232 |
+
"trial_name": null,
|
| 1233 |
+
"trial_params": null
|
| 1234 |
+
}
|
checkpoint-2000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:094a6778fb4feb66a24ee6f40e626458c9716471dced51765ad1e5344484c5e0
|
| 3 |
+
size 7825
|
checkpoint-2000/wandb_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"project": "groot-finetune", "run_id": "g1_finetune-20260527-102938"}
|
checkpoint-2000/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info("Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info("Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|