# PowerShell script para generar texto con el modelo MarsLM. # Ejecuta este script desde el directorio MarsLM. $root = Split-Path -Parent $MyInvocation.MyCommand.Path Set-Location "$root\.." param( [string]$Prompt = "Hola, ¿puedes escribir un texto interesante?", [int]$MaxNewTokens = 80 ) Write-Host "Generando texto con el checkpoint final..." python inference/generate.py --model-path artifacts\checkpoints\marslm-final.pt --config artifacts\checkpoints\config.json --tokenizer-model artifacts\tokenizer\marslm.json --prompt "$Prompt" --max-new-tokens $MaxNewTokens