gpt-2-ggml

作者 marella · 下载 604 · 点赞 11 · 更新 2023-11-02

pip install ctransformers
from ctransformers import AutoModelForCausalLM

llm = AutoModelForCausalLM.from_pretrained('marella/gpt-2-ggml')

print(llm('AI is going to'))

See https://github.com/marella/ctransformers