Skip to content

Repository files navigation

license apache-2.0
title KenLM UI
sdk docker
emoji 📖
colorFrom green
colorTo gray
short_description Score texts and build KenLMs

KenLM UI

Install

curl -LsSf https://astral.sh/uv/install.sh | sh

uv venv --python 3.12.9

source .venv/bin/activate

uv pip install --upgrade setuptools wheel
uv pip install https://github.com/kpu/kenlm/archive/master.zip --no-build-isolation

uv pip install -r requirements.txt

Run

uv run app.py

Docker

Pull from a Registry

docker run -it --rm -p 7860:7860 --name kenlm-ui ghcr.io/crs-org/kenlm-ui:0.2.1

podman run -it --rm -p 7860:7860 --name kenlm-ui ghcr.io/crs-org/kenlm-ui:0.2.1

Build locally

Build image

docker build --platform linux/arm64 -t kenlm-trainer-gradio .

Run

docker run -it --rm -p 8888:7860 --name kenlm-trainer kenlm-trainer-gradio

Access

docker exec -it kenlm-trainer bash

About

UI that simplifies building of KenLM models

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages