Router¶
trimbed.cli.__main__
¶
The main trimbed command.
trimbed inspect --model codefuse-ai/F2LLM-v2-160M
trimbed trim --config my_config.yaml --dry-run selection.top_k=30000
trimbed presets
Each subcommand owns its own arguments, in add_arguments, next to the run they feed.
This module holds the table of subcommand names and nothing else, so adding a command is
a new module plus one line here.
main
¶
Parse the command line and hand the arguments to the chosen subcommand's run.
View source on GitHub: src/trimbed/cli/__main__.py lines 30–48