mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-29 14:14:59 +00:00
Merge branch 'master' into feature/devcontainer
This commit is contained in:
commit
08167ea730
2 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
ARG GO_VERSION=1.20
|
||||
ARG DEBIAN_VERSION=11
|
||||
|
||||
FROM golang:$GO_VERSION as builder
|
||||
|
||||
WORKDIR /build
|
||||
RUN git clone --recurse-submodules https://github.com/go-skynet/go-llama.cpp
|
||||
ARG GO_LLAMA_CPP_TAG=llama.cpp-8b67998
|
||||
RUN git clone -b $GO_LLAMA_CPP_TAG --recurse-submodules https://github.com/go-skynet/go-llama.cpp
|
||||
RUN cd go-llama.cpp && make libbinding.a
|
||||
COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
|
|
|
@ -37,7 +37,7 @@ curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d
|
|||
|
||||
```
|
||||
|
||||
Note: You can use a use a default template for every model in your model path, by creating a corresponding file with the `.tmpl` suffix next to your model. For instance, if the model is called `foo.bin`, you can create a sibiling file, `foo.bin.tmpl` which will be used as a default prompt, for instance this can be used with alpaca:
|
||||
Note: You can use a default template for every model in your model path, by creating a corresponding file with the `.tmpl` suffix next to your model. For instance, if the model is called `foo.bin`, you can create a sibiling file, `foo.bin.tmpl` which will be used as a default prompt, for instance this can be used with alpaca:
|
||||
|
||||
```
|
||||
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue