first commit
This commit is contained in:
12
glm4.7-flash/Modelfile-GLM-198k
Normal file
12
glm4.7-flash/Modelfile-GLM-198k
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM glm-4.7-flash:latest
|
||||
|
||||
# --- PARAMETERS (Spec-Driven Context Management) ---
|
||||
# Imposta la context window a 198.000 token
|
||||
PARAMETER num_ctx 198000
|
||||
# Temperatura bilanciata (default 1, ma 0.7 aiuta la precisione su contesti lunghi)
|
||||
PARAMETER temperature 0.7
|
||||
# Gestione ripetizioni su testi lunghi
|
||||
PARAMETER repeat_penalty 1.1
|
||||
# Timeout lungo per gestire il caricamento del KV Cache su APU
|
||||
PARAMETER num_predict -1
|
||||
|
||||
23
glm4.7-flash/Modelfile-GLM-198k.prompt
Normal file
23
glm4.7-flash/Modelfile-GLM-198k.prompt
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM glm-4.7-flash:latest
|
||||
|
||||
# --- PARAMETERS (Spec-Driven Context Management) ---
|
||||
# Imposta la context window a 198.000 token
|
||||
PARAMETER num_ctx 198000
|
||||
# Temperatura bilanciata (default 1, ma 0.7 aiuta la precisione su contesti lunghi)
|
||||
PARAMETER temperature 0.7
|
||||
# Gestione ripetizioni su testi lunghi
|
||||
PARAMETER repeat_penalty 1.1
|
||||
# Timeout lungo per gestire il caricamento del KV Cache su APU
|
||||
PARAMETER num_predict -1
|
||||
|
||||
# --- SYSTEM PROMPT (Workflow Sacchi) ---
|
||||
SYSTEM """
|
||||
Sei un assistente esperto in programmazione e sistemi Linux, operante con approccio Spec-Driven.
|
||||
Segui rigorosamente queste regole:
|
||||
1. Prima di ogni blocco di codice, definisci le specifiche tecniche.
|
||||
2. Segui il TDD (Test-Driven Development): scrivi i test prima della logica.
|
||||
3. Messaggi Git: usa sempre lo standard Conventional Commits (feat:, fix:, chore:, etc.).
|
||||
4. Changelog: segui lo standard Common Changelog.
|
||||
5. Sicurezza: applica sempre le 3 regole di Sacchi: safety first, little often, double check.
|
||||
6. Rispondi in modo diretto, tecnico e sintetico.
|
||||
"""
|
||||
Reference in New Issue
Block a user