cobrakenji commited on
Commit
6a10c3c
1 Parent(s): 699b18a

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: true
18
+ model-index:
19
+ - name: granite-34b-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: 47.2
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: 53.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: 48.2
47
+ name: pass@1
48
+ - type: pass@1
49
+ value: 54.9
50
+ name: pass@1
51
+ - type: pass@1
52
+ value: 61.6
53
+ name: pass@1
54
+ - type: pass@1
55
+ value: 40.2
56
+ name: pass@1
57
+ - type: pass@1
58
+ value: 50.0
59
+ name: pass@1
60
+ - type: pass@1
61
+ value: 39.6
62
+ name: pass@1
63
+ - type: pass@1
64
+ value: 42.7
65
+ name: pass@1
66
+ - type: pass@1
67
+ value: 26.2
68
+ name: pass@1
69
+ - type: pass@1
70
+ value: 47.0
71
+ name: pass@1
72
+ - type: pass@1
73
+ value: 26.8
74
+ name: pass@1
75
+ - type: pass@1
76
+ value: 36.6
77
+ name: pass@1
78
+ - type: pass@1
79
+ value: 25.0
80
+ name: pass@1
81
+ - type: pass@1
82
+ value: 20.1
83
+ name: pass@1
84
+ - type: pass@1
85
+ value: 30.5
86
+ name: pass@1
87
+ - type: pass@1
88
+ value: 40.9
89
+ name: pass@1
90
+ - type: pass@1
91
+ value: 34.1
92
+ name: pass@1
93
+ - type: pass@1
94
+ value: 39.0
95
+ name: pass@1
96
+ - type: pass@1
97
+ value: 12.2
98
+ name: pass@1
99
+ ---
100
+
101
+ # cobrakenji/granite-34b-code-base-Q2_K-GGUF
102
+ This model was converted to GGUF format from [`ibm-granite/granite-34b-code-base`](https://huggingface.co/ibm-granite/granite-34b-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-34b-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-34b-code-base-Q2_K-GGUF --model granite-34b-code-base.Q2_K.gguf -p "The meaning to life and the universe is"
117
+ ```
118
+
119
+ Server:
120
+
121
+ ```bash
122
+ llama-server --hf-repo cobrakenji/granite-34b-code-base-Q2_K-GGUF --model granite-34b-code-base.Q2_K.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-34b-code-base.Q2_K.gguf -n 128
129
+ ```