Overview
CCNets Causal GPT-RL Training Algorithm trains a reinforcement learning policy from trajectories you have already recorded, for teams building game AI, robotics, simulation, and automation agents.
Training is entirely offline. The job runs in your own AWS account and learns from the dataset you upload, so your simulator, game build, or robot never has to run inside the training container.
You are not left waiting in the dark until it finishes. Runnable policies are written to the checkpoint S3 location you configure for the job, at regular points through the run and again whenever the policy improves, so you can pull each one as it lands, score it in your target environment, and stop early once you have what you need.
A transformer looped through its own output drifts, and reinforcement learning has no internet-scale corpus for those errors to average out, so we built the reinforcement learning algorithm that holds a GPT stable across a full episode instead. Because the model outputs actions rather than language it stays small, and because it stays autoregressive you can choose the history window at deployment without retraining.
That structure also changes what setup costs you. Reinforcement learning is usually built on hand-tuned MLP stacks, so every new environment turns into its own tuning campaign. Posing it as a sequence-modeling problem instead moves it onto ground that language models are already known to be forgiving on: the same training configuration carries across environments, and you choose the model capacity that fits the deployment you have in mind, so the policy is built at the size you intend to run.
Trained policy bundles and trajectory datasets for MuJoCo and Unity ML-Agents environments are published publicly, so you can see what the algorithm produces before committing your own data.
Resources
-
Start here, the four-part walkthrough from data to a policy you can prompt https://github.com/ccnets-team/causal-gpt-rl/blob/main/training/docs/journey/01-bring-your-own-data.md
-
GitHub repository and public inference runtime https://github.com/ccnets-team/causal-gpt-rl
-
AWS Marketplace and SageMaker training guide https://github.com/ccnets-team/causal-gpt-rl/blob/main/training/docs/aws/aws-marketplace-training.md
-
MuJoCo policy bundles and benchmark results https://huggingface.co/ccnets/causal-gpt-rl
-
MuJoCo training runs, the public W&B logs behind those results https://wandb.ai/causal-gpt-rl/mujoco
-
Unity ML-Agents policies and benchmark results https://huggingface.co/ccnets/causal-gpt-rl-unity
-
Unity ML-Agents trajectory datasets https://huggingface.co/datasets/ccnets/causal-gpt-rl-unity-datasets
-
Unity ML-Agents environments https://huggingface.co/datasets/ccnets/causal-gpt-rl-unity-envs
-
CCNets https://ccnets.org
Highlights
- Offline reinforcement learning from trajectory data you already have. Your simulator, game build, or robot never runs inside the training container, so there is nothing to port to the cloud and nothing to license.
- Runnable policy bundles land in your own S3 while the job is still training, delivered at five points across the run and again whenever the policy improves. Score them in your target environment and stop the job early once they are good enough.
- One training configuration carries across environments, with no per-environment tuning campaign. The GPT-style structure keeps the policy small, and you choose the model size you intend to deploy before training starts.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.g5.xlarge Training Recommended | Algorithm training on the ml.g5.xlarge instance type | $4.00 |
ml.m5.xlarge Inference (Batch) Recommended | Model inference on the ml.m5.xlarge instance type, batch mode | $1.00 |
ml.m5.xlarge Inference (Real-Time) Recommended | Model inference on the ml.m5.xlarge instance type, real-time mode | $1.00 |
ml.m5.2xlarge Inference (Batch) | Model inference on the ml.m5.2xlarge instance type, batch mode | $1.00 |
ml.m5.2xlarge Inference (Real-Time) | Model inference on the ml.m5.2xlarge instance type, real-time mode | $1.00 |
ml.m5.4xlarge Inference (Batch) | Model inference on the ml.m5.4xlarge instance type, batch mode | $1.00 |
ml.m5.4xlarge Inference (Real-Time) | Model inference on the ml.m5.4xlarge instance type, real-time mode | $1.00 |
ml.m5.large Inference (Batch) | Model inference on the ml.m5.large instance type, batch mode | $1.00 |
ml.m5.large Inference (Real-Time) | Model inference on the ml.m5.large instance type, real-time mode | $1.00 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
CCNets may review refund requests case by case for duplicate charges, AWS Marketplace billing errors, inability to access the product due to a CCNets-side issue, or confirmed defects in the Marketplace container or product configuration. Refunds are not provided for customer configuration errors, unsupported datasets, dataset quality issues, unmet performance expectations, or successfully completed usage. Requests must be sent within 14 days to support@ccnets.org .
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker algorithm
An Amazon SageMaker algorithm is a machine learning model that requires your training data to make predictions. Use the included training algorithm to generate your unique model artifact. Then deploy the model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
CCNets Causal GPT-RL Training Algorithm, SageMaker Algorithm version cgrl-training-algorithm-v0-0-14.
What is new
The training algorithm generalizes further across tasks. The published MuJoCo training runs for Humanoid, HalfCheetah, Ant, Walker2d, and Hopper were all produced by this version on one untuned configuration, so the defaults carry over a wider spread of control problems than they did before.
Nothing changes on your side to get it. The job configuration, the dataset format, the hyperparameters, and the bundles you are delivered are the same as before.
Additional details
Inputs
- Summary
You start from trajectories you have already recorded. The training channel points to an Amazon S3 prefix holding one or more Minari-compatible dataset directories, and the dataset_ids hyperparameter selects which of them to train on as paths relative to that channel root.
The dataset is the contract. A Minari dataset already stores trajectories as ordered state and action steps and carries the Gymnasium space definitions for those fields, so the algorithm reads the policy's input and output structure directly from your data, with nothing separate to declare or map. A dataset you already have trains as it stands, and if you are recording new data, the spaces you choose to record are the input and output interface you will get.
That interface can follow the environment you already have. Observations and actions may combine continuous and categorical fields in the same structure, with Dict and Tuple containers nested as needed, so continuous control and discrete choices sit side by side in one hybrid space rather than being flattened into a single numeric vector.
The same contract can be pushed further, because what you put in the observation is also how you steer the policy. Action masks, goals, modes, task IDs, and encoded instruction vectors are learned as part of the state, so a single trained policy can be redirected at run time by what you feed it rather than retrained for each new objective.
If you have a simulator rather than a dataset, that is where the data comes from. A game build or physics simulator can be rolled out to record trajectories, and a controller you already run, scripted or learned, can drive that rollout to produce exactly the behavior you want the policy to learn from.
- Limitations for input type
- Training input must be ordered offline reinforcement learning trajectories stored as Minari-compatible dataset directories containing observations, actions, rewards, terminations, and truncations. dataset_ids must reference paths under the training channel root. Supported leaf spaces are one-dimensional Box, Discrete, MultiDiscrete, and MultiBinary, nested freely inside Dict and Tuple containers. Multidimensional image Box, Text, Sequence, Graph, OneOf, and variable-length structures are not supported. Encode raw text, images, audio, or variable-length inputs as fixed-size numeric fields before recording them. Trajectories from a simulator must be collected outside the training container. The training job never launches the Unity Editor or your game build, and SageMaker trains only from the uploaded dataset.
- Input MIME type
- application/json
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
Field name | Description | Constraints | Required |
|---|---|---|---|
dataset_ids | Comma-separated Minari dataset IDs to use for training. Each dataset ID is interpreted relative to the SageMaker training channel root. Example: mujoco/humanoid/simple-v0,mujoco/humanoid/medium-v0 | - | Yes |
max_steps | Maximum number of training update steps, where a step is one training-loop update and not an episode count. This value also sets the delivery schedule: bundles are delivered at 20, 40, 60, 80, and 100 percent of it. | Any non-negative integer, no upper bound. 0 finishes without training, as a smoke test. | No |
batch_size | Training minibatch size. The value is moved to the nearest of 32, 64, 128, 256, and 512, and may be lowered further if the dataset cannot fill it. The effective value is recorded in the exported bundle. | 32 to 512. Normalized to the nearest of 32, 64, 128, 256, and 512, and lowered further if the dataset cannot fill it. | No |
context_length | How many trajectory steps the policy reads as history while training. The value is moved to the nearest of 16, 24, 32, 48, and 64, and may be lowered further with batch size if the dataset cannot fill it. The effective value is recorded in the exported bundle and becomes the policy's default history window when it is served. | Any positive integer. Normalized to the nearest of 16, 24, 32, 48, and 64, and lowered further with batch size if the dataset cannot fill it. | No |
archive_steps | Optional extra delivery points, given as comma-separated training steps, in addition to the five scheduled across max_steps. Use it when you want a finer trend to judge early stopping against. Example: 25000,75000. The hyperparameter guide describes how requested steps are selected. | Comma-separated step numbers. Out-of-range steps are dropped and duplicates collapse; if more than 10 remain, the 10 largest are used. Only a non-numeric entry fails the job. | No |
Resources
Support
Vendor support
For product support, contact CCNets at support@ccnets.org .
Website: https://ccnets.org
CCNets provides email-based technical support for this product. Support includes guidance for Amazon SageMaker training job configuration, container usage, supported hyperparameters, CloudWatch log review, S3 model artifact output, and general troubleshooting related to running the algorithm.
This product is intended for technical users familiar with Amazon SageMaker and reinforcement learning workflows. Support does not include custom model development, customer-specific dataset engineering, production system integration, or guaranteed performance tuning unless separately agreed with CCNets.
For enterprise deployment, custom training workflows, or integration support, please contact CCNets to discuss a separate support arrangement.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products
