Go binding for ChatGLM.cpp.
git clone --recursive https://github.com/go-aie/chatglm.git && cd chatglmOr:
git clone https://github.com/go-aie/chatglm.git && cd chatglm
git submodule update --init --recursiveTransform ChatGLM-6B into 4-bit quantized GGML format:
make convertFor other transformations, see Quantize Model.
Build the ChatGLM.cpp libraries:
make buildRun the tests:
go test -v -race ./...