cobrakenji commited on
Commit
756371b
1 Parent(s): 245f4f3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +129 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ tags:
5
+ - code
6
+ - granite
7
+ - llama-cpp
8
+ - gguf-my-repo
9
+ datasets:
10
+ - codeparrot/github-code-clean
11
+ - bigcode/starcoderdata
12
+ - open-web-math/open-web-math
13
+ - math-ai/StackMathQA
14
+ metrics:
15
+ - code_eval
16
+ pipeline_tag: text-generation
17
+ inference: false
18
+ model-index:
19
+ - name: granite-3b-code-base
20
+ results:
21
+ - task:
22
+ type: text-generation
23
+ dataset:
24
+ name: MBPP
25
+ type: mbpp
26
+ metrics:
27
+ - type: pass@1
28
+ value: 36.0
29
+ name: pass@1
30
+ - task:
31
+ type: text-generation
32
+ dataset:
33
+ name: MBPP+
34
+ type: evalplus/mbppplus
35
+ metrics:
36
+ - type: pass@1
37
+ value: 45.1
38
+ name: pass@1
39
+ - task:
40
+ type: text-generation
41
+ dataset:
42
+ name: HumanEvalSynthesis(Python)
43
+ type: bigcode/humanevalpack
44
+ metrics:
45
+ - type: pass@1
46
+ value: 36.6
47
+ name: pass@1
48
+ - type: pass@1
49
+ value: 37.2
50
+ name: pass@1
51
+ - type: pass@1
52
+ value: 40.9
53
+ name: pass@1
54
+ - type: pass@1
55
+ value: 26.2
56
+ name: pass@1
57
+ - type: pass@1
58
+ value: 35.4
59
+ name: pass@1
60
+ - type: pass@1
61
+ value: 22.0
62
+ name: pass@1
63
+ - type: pass@1
64
+ value: 25.0
65
+ name: pass@1
66
+ - type: pass@1
67
+ value: 18.9
68
+ name: pass@1
69
+ - type: pass@1
70
+ value: 29.9
71
+ name: pass@1
72
+ - type: pass@1
73
+ value: 17.1
74
+ name: pass@1
75
+ - type: pass@1
76
+ value: 26.8
77
+ name: pass@1
78
+ - type: pass@1
79
+ value: 14.0
80
+ name: pass@1
81
+ - type: pass@1
82
+ value: 18.3
83
+ name: pass@1
84
+ - type: pass@1
85
+ value: 23.2
86
+ name: pass@1
87
+ - type: pass@1
88
+ value: 29.9
89
+ name: pass@1
90
+ - type: pass@1
91
+ value: 24.4
92
+ name: pass@1
93
+ - type: pass@1
94
+ value: 16.5
95
+ name: pass@1
96
+ - type: pass@1
97
+ value: 3.7
98
+ name: pass@1
99
+ ---
100
+
101
+ # cobrakenji/granite-3b-code-base-Q5_K_M-GGUF
102
+ This model was converted to GGUF format from [`ibm-granite/granite-3b-code-base`](https://huggingface.co/ibm-granite/granite-3b-code-base) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
103
+ Refer to the [original model card](https://huggingface.co/ibm-granite/granite-3b-code-base) for more details on the model.
104
+ ## Use with llama.cpp
105
+
106
+ Install llama.cpp through brew.
107
+
108
+ ```bash
109
+ brew install ggerganov/ggerganov/llama.cpp
110
+ ```
111
+ Invoke the llama.cpp server or the CLI.
112
+
113
+ CLI:
114
+
115
+ ```bash
116
+ llama-cli --hf-repo cobrakenji/granite-3b-code-base-Q5_K_M-GGUF --model granite-3b-code-base.Q5_K_M.gguf -p "The meaning to life and the universe is"
117
+ ```
118
+
119
+ Server:
120
+
121
+ ```bash
122
+ llama-server --hf-repo cobrakenji/granite-3b-code-base-Q5_K_M-GGUF --model granite-3b-code-base.Q5_K_M.gguf -c 2048
123
+ ```
124
+
125
+ 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.
126
+
127
+ ```
128
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m granite-3b-code-base.Q5_K_M.gguf -n 128
129
+ ```