lmm provides a heavily optimized Docker container.
The default entrypoint is set to the CLI (lmm).
# Display help menu
docker run -it wiseaidev/lmm --help
# Perform a text continuation prediction
docker run -it wiseaidev/lmm predict --text "Wise AI built the first LMM" --window 10 --predict-length 180You can pull the official pre-built image from Docker Hub:
docker pull wiseaidev/lmm:latestInstall the docker buildx plugin:
sudo apt-get update
sudo apt-get install docker-buildx-pluginOnce installed, you can use BuildKit natively using:
docker buildx build -t local/lmm .
docker run -it local/lmm --helpYou can alias the command for convenience in your shell profile (e.g. ~/.bashrc or ~/.zshrc):
alias lmm="docker run -it wiseaidev/lmm"