export_model
Export fine-tuned Unsloth models to GGUF, Ollama, vLLM, or Hugging Face formats for deployment, supporting quantization to optimize file size and performance.
Instructions
Export a fine-tuned Unsloth model to various formats
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_path": "<model_path>",
"export_format": "<export_format>",
"output_path": "<output_path>"
},
"name": "export_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_path | Yes | Path to the fine-tuned model | |
| export_format | Yes | Format to export to (gguf, ollama, vllm, huggingface) | |
| output_path | Yes | Path to save the exported model | |
| quantization_bits | No | Bits for quantization (for GGUF export) |