Teoml commited on
Commit
07fb3b9
·
verified ·
1 Parent(s): e11d025

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bigscience-openrail-m
3
+ library_name: transformers
4
+ tags:
5
+ - code
6
+ - gpt_bigcode
7
+ - llama-cpp
8
+ - gguf-my-repo
9
+ datasets:
10
+ - nuprl/MultiPL-T
11
+ metrics:
12
+ - code_eval
13
+ base_model: nuprl/MultiPL-T-StarCoderBase_1b
14
+ model-index:
15
+ - name: MultiPLCoder-1b-OCaml
16
+ results:
17
+ - task:
18
+ type: text-generation
19
+ dataset:
20
+ name: MultiPL-HumanEval (Lua)
21
+ type: nuprl/MultiPL-E
22
+ metrics:
23
+ - type: pass@1
24
+ value: 0.173
25
+ name: pass@1
26
+ verified: true
27
+ - type: pass@1
28
+ value: 0.113
29
+ name: pass@1
30
+ verified: true
31
+ - type: pass@1
32
+ value: 0.097
33
+ name: pass@1
34
+ verified: true
35
+ ---
36
+
37
+ # Teoml/MultiPL-T-StarCoderBase_1b-Q4_K_M-GGUF
38
+ This model was converted to GGUF format from [`nuprl/MultiPL-T-StarCoderBase_1b`](https://huggingface.co/nuprl/MultiPL-T-StarCoderBase_1b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
39
+ Refer to the [original model card](https://huggingface.co/nuprl/MultiPL-T-StarCoderBase_1b) for more details on the model.
40
+
41
+ ## Use with llama.cpp
42
+ Install llama.cpp through brew (works on Mac and Linux)
43
+
44
+ ```bash
45
+ brew install llama.cpp
46
+
47
+ ```
48
+ Invoke the llama.cpp server or the CLI.
49
+
50
+ ### CLI:
51
+ ```bash
52
+ llama-cli --hf-repo Teoml/MultiPL-T-StarCoderBase_1b-Q4_K_M-GGUF --hf-file multipl-t-starcoderbase_1b-q4_k_m.gguf -p "The meaning to life and the universe is"
53
+ ```
54
+
55
+ ### Server:
56
+ ```bash
57
+ llama-server --hf-repo Teoml/MultiPL-T-StarCoderBase_1b-Q4_K_M-GGUF --hf-file multipl-t-starcoderbase_1b-q4_k_m.gguf -c 2048
58
+ ```
59
+
60
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
61
+
62
+ Step 1: Clone llama.cpp from GitHub.
63
+ ```
64
+ git clone https://github.com/ggerganov/llama.cpp
65
+ ```
66
+
67
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
68
+ ```
69
+ cd llama.cpp && LLAMA_CURL=1 make
70
+ ```
71
+
72
+ Step 3: Run inference through the main binary.
73
+ ```
74
+ ./llama-cli --hf-repo Teoml/MultiPL-T-StarCoderBase_1b-Q4_K_M-GGUF --hf-file multipl-t-starcoderbase_1b-q4_k_m.gguf -p "The meaning to life and the universe is"
75
+ ```
76
+ or
77
+ ```
78
+ ./llama-server --hf-repo Teoml/MultiPL-T-StarCoderBase_1b-Q4_K_M-GGUF --hf-file multipl-t-starcoderbase_1b-q4_k_m.gguf -c 2048
79
+ ```