cobrakenji commited on
Commit
c5dae5b
1 Parent(s): a8df48f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +116 -0
README.md ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ tags:
5
+ - code
6
+ - granite
7
+ - llama-cpp
8
+ - gguf-my-repo
9
+ base_model: ibm-granite/granite-34b-code-base
10
+ datasets:
11
+ - bigcode/commitpackft
12
+ - TIGER-Lab/MathInstruct
13
+ - meta-math/MetaMathQA
14
+ - glaiveai/glaive-code-assistant-v3
15
+ - glaive-function-calling-v2
16
+ - bugdaryan/sql-create-context-instruction
17
+ - garage-bAInd/Open-Platypus
18
+ - nvidia/HelpSteer
19
+ metrics:
20
+ - code_eval
21
+ pipeline_tag: text-generation
22
+ inference: true
23
+ model-index:
24
+ - name: granite-34b-code-instruct
25
+ results:
26
+ - task:
27
+ type: text-generation
28
+ dataset:
29
+ name: HumanEvalSynthesis(Python)
30
+ type: bigcode/humanevalpack
31
+ metrics:
32
+ - type: pass@1
33
+ value: 62.2
34
+ name: pass@1
35
+ - type: pass@1
36
+ value: 56.7
37
+ name: pass@1
38
+ - type: pass@1
39
+ value: 62.8
40
+ name: pass@1
41
+ - type: pass@1
42
+ value: 47.6
43
+ name: pass@1
44
+ - type: pass@1
45
+ value: 57.9
46
+ name: pass@1
47
+ - type: pass@1
48
+ value: 41.5
49
+ name: pass@1
50
+ - type: pass@1
51
+ value: 53.0
52
+ name: pass@1
53
+ - type: pass@1
54
+ value: 45.1
55
+ name: pass@1
56
+ - type: pass@1
57
+ value: 50.6
58
+ name: pass@1
59
+ - type: pass@1
60
+ value: 36.0
61
+ name: pass@1
62
+ - type: pass@1
63
+ value: 42.7
64
+ name: pass@1
65
+ - type: pass@1
66
+ value: 23.8
67
+ name: pass@1
68
+ - type: pass@1
69
+ value: 54.9
70
+ name: pass@1
71
+ - type: pass@1
72
+ value: 47.6
73
+ name: pass@1
74
+ - type: pass@1
75
+ value: 55.5
76
+ name: pass@1
77
+ - type: pass@1
78
+ value: 51.2
79
+ name: pass@1
80
+ - type: pass@1
81
+ value: 47.0
82
+ name: pass@1
83
+ - type: pass@1
84
+ value: 45.1
85
+ name: pass@1
86
+ ---
87
+
88
+ # cobrakenji/granite-34b-code-instruct-Q4_K_M-GGUF
89
+ This model was converted to GGUF format from [`ibm-granite/granite-34b-code-instruct`](https://huggingface.co/ibm-granite/granite-34b-code-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
90
+ Refer to the [original model card](https://huggingface.co/ibm-granite/granite-34b-code-instruct) for more details on the model.
91
+ ## Use with llama.cpp
92
+
93
+ Install llama.cpp through brew.
94
+
95
+ ```bash
96
+ brew install ggerganov/ggerganov/llama.cpp
97
+ ```
98
+ Invoke the llama.cpp server or the CLI.
99
+
100
+ CLI:
101
+
102
+ ```bash
103
+ llama-cli --hf-repo cobrakenji/granite-34b-code-instruct-Q4_K_M-GGUF --model granite-34b-code-instruct.Q4_K_M.gguf -p "The meaning to life and the universe is"
104
+ ```
105
+
106
+ Server:
107
+
108
+ ```bash
109
+ llama-server --hf-repo cobrakenji/granite-34b-code-instruct-Q4_K_M-GGUF --model granite-34b-code-instruct.Q4_K_M.gguf -c 2048
110
+ ```
111
+
112
+ 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.
113
+
114
+ ```
115
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m granite-34b-code-instruct.Q4_K_M.gguf -n 128
116
+ ```