Installation and Setup
- Install the Python package with
pip install ctransformers
- Download a supported GGML model (see Supported Models)
Wrappers
LLM
There exists a CTransformers LLM wrapper, which you can access with:illegal instruction
error, try using lib='avx'
or lib='basic'
:
.bin
files), specify a model file using:
config
parameter: