Buckets:
| # PowerShell helper para cargar el modelo y abrir un prompt interactivo. | |
| # Ejecuta este script desde el directorio MarsLM. | |
| param( | |
| [string]$ModelPath = "artifacts\checkpoints\marslm-final.pt", | |
| [string]$ConfigPath = "artifacts\checkpoints\config.json", | |
| [string]$TokenizerPath = "artifacts\tokenizer\marslm.json", | |
| [int]$MaxNewTokens = 128, | |
| [double]$Temperature = 0.8, | |
| [int]$TopK = 50, | |
| [double]$TopP = 0.0, | |
| [double]$RepetitionPenalty = 1.0 | |
| ) | |
| $root = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| Set-Location "$root\.." | |
| Write-Host "Iniciando MarsLM en modo interactivo..." | |
| python inference/generate.py --model-path $ModelPath --config $ConfigPath --tokenizer-model $TokenizerPath --interactive --max-new-tokens $MaxNewTokens --temperature $Temperature --top-k $TopK --top-p $TopP --repetition-penalty $RepetitionPenalty | |
Xet Storage Details
- Size:
- 872 Bytes
- Xet hash:
- 79dae34cfbdb75f02f8b4ce3a23feca5c155bcad9ad9252fdde0f21efad9fcc4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.