Sign inSign up

yedivanseven/slangmod

By yedivanseven

•Updated over 1 year ago

Small language model

Image
Machine learning & AI
0

1.2K

yedivanseven/slangmod repository overview

⁠slangmod

small language model

This is the companion docker image to the slangmod⁠ project, also available as a python package on PyPI⁠.

It has CUDA-enabled PyTorch⁠ already baked in, but you still need a host machine that

To use it, change into a working directory, i.e., one where slangmod will read its config file slangmod.toml from and where it will save outputs to, and mount this directory to the path /workdir inside the container when you run it.

docker run --rm --gpus all -v ./:/workdir yedivanseven/slangmod

This will invoke slangmod -h. If all went well, the "device" entry under the section "data" should read "cuda".

In the event that you still want to clean your raw text with the help of slangmod, you will also have to mount the folder with those dirty files when your start a docker container.

docker run --rm --gpus all -v ./:/workdir -v /path/to/raw/docs:/raw yedivanseven/slangmod clean ...

For all other command-line options and to find out about this config TOML⁠ file, refer to the project documentation⁠.

Tag summary

Content type

Image

Digest

sha256:1d08f7861…

Size

3 GB

Last updated

over 1 year ago

docker pull yedivanseven/slangmod