🚀Granite Code:开源代码生成新利器🔧-granite-code
摘要
Granite Code是IBM推出的开源代码生成模型家族,专为代码生成任务设计,提供不同参数大小的模型以适应各种需求,具有强大的性能和广泛的应用前景。

内容
大家好!今天要介绍的是一个让编程更简单的开源模型——Granite Code。🌟 这个模型家族专为代码生成任务设计,包括代码生成、代码解释、代码修复等。🔄
Granite Code提供了不同参数大小的模型,从3B到34B参数不等,满足不同需求。📊 特别值得一提的是,8B和3B参数的模型支持128K的上下文窗口,这对于处理复杂代码非常有帮助。🖥️
使用Granite Code非常简单,只需一行命令:`ollama run granite-code:模型名`即可开始使用。🚀 无论是企业级工作流还是个人项目,Granite Code都能提供强大的支持。🏢
Granite Code在Hugging Face社区获得了极高的评价,性能经常超越其他模型。🏆 想了解更多?可以访问Hugging Face页面或阅读相关论文。📚
Run the model locally
Id
becc94fe1876
36c3c3b9683b
59db7b531bb4
4ce00960ca84
8ab7e91e85ff
30d0d41d27a1
80e7dd534ffd
d25be157479e
c7252c0c6703
67f3e156f5ba
8ab7e91e85ff
e3a238721ec9
81b9da645827
850228967095
0b840e35cc32
a864d1a8a08a
f036fe711fb1
e5bdfcf66c14
a655ca093ef3
caf48ed2d622
59db7b531bb4
be2ec1259ab5
4e3dff04ee5b
4c929cf47a4e
9a3be6de6096
cbd8989e4e53
59db7b531bb4
6e6ff60ff742
69917162166a
a012104b6642
4670ab1f3599
0e1290bc14f7
0f7b0be5131a
f9f9a21acb5f
a6b84d465ddc
d0054322b45c
dec9b6ea432f
461f5d8eba68
71837d435f0c
c06f1e43b32b
31d8bc61e506
f9efbe4f8959
47eeb409e478
644444b999f8
5db756969808
7b08c7a6dc75
818c70f50940
b5d7d53400a9
bd2f4bcf34bb
b10dca01d737
42c7e6e2af53
c74c785f9aad
7c99e42e5deb
4485e027847c
31de19958232
42c7e6e2af53
3770a699dae1
f4ad76c0503a
d0fbbc626c30
fb7a2b093c21
0d64b22fd447
3da71b98ed2b
c5afa738c212
ddf66982e605
a1d04f60bc5e
4ce00960ca84
c74bd2d3910b
51d4b46e9649
97d3df0a98fb
941db8c58f05
4ce00960ca84
a1cca29491fd
74723d97951a
017ae7f3dba3
4d276c35489e
f0004bc4aba0
dad8cb2d266e
ad33350a1e2c
c71fa145605c
abc2bbc41ce5
897c973ac371
c05254111c3b
e36887a9a821
efa391969797
6cd1bf544950
4ebfe349d653
897c973ac371
289762e9c2de
074272cf1192
05d91372ce79
564f8e0abfff
bdb3c9b7c5e4
9f543ec02c81
c2b4985e3261
ef18db8d2afc
c3464b5e457a
becc94fe1876
0a85292e9c4c
72154d08acee
c794c5813849
27350580d3ea
c5827e0a7a55
becc94fe1876
7e9329333607
4702f6327ab5
a6c4b37f0dc7
dece491ce896
275d6e2f4fcc
39570a508075
07bebb9f1381
aac7fdd35a84
3ffa9e883e62
788453573810
7f3ad6ca25f4
d9060e45c47c
70ec21a3004e
991c2ca80baf
63bedbdffbf0
07c153ea8ba3
65861823ce7a
c681b8a19c05
8a64d99caa8b
c7b815a477d2
2db2e42160a0
c1cb0d4855f6
f9bad785d4c6
b93b1a15197d
446b079c08d8
b9ad7693117c
e63080a27380
3e786e80fe43
ca4d1a480357
2ea64f1e1696
446b079c08d8
8188ceec7ebb
d1ff254e3ce3
8b5439b8f8fa
a2683a6426c6
1ac225f4921f
571e48fd3f79
ac18787cbd38
85c68aed2abf
98d17f9b29f7
36c3c3b9683b
36c3c3b9683b
0f53e9c9d8be
ba8f7888f7cd
e19d9843758d
e7a83854c109
bf18f4d1eac9
f432fe584c50
998bce918de0
d7b2698267fc
6b6cc77a3094
fd077fe10167
c577f70d1bcb
f5c70f717cd7
a8781d67d804
47b0d1d1779c
a929c1ec4cda
068b1c745db2
Model
3b
8b
20b
34b
20b-base
20b-base-fp16
20b-base-q2_K
20b-base-q3_K_L
20b-base-q3_K_M
20b-base-q3_K_S
20b-base-q4_0
20b-base-q4_1
20b-base-q4_K_M
20b-base-q4_K_S
20b-base-q5_0
20b-base-q5_1
20b-base-q5_K_M
20b-base-q5_K_S
20b-base-q6_K
20b-base-q8_0
20b-instruct
20b-instruct-8k-fp16
20b-instruct-8k-q2_K
20b-instruct-8k-q3_K_L
20b-instruct-8k-q3_K_M
20b-instruct-8k-q3_K_S
20b-instruct-8k-q4_0
20b-instruct-8k-q4_1
20b-instruct-8k-q4_K_M
20b-instruct-8k-q4_K_S
20b-instruct-8k-q5_0
20b-instruct-8k-q5_1
20b-instruct-8k-q5_K_M
20b-instruct-8k-q5_K_S
20b-instruct-8k-q6_K
20b-instruct-8k-q8_0
20b-instruct-q2_K
20b-instruct-q3_K_L
20b-instruct-q3_K_M
20b-instruct-q3_K_S
20b-instruct-q4_0
20b-instruct-q4_1
20b-instruct-q4_K_M
20b-instruct-q4_K_S
20b-instruct-q5_0
20b-instruct-q5_1
20b-instruct-q5_K_M
20b-instruct-q5_K_S
20b-instruct-q6_K
20b-instruct-q8_0
34b-base
34b-base-q2_K
34b-base-q3_K_L
34b-base-q3_K_M
34b-base-q3_K_S
34b-base-q4_0
34b-base-q4_1
34b-base-q4_K_M
34b-base-q4_K_S
34b-base-q5_0
34b-base-q5_1
34b-base-q5_K_M
34b-base-q5_K_S
34b-base-q6_K
34b-base-q8_0
34b-instruct
34b-instruct-q2_K
34b-instruct-q3_K_L
34b-instruct-q3_K_M
34b-instruct-q3_K_S
34b-instruct-q4_0
34b-instruct-q4_1
34b-instruct-q4_K_M
34b-instruct-q4_K_S
34b-instruct-q5_0
34b-instruct-q5_1
34b-instruct-q5_K_M
34b-instruct-q5_K_S
34b-instruct-q6_K
34b-instruct-q8_0
3b-base
3b-base-fp16
3b-base-q2_K
3b-base-q3_K_L
3b-base-q3_K_M
3b-base-q3_K_S
3b-base-q4_0
3b-base-q4_1
3b-base-q4_K_M
3b-base-q4_K_S
3b-base-q5_0
3b-base-q5_1
3b-base-q5_K_M
3b-base-q5_K_S
3b-base-q6_K
3b-base-q8_0
3b-instruct
3b-instruct-128k-fp16
3b-instruct-128k-q2_K
3b-instruct-128k-q3_K_L
3b-instruct-128k-q3_K_M
3b-instruct-128k-q3_K_S
3b-instruct-128k-q4_0
3b-instruct-128k-q4_1
3b-instruct-128k-q4_K_M
3b-instruct-128k-q4_K_S
3b-instruct-128k-q5_0
3b-instruct-128k-q5_1
3b-instruct-128k-q5_K_M
3b-instruct-128k-q5_K_S
3b-instruct-128k-q6_K
3b-instruct-128k-q8_0
3b-instruct-fp16
3b-instruct-q2_K
3b-instruct-q3_K_L
3b-instruct-q3_K_M
3b-instruct-q3_K_S
3b-instruct-q4_0
3b-instruct-q4_1
3b-instruct-q4_K_M
3b-instruct-q4_K_S
3b-instruct-q5_0
3b-instruct-q5_1
3b-instruct-q5_K_M
3b-instruct-q5_K_S
3b-instruct-q6_K
3b-instruct-q8_0
8b-base
8b-base-fp16
8b-base-q2_K
8b-base-q3_K_L
8b-base-q3_K_M
8b-base-q3_K_S
8b-base-q4_0
8b-base-q4_1
8b-base-q4_K_M
8b-base-q4_K_S
8b-base-q5_0
8b-base-q5_1
8b-base-q5_K_M
8b-base-q5_K_S
8b-base-q6_K
8b-base-q8_0
8b-instruct
8b-instruct-128k-q4_0
8b-instruct-128k-q4_1
8b-instruct-fp16
8b-instruct-q2_K
8b-instruct-q3_K_L
8b-instruct-q3_K_M
8b-instruct-q3_K_S
8b-instruct-q4_0
8b-instruct-q4_1
8b-instruct-q4_K_M
8b-instruct-q4_K_S
8b-instruct-q5_0
8b-instruct-q5_1
8b-instruct-q5_K_M
8b-instruct-q5_K_S
8b-instruct-q6_K
8b-instruct-q8_0
Size
2.0GB
4.6GB
12GB
19GB
12GB
40GB
7.9GB
12GB
11GB
8.9GB
12GB
13GB
13GB
12GB
14GB
15GB
15GB
14GB
17GB
21GB
12GB
40GB
7.9GB
12GB
11GB
8.9GB
12GB
13GB
13GB
12GB
14GB
15GB
15GB
14GB
17GB
21GB
7.9GB
12GB
11GB
8.9GB
12GB
13GB
13GB
12GB
14GB
15GB
15GB
14GB
17GB
21GB
19GB
13GB
20GB
18GB
15GB
19GB
21GB
21GB
19GB
23GB
25GB
25GB
23GB
28GB
36GB
19GB
13GB
20GB
18GB
15GB
19GB
21GB
21GB
19GB
23GB
25GB
25GB
23GB
28GB
36GB
2.0GB
7.0GB
1.3GB
1.9GB
1.7GB
1.6GB
2.0GB
2.2GB
2.1GB
2.0GB
2.4GB
2.6GB
2.5GB
2.4GB
2.9GB
3.7GB
2.0GB
7.0GB
1.3GB
1.9GB
1.7GB
1.6GB
2.0GB
2.2GB
2.1GB
2.0GB
2.4GB
2.6GB
2.5GB
2.4GB
2.9GB
3.7GB
7.0GB
1.3GB
1.9GB
1.7GB
1.6GB
2.0GB
2.2GB
2.1GB
2.0GB
2.4GB
2.6GB
2.5GB
2.4GB
2.9GB
3.7GB
4.6GB
16GB
3.1GB
4.3GB
3.9GB
3.5GB
4.6GB
5.1GB
4.9GB
4.6GB
5.6GB
6.1GB
5.7GB
5.6GB
6.6GB
8.6GB
4.6GB
4.6GB
5.1GB
16GB
3.1GB
4.3GB
3.9GB
3.5GB
4.6GB
5.1GB
4.9GB
4.6GB
5.6GB
6.1GB
5.7GB
5.6GB
6.6GB
8.6GB