Views
No views yet
google/siglip-so400m-patch14-384 for visiongoogle/gemma-3-4b-it for language/reasoning (with LoRA PEFT)robot_sim.PickNPlace).[q_proj, k_proj, v_proj, o_proj]conditioning_dim=768chunk_size=8; diffusion steps num_diffusion_steps=501vision_model_id: google/siglip-so400m-patch14-384
2text_model_id: google/gemma-3-4b-it
3image_features: ["observation.images.ego_view"]
4action_feature: "action"
5chunk_size: 8
6num_diffusion_steps: 50
7conditioning_dim: 768
8plan_update_interval: 10
9scaledp_num_layers: 12
10scaledp_dim_model: 320
11scaledp_num_heads: 8
12scaledp_dim_feedforward: 1280
13use_lora: true
14lora_rank: 16
15lora_target_modules: ["q_proj","k_proj","v_proj","o_proj"]
16optimizer_lr: 1e-4
17optimizer_weight_decay: 1e-6PYTHONPATH to include lerobot in this repository.1import torch
2from lerobot.common.policies.gemma_le.modeling_gemma_le import GemmaLePolicy
3from huggingface_hub import snapshot_download
4ckpt_dir = snapshot_download(repo_id="Ryukijano/gemma-groot", revision="main")
5policy = GemmaLePolicy.from_pretrained(ckpt_dir, torch_dtype=torch.bfloat16)
6policy.eval()1python lerobot/lerobot/scripts/train.py \
2 --policy.type gemma_le \
3 --dataset.repo_id local/robot_sim.PickNPlace \
4 --dataset.root /path/to/robot_sim.PickNPlace \
5 --dataset.episodes "[0,1,2,3,4]" \
6 --batch_size 3 \
7 --steps 200000 \
8 --log_freq 100 \
9 --save_freq 5000 \
10 --policy.vision_model_id google/siglip-so400m-patch14-384 \
11 --policy.text_model_id google/gemma-3-4b-it \
12 --policy.use_amp true \
13 --progress_bar true \
14 --push_to_hub true \
15 --push_repo_id Ryukijano/gemma-groot \
16 --push_branch main \
17 --push_exist_ok truesubmit_job.sh. Ensure caches on scratch and set:PYTORCH_CUDA_ALLOC_CONF=expandable_segments:TrueHF_HOME, HUGGINGFACE_HUB_CACHE, TRANSFORMERS_CACHE to scratchruns/<date>/<run>/<step> in this repo.runs/2025-08-12/13-06-07_gemma_le/020000/.observation.images.ego_view. Targets: action.max(tolerance_s, 1/fps + 1e-4) during training for robust decoding.google/gemma-3-4b-it may require TOS.