# tinker_cookbook.weights *Generated from tinker-cookbook at commit [`4a3a282`](https://github.com/thinking-machines-lab/tinker-cookbook/tree/4a3a2829190b45999021e423bc90b7523108edf4). Source links point at that snapshot.* | Class | Description | | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | | [`ModelCardConfig`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/modelcardconfig/index.md) | Configuration for auto-generating a HuggingFace model card. | | Function | Description | | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------- | | [`build_hf_model()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/build_hf_model/index.md) | Build a complete HuggingFace model from Tinker LoRA adapter weights. | | [`build_lora_adapter()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/build_lora_adapter/index.md) | Convert a Tinker LoRA adapter to standard PEFT format for serving. | | [`download()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/download/index.md) | Download a checkpoint from Tinker storage to local disk. | | [`publish_to_hf_hub()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/publish_to_hf_hub/index.md) | Push a model or adapter directory to HuggingFace Hub. | | [`generate_model_card()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/weights/generate_model_card/index.md) | Generate a HuggingFace model card from config. |