Ian26/MarsLM-bucket / scripts /export_llama_cpp.ps1
Ian26's picture
download
raw
764 Bytes
<#
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)"

Xet Storage Details

Size:
764 Bytes
·
Xet hash:
de5f78d8e3f94e9adb2d0f3ea16ddd46d73ce5cf9cb9573743b2cde5c7222c46

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.