Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 859 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 859 Bytes

Archived

Use: https://github.com/go-skynet/go-llama.cpp

llama-go

This is llama.cpp port in golang to use as a library.

Usage

git clone https://github.com/go-skynet/llama.git
cd llama
make libllama.a
LIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go run ./examples/main.go -m ggml-alpaca-7b-q4.bin -n 10

Model

For a tiny model, you can use https://github.com/antimatter15/alpaca.cpp . For how to use the prompt, check: https://github.com/tatsu-lab/stanford_alpaca

License

MIT

Acknowledgements