matthoffner commited on
Commit
ea6071e
·
1 Parent(s): 0dfed5a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile CHANGED
@@ -32,6 +32,17 @@ RUN ggml/build/bin/starcoder-quantize models/./gpt_bigcode-santacoder/-ggml.bin
32
  RUN ls ggml/build/bin
33
  RUN emcc -Iggml/include -Iggml/include/ggml -Iggml/examples ggml/src/ggml.c ggml/examples/starcoder/main.cpp -o santacoder.js -s EXPORTED_FUNCTIONS='["_malloc","_free"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 --preload-file ggml-model-q4_0.bin
34
 
 
 
 
 
 
 
 
 
 
 
 
35
  COPY . .
36
 
37
  RUN ls -al
 
32
  RUN ls ggml/build/bin
33
  RUN emcc -Iggml/include -Iggml/include/ggml -Iggml/examples ggml/src/ggml.c ggml/examples/starcoder/main.cpp -o santacoder.js -s EXPORTED_FUNCTIONS='["_malloc","_free"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 --preload-file ggml-model-q4_0.bin
34
 
35
+ RUN git config --global user.email "[email protected]" \
36
+ && git config --global user.name "matthoffner" \
37
+ && export HOME=/root \
38
+ && touch $HOME/.netrc \
39
+ && git clone https://huggingface.co/matthoffner/santacoder-wasm \
40
+ && cd santacoder-wasm \
41
+ && git add starcoder.* \
42
+ && git commit -m 'Add model' \
43
+ && git push
44
+
45
+
46
  COPY . .
47
 
48
  RUN ls -al