diff --git a/.devops/full.Dockerfile b/.devops/full.Dockerfile index 01b3111d9..ef96ba9b8 100644 --- a/.devops/full.Dockerfile +++ b/.devops/full.Dockerfile @@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04 FROM ubuntu:$UBUNTU_VERSION as build RUN apt-get update && \ - apt-get install -y build-essential python3 python3-pip git + apt-get install -y build-essential python3 python3-pip git language-pack-zh-hans language-pack-zh-hant COPY requirements.txt requirements.txt diff --git a/README.md b/README.md index 00571d8e1..9a77420ab 100644 --- a/README.md +++ b/README.md @@ -633,6 +633,10 @@ or with a light image: ```bash docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:light -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 ``` +If you want to use Chinese model, use this command. +``` +docker run -v /path/to/models:/models -e LC_ALL=zh_CN.utf8 ghcr.io/ggerganov/llama.cpp:full --run -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 +``` ### Contributing