<# PowerShell helper para generar los artefactos de MarsLM que luego puede intentar cargar llama.cpp. #> param( [string]$ModelPath = "artifacts\checkpoints\marslm-final.pt", [string]$ConfigPath = "artifacts\checkpoints\config.json", [string]$OutputPrefix = "artifacts\quantized\marslm_q4_1" ) $root = Split-Path -Parent $MyInvocation.MyCommand.Path Set-Location "$root\.." Write-Host "Exportando artesfactos para llama.cpp..." python quantization/export_gguf.py --model-path $ModelPath --config $ConfigPath --output $OutputPrefix --quant-type q4_1 --output-format gguf Write-Host "Listo. Archivos generados:" Write-Host " $OutputPrefix.gguf" Write-Host " $OutputPrefix.safetensors (o .pt si safetensors no está disponible)"