maxent_grpo

Copyright 2025 Liv d’Aliberti

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

MaxEnt-GRPO Python package namespace.

All public modules live under this package (e.g., maxent_grpo.training, maxent_grpo.cli). Importing maxent_grpo exposes those submodules through a light lazy-loader so code can use from maxent_grpo import training without pulling heavy dependencies until they are actually accessed.

Functions

main([script_args, training_args, model_args])

Run the MaxEnt trainer when configs are provided, else delegate to Hydra.

parse_grpo_args()

Parse GRPO CLI args via the training CLI parser.

maxent_grpo.main(script_args=None, training_args=None, model_args=None)[source]

Run the MaxEnt trainer when configs are provided, else delegate to Hydra.

Parameters:
  • script_args (Any | None)

  • training_args (Any | None)

  • model_args (Any | None)

Return type:

Any

maxent_grpo.parse_grpo_args()[source]

Parse GRPO CLI args via the training CLI parser.