Buckets:
| param( | |
| [string]$Prompt = "Programación", | |
| [string]$ModelPath = "artifacts/checkpoints/marslm-final.pt", | |
| [string]$ConfigPath = "artifacts/checkpoints/config.json", | |
| [string]$TokenizerPath = "artifacts/tokenizer/marslm.json", | |
| [int]$MaxNewTokens = 80, | |
| [double]$Temperature = 0.2 | |
| ) | |
| $ErrorActionPreference = "Stop" | |
| $scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| $repoRoot = Resolve-Path (Join-Path $scriptPath "..") | |
| Set-Location $repoRoot | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host "MarsLM - Generar texto" -ForegroundColor Cyan | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host "" | |
| Write-Host "Prompt: $Prompt" -ForegroundColor Yellow | |
| python inference/generate.py --model-path $ModelPath --config $ConfigPath --tokenizer-model $TokenizerPath --prompt $Prompt --max-new-tokens $MaxNewTokens --temperature $Temperature | |
Xet Storage Details
- Size:
- 955 Bytes
- Xet hash:
- bd06b721feb03dd0b759678b13f5a78c6d8c9454e649c59d8adc4c29a1f717e2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.