CoolFace
Apppublic

Unmid/MiniCPM5-1B

sourceHugging Facemitupdated 6d agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1FROM ghcr.io/ggml-org/llama.cpp:full2 3WORKDIR /app4 5RUN apt update && apt install -y python3 python3-pip python3-venv6RUN python3 -m venv /opt/venv7ENV PATH="/opt/venv/bin:$PATH"8 9RUN pip install -U pip huggingface_hub10 11RUN python3 -c 'from huggingface_hub import hf_hub_download; \12    repo="Abiray/MiniCPM5-1B-GGUF"; \13    hf_hub_download(repo_id=repo, filename="minicpm5-1b-Q4_K_M.gguf", local_dir="/app")'14 15CMD ["--server", \16     "-m", "/app/minicpm5-1b-Q4_K_M.gguf", \17     "--host", "0.0.0.0", \18     "--port", "7860", \19     "-t", "4", \20     "--cache-type-k", "f16", \21     "--cache-type-v", "f16", \22     "-c", "10000", \23     "-n", "8096"]