tinker_cookbook.scripts.merge_tinker_adapter_to_hf_model
Merge Tinker adapter weights to a HuggingFace model, and save the new model to a given path.
Please refer to the following documentation for how to download a Tinker sampler adapter weights: https://tinker-docs.thinkingmachines.ai/download-weights
Usage:
python merge_tinker_adapter_to_hf_model.py --hf-model
NOTE: This script is a thin CLI wrapper around tinker_cookbook.weights.build_hf_model(). For programmatic use, prefer importing from tinker_cookbook.weights directly.