From 385b197129044e69704a34609bdf7afff227faf1 Mon Sep 17 00:00:00 2001 From: Mario Maresch <13378398+nordcomputer@users.noreply.github.com> Date: Tue, 21 Mar 2023 01:04:36 +0100 Subject: [PATCH 1/2] - added docker-compose file - use of ENV values --- docker-compose.yml | 11 +++++++++++ env.sample | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 docker-compose.yml create mode 100644 env.sample diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b5b768a --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' + +services: + dalai: + build: + context: . + args: + MODEL_VERSION: ${MODEL_VERSION} + MODEL_NAME: ${MODEL_NAME} + ports: + - "${PORT}" diff --git a/env.sample b/env.sample new file mode 100644 index 0000000..762d21e --- /dev/null +++ b/env.sample @@ -0,0 +1,3 @@ +MODEL_VERSION=13B +MODEL_NAME=alpaca +PORT=3000:3000 \ No newline at end of file From f2e60f482e5bceec0353dbb80f2b9f99095372f3 Mon Sep 17 00:00:00 2001 From: Mario Maresch <13378398+nordcomputer@users.noreply.github.com> Date: Tue, 21 Mar 2023 01:05:45 +0100 Subject: [PATCH 2/2] env samplefile with MODEL_VERSION 7B --- env.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.sample b/env.sample index 762d21e..4b91441 100644 --- a/env.sample +++ b/env.sample @@ -1,3 +1,3 @@ -MODEL_VERSION=13B +MODEL_VERSION=7B MODEL_NAME=alpaca PORT=3000:3000 \ No newline at end of file