Sagicc commited on
Commit
82d78ab
1 Parent(s): b5babf1

Update README.md

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