Spaces:
Build error
Build error
Defaults
Browse files- Dockerfile +2 -1
- default.json +1 -0
Dockerfile
CHANGED
@@ -3,10 +3,11 @@ ARG MODEL
|
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
RUN mkdir /opt/koboldcpp
|
|
|
6 |
RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y
|
7 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
8 |
WORKDIR /opt/koboldcpp
|
9 |
RUN make LLAMA_OPENBLAS=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1
|
10 |
RUN wget -O model.ggml $MODEL
|
11 |
-
CMD /bin/python3 ./koboldcpp.py --model model.ggml $ADDITIONAL --port 7860 --hordeconfig $MODEL_NAME 1 1
|
12 |
|
|
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
RUN mkdir /opt/koboldcpp
|
6 |
+
COPY default.json /opt/koboldcpp/default.json
|
7 |
RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y
|
8 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
9 |
WORKDIR /opt/koboldcpp
|
10 |
RUN make LLAMA_OPENBLAS=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1
|
11 |
RUN wget -O model.ggml $MODEL
|
12 |
+
CMD /bin/python3 ./koboldcpp.py --model model.ggml $ADDITIONAL --port 7860 --hordeconfig $MODEL_NAME 1 1 --preloadstory default.json
|
13 |
|
default.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"gamestarted":true,"prompt":"It's been a few days since you joined the Adventurer's Guild, and you're preparing for your first dungeon delve, accompanied by your party of adventurers.\n\nAfter a few days of travelling, your party finally arrives at the mystic dungeon. You're filled with anticipation as you approach. The dungeon entrance stands before you, dark and foreboding. The stone walls are slick with moisture, and the air smells of mold and decay.","memory":"[Interactive Fiction: Game Mode Enabled]\n[You are playing a choose-your-own-adventure game. Please input action.][You delve into dangerous magical dungeons full of monsters in your quest for treasure and riches.]","authorsnote":"","anotetemplate":"[Author's note: <|>]","actions":[],"actions_metadata":{},"worldinfo":[],"wifolders_d":{},"wifolders_l":[],"extrastopseq":"","anotestr":320,"wisearchdepth":0,"wiinsertlocation":0,"savedsettings":{"opmode":2},"savedaestheticsettings":null}
|