Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +85 -0
- code_gpt2_mini_model-Q2_K.gguf +3 -0
- code_gpt2_mini_model-Q3_K_L.gguf +3 -0
- code_gpt2_mini_model-Q3_K_M.gguf +3 -0
- code_gpt2_mini_model-Q3_K_S.gguf +3 -0
- code_gpt2_mini_model-Q4_0.gguf +3 -0
- code_gpt2_mini_model-Q4_K_M.gguf +3 -0
- code_gpt2_mini_model-Q4_K_S.gguf +3 -0
- code_gpt2_mini_model-Q5_0.gguf +3 -0
- code_gpt2_mini_model-Q5_K_M.gguf +3 -0
- code_gpt2_mini_model-Q5_K_S.gguf +3 -0
- code_gpt2_mini_model-Q6_K.gguf +3 -0
- code_gpt2_mini_model-Q8_0.gguf +3 -0
.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_mini_model-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
code_gpt2_mini_model-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
code_gpt2_mini_model-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
code_gpt2_mini_model-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
code_gpt2_mini_model-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
code_gpt2_mini_model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
code_gpt2_mini_model-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
code_gpt2_mini_model-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
code_gpt2_mini_model-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
code_gpt2_mini_model-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
code_gpt2_mini_model-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
code_gpt2_mini_model-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- HuggingFaceH4/ultrachat_200k
|
5 |
+
- mlabonne/CodeLlama-2-20k
|
6 |
+
- Intel/orca_dpo_pairs
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
pipeline_tag: text-generation
|
10 |
+
tags:
|
11 |
+
- gpt2
|
12 |
+
- dpo
|
13 |
+
- TensorBlock
|
14 |
+
- GGUF
|
15 |
+
base_model: Sharathhebbar24/code_gpt2_mini_model
|
16 |
+
---
|
17 |
+
|
18 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
19 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
20 |
+
</div>
|
21 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
22 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
23 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
24 |
+
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>
|
25 |
+
</p>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
## Sharathhebbar24/code_gpt2_mini_model - GGUF
|
30 |
+
|
31 |
+
This repo contains GGUF format model files for [Sharathhebbar24/code_gpt2_mini_model](https://huggingface.co/Sharathhebbar24/code_gpt2_mini_model).
|
32 |
+
|
33 |
+
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).
|
34 |
+
|
35 |
+
<div style="text-align: left; margin: 20px 0;">
|
36 |
+
<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;">
|
37 |
+
Run them on the TensorBlock client using your local machine ↗
|
38 |
+
</a>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
## Prompt template
|
42 |
+
|
43 |
+
```
|
44 |
+
|
45 |
+
```
|
46 |
+
|
47 |
+
## Model file specification
|
48 |
+
|
49 |
+
| Filename | Quant type | File Size | Description |
|
50 |
+
| -------- | ---------- | --------- | ----------- |
|
51 |
+
| [code_gpt2_mini_model-Q2_K.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q2_K.gguf) | Q2_K | 0.081 GB | smallest, significant quality loss - not recommended for most purposes |
|
52 |
+
| [code_gpt2_mini_model-Q3_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q3_K_S.gguf) | Q3_K_S | 0.090 GB | very small, high quality loss |
|
53 |
+
| [code_gpt2_mini_model-Q3_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q3_K_M.gguf) | Q3_K_M | 0.098 GB | very small, high quality loss |
|
54 |
+
| [code_gpt2_mini_model-Q3_K_L.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q3_K_L.gguf) | Q3_K_L | 0.102 GB | small, substantial quality loss |
|
55 |
+
| [code_gpt2_mini_model-Q4_0.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q4_0.gguf) | Q4_0 | 0.107 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
56 |
+
| [code_gpt2_mini_model-Q4_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q4_K_S.gguf) | Q4_K_S | 0.107 GB | small, greater quality loss |
|
57 |
+
| [code_gpt2_mini_model-Q4_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q4_K_M.gguf) | Q4_K_M | 0.113 GB | medium, balanced quality - recommended |
|
58 |
+
| [code_gpt2_mini_model-Q5_0.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q5_0.gguf) | Q5_0 | 0.122 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
59 |
+
| [code_gpt2_mini_model-Q5_K_S.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q5_K_S.gguf) | Q5_K_S | 0.122 GB | large, low quality loss - recommended |
|
60 |
+
| [code_gpt2_mini_model-Q5_K_M.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q5_K_M.gguf) | Q5_K_M | 0.127 GB | large, very low quality loss - recommended |
|
61 |
+
| [code_gpt2_mini_model-Q6_K.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q6_K.gguf) | Q6_K | 0.138 GB | very large, extremely low quality loss |
|
62 |
+
| [code_gpt2_mini_model-Q8_0.gguf](https://huggingface.co/tensorblock/code_gpt2_mini_model-GGUF/blob/main/code_gpt2_mini_model-Q8_0.gguf) | Q8_0 | 0.178 GB | very large, extremely low quality loss - not recommended |
|
63 |
+
|
64 |
+
|
65 |
+
## Downloading instruction
|
66 |
+
|
67 |
+
### Command line
|
68 |
+
|
69 |
+
Firstly, install Huggingface Client
|
70 |
+
|
71 |
+
```shell
|
72 |
+
pip install -U "huggingface_hub[cli]"
|
73 |
+
```
|
74 |
+
|
75 |
+
Then, downoad the individual model file the a local directory
|
76 |
+
|
77 |
+
```shell
|
78 |
+
huggingface-cli download tensorblock/code_gpt2_mini_model-GGUF --include "code_gpt2_mini_model-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
79 |
+
```
|
80 |
+
|
81 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
82 |
+
|
83 |
+
```shell
|
84 |
+
huggingface-cli download tensorblock/code_gpt2_mini_model-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
85 |
+
```
|
code_gpt2_mini_model-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69ff28027aa1a65ddd98160984f960322bffb86d9e8abbc76959a53eda92d322
|
3 |
+
size 81197376
|
code_gpt2_mini_model-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d639097c3b967957cdc58b8f0a85f16f6548f09fdbe7d7cec2f163421b304b28
|
3 |
+
size 102093312
|
code_gpt2_mini_model-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e72d87a0f0703b9f338333baec02b875497d7cd26a330ea6f51c2cfb867dd08
|
3 |
+
size 97669632
|
code_gpt2_mini_model-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b038d8adcea61c2b398d94f6ef61c951a46dc63e1e0c7ac61e13cc0a2ecccd3
|
3 |
+
size 90149376
|
code_gpt2_mini_model-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f59ddf8a17f9a3b086b996b3bf26a2c189dec983a88f4fecfd4aafb4b1a1fec
|
3 |
+
size 106555968
|
code_gpt2_mini_model-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:691e19ba20065240e31aecd240ff24a233509c122dc35977d967638d86f1657b
|
3 |
+
size 112859712
|
code_gpt2_mini_model-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:633dc74dcfab713cdf9f984777e9e1bf11c936e72214c3ab1bb85dd6ba66d6b9
|
3 |
+
size 106850880
|
code_gpt2_mini_model-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:769706dce505f9aa8bd74f73ea2b4d692bf377bd46a1c578b6ef6e0bee5f0b14
|
3 |
+
size 121997472
|
code_gpt2_mini_model-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf08d408cac0df9f6dfdba1018c1e55abbae5d23b9fd082b6d72d089ba6e9e54
|
3 |
+
size 126697632
|
code_gpt2_mini_model-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71b62389b6de5effe7d2763e6e1878958efdd8df79f09ec2523b6c7c633b35d2
|
3 |
+
size 121997472
|
code_gpt2_mini_model-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49fe4501d8afa5974e2c02f1c7eebc28f48fdf9a7d5cebf14c3c3f28c4d0a969
|
3 |
+
size 138404064
|
code_gpt2_mini_model-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b264558ae87228868192751c39fc785cc928e6d35bdfe0ba0ba804cafa176842
|
3 |
+
size 177669792
|