morriszms commited on
Commit
79c3c16
1 Parent(s): d3f4e9e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ code_gpt2-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ code_gpt2-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ code_gpt2-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ code_gpt2-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ code_gpt2-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ code_gpt2-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ code_gpt2-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ code_gpt2-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ code_gpt2-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ code_gpt2-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ code_gpt2-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ code_gpt2-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - gpt2
7
+ - dpo
8
+ - code
9
+ - TensorBlock
10
+ - GGUF
11
+ datasets:
12
+ - HuggingFaceH4/ultrachat_200k
13
+ - mlabonne/CodeLlama-2-20k
14
+ - Intel/orca_dpo_pairs
15
+ - Sharathhebbar24/Evol-Instruct-Code-80k-v1
16
+ - Sharathhebbar24/sql-create-context
17
+ pipeline_tag: text-generation
18
+ base_model: Sharathhebbar24/code_gpt2
19
+ model-index:
20
+ - name: code_gpt2
21
+ results:
22
+ - task:
23
+ type: text-generation
24
+ name: Text Generation
25
+ dataset:
26
+ name: AI2 Reasoning Challenge (25-Shot)
27
+ type: ai2_arc
28
+ config: ARC-Challenge
29
+ split: test
30
+ args:
31
+ num_few_shot: 25
32
+ metrics:
33
+ - type: acc_norm
34
+ value: 23.29
35
+ name: normalized accuracy
36
+ source:
37
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
38
+ name: Open LLM Leaderboard
39
+ - task:
40
+ type: text-generation
41
+ name: Text Generation
42
+ dataset:
43
+ name: HellaSwag (10-Shot)
44
+ type: hellaswag
45
+ split: validation
46
+ args:
47
+ num_few_shot: 10
48
+ metrics:
49
+ - type: acc_norm
50
+ value: 30.99
51
+ name: normalized accuracy
52
+ source:
53
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
54
+ name: Open LLM Leaderboard
55
+ - task:
56
+ type: text-generation
57
+ name: Text Generation
58
+ dataset:
59
+ name: MMLU (5-Shot)
60
+ type: cais/mmlu
61
+ config: all
62
+ split: test
63
+ args:
64
+ num_few_shot: 5
65
+ metrics:
66
+ - type: acc
67
+ value: 25.03
68
+ name: accuracy
69
+ source:
70
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
71
+ name: Open LLM Leaderboard
72
+ - task:
73
+ type: text-generation
74
+ name: Text Generation
75
+ dataset:
76
+ name: TruthfulQA (0-shot)
77
+ type: truthful_qa
78
+ config: multiple_choice
79
+ split: validation
80
+ args:
81
+ num_few_shot: 0
82
+ metrics:
83
+ - type: mc2
84
+ value: 40.6
85
+ source:
86
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
87
+ name: Open LLM Leaderboard
88
+ - task:
89
+ type: text-generation
90
+ name: Text Generation
91
+ dataset:
92
+ name: Winogrande (5-shot)
93
+ type: winogrande
94
+ config: winogrande_xl
95
+ split: validation
96
+ args:
97
+ num_few_shot: 5
98
+ metrics:
99
+ - type: acc
100
+ value: 49.25
101
+ name: accuracy
102
+ source:
103
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
104
+ name: Open LLM Leaderboard
105
+ - task:
106
+ type: text-generation
107
+ name: Text Generation
108
+ dataset:
109
+ name: GSM8k (5-shot)
110
+ type: gsm8k
111
+ config: main
112
+ split: test
113
+ args:
114
+ num_few_shot: 5
115
+ metrics:
116
+ - type: acc
117
+ value: 0.0
118
+ name: accuracy
119
+ source:
120
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/code_gpt2
121
+ name: Open LLM Leaderboard
122
+ ---
123
+
124
+ <div style="width: auto; margin-left: auto; margin-right: auto">
125
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
126
+ </div>
127
+ <div style="display: flex; justify-content: space-between; width: 100%;">
128
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
129
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
130
+ Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
131
+ </p>
132
+ </div>
133
+ </div>
134
+
135
+ ## Sharathhebbar24/code_gpt2 - GGUF
136
+
137
+ This repo contains GGUF format model files for [Sharathhebbar24/code_gpt2](https://huggingface.co/Sharathhebbar24/code_gpt2).
138
+
139
+ The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
140
+
141
+ <div style="text-align: left; margin: 20px 0;">
142
+ <a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
143
+ Run them on the TensorBlock client using your local machine ↗
144
+ </a>
145
+ </div>
146
+
147
+ ## Prompt template
148
+
149
+ ```
150
+
151
+ ```
152
+
153
+ ## Model file specification
154
+
155
+ | Filename | Quant type | File Size | Description |
156
+ | -------- | ---------- | --------- | ----------- |
157
+ | [code_gpt2-Q2_K.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q2_K.gguf) | Q2_K | 0.081 GB | smallest, significant quality loss - not recommended for most purposes |
158
+ | [code_gpt2-Q3_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q3_K_S.gguf) | Q3_K_S | 0.090 GB | very small, high quality loss |
159
+ | [code_gpt2-Q3_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q3_K_M.gguf) | Q3_K_M | 0.098 GB | very small, high quality loss |
160
+ | [code_gpt2-Q3_K_L.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q3_K_L.gguf) | Q3_K_L | 0.102 GB | small, substantial quality loss |
161
+ | [code_gpt2-Q4_0.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q4_0.gguf) | Q4_0 | 0.107 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
162
+ | [code_gpt2-Q4_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q4_K_S.gguf) | Q4_K_S | 0.107 GB | small, greater quality loss |
163
+ | [code_gpt2-Q4_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q4_K_M.gguf) | Q4_K_M | 0.113 GB | medium, balanced quality - recommended |
164
+ | [code_gpt2-Q5_0.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q5_0.gguf) | Q5_0 | 0.122 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
165
+ | [code_gpt2-Q5_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q5_K_S.gguf) | Q5_K_S | 0.122 GB | large, low quality loss - recommended |
166
+ | [code_gpt2-Q5_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q5_K_M.gguf) | Q5_K_M | 0.127 GB | large, very low quality loss - recommended |
167
+ | [code_gpt2-Q6_K.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q6_K.gguf) | Q6_K | 0.138 GB | very large, extremely low quality loss |
168
+ | [code_gpt2-Q8_0.gguf](https://huggingface.co/tensorblock/code_gpt2-GGUF/blob/main/code_gpt2-Q8_0.gguf) | Q8_0 | 0.178 GB | very large, extremely low quality loss - not recommended |
169
+
170
+
171
+ ## Downloading instruction
172
+
173
+ ### Command line
174
+
175
+ Firstly, install Huggingface Client
176
+
177
+ ```shell
178
+ pip install -U "huggingface_hub[cli]"
179
+ ```
180
+
181
+ Then, downoad the individual model file the a local directory
182
+
183
+ ```shell
184
+ huggingface-cli download tensorblock/code_gpt2-GGUF --include "code_gpt2-Q2_K.gguf" --local-dir MY_LOCAL_DIR
185
+ ```
186
+
187
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
188
+
189
+ ```shell
190
+ huggingface-cli download tensorblock/code_gpt2-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
191
+ ```
code_gpt2-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbeb6d8c17592259b8dd835ea8702f9512be62375f4cf61905c0cf6485050efe
3
+ size 81197888
code_gpt2-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f360625af21909f41a29f3dda475aa63a7d4ca445df6ac526218c639c081079d
3
+ size 102093824
code_gpt2-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ebd3e6043c589613dbf3decaecb540d2e118f54ccd2e3f3e1df742ea601efdc
3
+ size 97670144
code_gpt2-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dae56f810678a645dbc5b7609723fbd913ff2fc0e8b22e3fe61aabea92245a58
3
+ size 90149888
code_gpt2-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef1e8101fa3dc7b962e0d56d80a7cc27d363b591456bf8fbd1fd0e04d8d1a31d
3
+ size 106556480
code_gpt2-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a87e08eb596241f798817e2ff57e4c89cd3238d6e72509c966a0e181ef0c2c
3
+ size 112860224
code_gpt2-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a495dcc19d225a9b7b7161817bb2bc33308c5bd2b8ca34ae34674cfbf331eda
3
+ size 106851392
code_gpt2-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53ee96c113c290e65cd9f67bef0655951eccc06883d72e0c0ce07c0fb20eab0e
3
+ size 121997984
code_gpt2-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e313614801667f98a2337016aa71f0d85747daa4b1a04e4f1f6104fc1db4995
3
+ size 126698144
code_gpt2-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5654d0ac9f372cf481ec07ef2ff0d7d0cc3db902f025951e29451e55eaee76d
3
+ size 121997984
code_gpt2-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f4b6996d1cbfc0a90740bc00ca79f2bbb6bd7425aeece2e67d6b8b26d8cec20
3
+ size 138404576
code_gpt2-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55cd9f89038d305f1c8852e1f968ed4aa37f456e4dcb9cee351fda2c2f017bb3
3
+ size 177670304