up
This commit is contained in:
parent
5f2d03d06c
commit
05c04d828d
@ -14,10 +14,8 @@ RUN mkdir -p /models
|
|||||||
|
|
||||||
# Télécharge un petit modèle chat (TinyLlama 1.1B quantisé Q4) AU BUILD
|
# Télécharge un petit modèle chat (TinyLlama 1.1B quantisé Q4) AU BUILD
|
||||||
# => Embarqué dans l'image, pas besoin de réseau à l'exécution pour ce fichier.
|
# => Embarqué dans l'image, pas besoin de réseau à l'exécution pour ce fichier.
|
||||||
RUN curl -L --fail --progress-bar \
|
RUN curl -L -o /models/tinyllama-1.1b-chat.Q4_K_M.gguf \
|
||||||
-o /models/tinyllama-1.1b-chat.Q4_K_M.gguf \
|
https://huggingface.co/Skynet-LocalAI/tinyllama-1.1b-chat.Q4_K_M.gguf
|
||||||
https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf
|
|
||||||
|
|
||||||
# IMPORTANT : on utilise un heredoc NON quoted (<<YAML) pour EXPANSION des variables
|
# IMPORTANT : on utilise un heredoc NON quoted (<<YAML) pour EXPANSION des variables
|
||||||
# (n_ctx/n_threads prendront les valeurs de CONTEXT_SIZE/THREADS AU BUILD)
|
# (n_ctx/n_threads prendront les valeurs de CONTEXT_SIZE/THREADS AU BUILD)
|
||||||
RUN cat > /models/gpt-oss-20b.yaml <<YAML
|
RUN cat > /models/gpt-oss-20b.yaml <<YAML
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user