Run this model with HF Jobs
Run Bigluck77/g1_med_sort_act on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Bigluck77/g1_med_sort_act. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Bigluck77/g1_med_sort_act on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Bigluck77/g1_med_sort_act with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Bigluck77/g1_med_sort_act with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
G1 medication sorting: ACT experiment checkpoints
Seven experimental ACT checkpoints, including complete optimizer/RNG state for resuming training. These policies have not demonstrated reliable closed-loop four-object sorting. Offline error reductions and successful checkpoint loading do not establish task success or generalization.
Versions
| Directory | Updates | Training scope |
|---|---|---|
checkpoints/005000 |
5,000 | Original 20 demonstrations |
checkpoints/010000 |
10,000 | Original 20 demonstrations |
checkpoints/015000 |
15,000 | Original 20 demonstrations |
checkpoints/020000 |
20,000 | Original 20 demonstrations |
checkpoints/030000 |
30,000 | Continued from 20k, same data |
checkpoints/040000 |
40,000 | Continued from 20k, same data |
diagnostics/episode0_first2500/042000 |
42,000 | 40k plus 2,000 updates on episode 0, first 2,500 frames only |
The 42k model is a short-task diagnostic specialization, not a better general four-object policy. It must be evaluated separately. Smoke-test checkpoints are excluded.
Each directory contains pretrained_model/{config.json,train_config.json,model.safetensors} and training_state/{training_step.json,optimizer_state.safetensors,optimizer_param_groups.json,rng_state.safetensors}. Original training configurations retain experiment-local paths; adapt these paths when resuming on another machine. Files and checksums are listed in SHA256SUMS.json.
Data and action contract
Training used 20 successful motion-planner demonstrations, 219,594 frames at 50 Hz, from Bigluck77/g1_med_sort. No independent validation set was used. Dataset bytes are not duplicated in this model repository.
- Three native RGB images, 640×480: head, left wrist, right wrist.
observation.state: 30 measured joint positions, with order defined by the dataset metadata.action: 16 values = left arm 7 absolute joint targets (radians), left closure, right arm 7 absolute joint targets, right closure.- Closure convention: 0=open, 1=closed. Closure is a command scalar, not measured jaw width or an individual finger angle.
- Horizon: 50 actions at 50 Hz. Not language conditioned.
Training
LeRobot pinned revision: 0cf864870cf29f4738d3ade893e6fd13fbd7cdb5. ACT with official ResNet18 ImageNet initialization, approximately 51.6M parameters, FP32, batch size 8, chunk size 50. AdamW learning rate 1e-5, weight decay 1e-4, gradient clip 10, KL weight 10. Numerical mean/std normalization and ImageNet RGB normalization; no image augmentation, crop or resize. Original seed 1000.
Continuation restored policy/normalization tensors, AdamW state, update counters and RNG. Data loaders were reconstructed, so interrupted and uninterrupted training are not claimed to be bitwise equivalent. The diagnostic 42k run retained global normalization from the original dataset and restricted complete action chunks to the first 2,500 frames.
Observed results and limitations
On 45 fixed training observations, 20k → 40k reduced arm first-action MAE from 0.029099 to 0.017517 rad, and closure first-action MAE from 0.047080 to 0.034815. Opening/closing transitions remained weak; some individual phase metrics worsened.
In a separate fixed first-bottle diagnostic, original actions replayed through the controller successfully placed the bottle. The 40k policy failed to grasp it in 50 simulated seconds, with left closure never exceeding approximately 0.21. The short-task 42k policy produced full closure but still failed to lift/place the bottle. Taking over from the exact demonstrated pre-grasp state also failed. Both policies were tested using the same controller, synchronous replanning every 20 steps, and existing startup blending/action conditioning. These are single-scene diagnostics, not success-rate estimates.
The diagnostic 42k model reduced first-action arm MAE from 0.016207 to 0.009403 rad and closure MAE from 0.022758 to 0.016481 on 65 fixed observations from its training segment. This did not translate into successful closed-loop grasping. Do not interpret 42k as a generally validated upgrade.
Download / load
Use the pinned LeRobot revision and the exact observation/action contract above. Download one checkpoint directory rather than all versions if only one is needed:
from huggingface_hub import snapshot_download
from pathlib import Path
from lerobot.common.policies.act.modeling_act import ACTPolicy
from lerobot.common.policies.pretrained import PreTrainedConfig
root = Path(snapshot_download(
repo_id="Bigluck77/g1_med_sort_act",
allow_patterns=["checkpoints/040000/*"],
))
checkpoint = root / "checkpoints/040000/pretrained_model"
config = PreTrainedConfig.from_pretrained(checkpoint, local_files_only=True)
config.pretrained_backbone_weights = None # Complete trained backbone is in this checkpoint.
policy = ACTPolicy.from_pretrained(
checkpoint, config=config, local_files_only=True, strict=True
).eval()
Private-repository downloads require an HF account with access, authenticated outside the script. These checkpoints are simulation research artifacts; no real-robot deployment has been validated.