Skip to main content

Create a New Model

New models are added to and shared through GoodWoolf.

To create a new model:

  1. Install the package in editable mode:
uv pip install -e .
  1. Create a new model configuration, traning code and initial weights:
goodwoolf create <vendor>/<model> --config --model --weights

The command creates the following folders:

  • <gw_repo>/src/goodwoolf/config/<vendor>/<model> - Model configuration feched from Hugging Face.
  • <gw_repo>/src/goodwoolf/models/<vendor>/<model> - Model training code generated from a template in Python.
  • $GOODWOOLF_MODELS/<vendor>/<model> - Initial model weights.

While this command is provided for convenience, you can also create or modify the configuration and traning code files manually for complete customization.