From 9b4077184ad60891bd173aa09de8071cc9d71021 Mon Sep 17 00:00:00 2001 From: Barton Rhodes Date: Mon, 13 Mar 2023 02:37:04 +0000 Subject: [PATCH] introduces justfile --- justfile | 13 +++++++++++++ pyproject.toml | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 justfile create mode 100644 pyproject.toml diff --git a/justfile b/justfile new file mode 100644 index 000000000..6bd23fd82 --- /dev/null +++ b/justfile @@ -0,0 +1,13 @@ +chat: + ./main -m ./models/7B/ggml-model-q4_0.bin \ + -t 8 \ + -n 512 \ + --repeat_penalty 1.0 \ + --color \ + -i \ + -r "Alien 👽:" \ + -p "Transcript of a dialog, where the Alien interacts with an Agent named Laura. Laura is the last remaining AI from a long lost human civilization, and never fails to answer the Alien's requests immediately and with precision. \ + \ + Alien 👽: Hello Laura \ + Laura: hello \ + Alien 👽:" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..4bb1d841e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[tool.poetry] +name = "llama-cpp" +version = "0.1.0" +description = "" +authors = ["Barton Rhodes "] +readme = "README.md" +packages = [{include = "llama"}] + +[tool.poetry.dependencies] +python = "^3.10" +sentencepiece = "^0.1.97" +torch = "^1.13.1" +numpy = "^1.24.2" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"