From 4ff16b4fc7302bdb0b3342a794eef813e67bd2a3 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sat, 6 May 2023 01:45:01 +0200 Subject: [PATCH] HuggingFace Deploy Instructions --- huggingface-config/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/huggingface-config/README.md b/huggingface-config/README.md index 2fa9f03..49b1684 100644 --- a/huggingface-config/README.md +++ b/huggingface-config/README.md @@ -1,8 +1,8 @@ # How to Deploy on Hugging Face -1) Put all of the bots files within your HuggingFace Git Repo. +1) Move the "assets" directory and llamabot.js, package.json files into your HuggingFace repo directory. -2) Move the files Dockerfile - start.sh - startServices.json. (Overwrite the docker file found in the root of the project) +2) Move the files huggingface-config/Dockerfile - huggingface-config/start.sh - huggingface-config/startServices.json into the root of the hugging face repo. 3) Edit Docker file as you need, the dockerfile is set to automatically download Vicuna 1.1 7B @@ -10,4 +10,8 @@ You should then see the bot being built and deployed on HuggingFace -pm2 log will run automatically so you can see frontend and backend logs. \ No newline at end of file +pm2 log will run automatically so you can see frontend and backend logs. + +`test on  main ❯ ls +assets Dockerfile llama.js package.json README.md startServices.json start.sh +` \ No newline at end of file