brittlewis12 commited on
Commit
0a3b5ca
1 Parent(s): 4a7de60

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-code-3b
3
+ inference: false
4
+ language:
5
+ - en
6
+ license: other
7
+ license_link: https://huggingface.co/stabilityai/stable-code-3b/blob/main/LICENSE
8
+ model_creator: stabilityai
9
+ model_name: stable-code-3b
10
+ pipeline_tag: text-generation
11
+ datasets:
12
+ - tiiuae/falcon-refinedweb
13
+ - bigcode/the-stack-github-issues
14
+ - bigcode/commitpackft
15
+ - bigcode/starcoderdata
16
+ - EleutherAI/proof-pile-2
17
+ - meta-math/MetaMathQA
18
+ tags:
19
+ - causal-lm
20
+ - code
21
+ quantized_by: brittlewis12
22
+ ---
23
+
24
+ # stable-code-3b GGUF
25
+
26
+ Original model: [stable-code-3b](https://huggingface.co/stabilityai/stable-code-3b)
27
+ Model creator: [StabilityAI](https://huggingface.co/stabilityai/stable-code-3b)
28
+
29
+ This repo contains GGUF format model files for StabilityAI’s stable-code-3b with 16k context.
30
+
31
+ > stable-code-3b is a 2.7B billion parameter decoder-only language model pre-trained on 1.3 trillion tokens of diverse textual and code datasets. stable-code-3b is trained on 18 programming languages (selected based on the 2023 StackOverflow Developer Survey) and demonstrates state-of-the-art performance (compared to models of similar size) on the MultiPL-E metrics across multiple programming languages tested using BigCode's Evaluation Harness.
32
+
33
+
34
+ ### What is GGUF?
35
+
36
+ GGUF is a file format for representing AI models. It is the third version of the format, introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
37
+ Converted using llama.cpp build 1897 (revision [2b3a665](https://github.com/ggerganov/llama.cpp/commit/2b3a665))
38
+
39
+ ## Prompt template: Completion or Fill-in-Middle
40
+
41
+ ### Completion
42
+
43
+ ```
44
+ {{prompt}}
45
+ ```
46
+
47
+ ### Fill-in-Middle (FIM)
48
+
49
+ ```
50
+ <fim_prefix>{{prefix code}}<fim_suffix>{{suffix code}}<fim_middle>
51
+ ```
52
+
53
+ Example prompt with special prefix, suffix, and middle tokens in context:
54
+
55
+ ```
56
+ <fim_prefix>def fib(n):
57
+ <fim_suffix>
58
+ else:
59
+ return fib(n - 2) + fib(n - 1)
60
+ <fim_middle>
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Download & run with [cnvrs](https://testflight.apple.com/join/sFWReS7K) on iPhone, iPad, and Mac!
66
+
67
+ [cnvrs](https://testflight.apple.com/join/sFWReS7K) is the best app for private, local AI on your device:
68
+ - create & save **Characters** with custom system prompts & temperature settings
69
+ - download and experiment with any **GGUF model** you can [find on HuggingFace](https://huggingface.co/models?library=gguf)!
70
+ - make it your own with custom **Theme colors**
71
+ - powered by Metal ⚡️ & [Llama.cpp](https://github.com/ggerganov/llama.cpp), with **haptics** during response streaming!
72
+ - **try it out** yourself today, on [Testflight](https://testflight.apple.com/join/sFWReS7K)!
73
+
74
+ ---
75
+
76
+ # Original Model Evaluation
77
+
78
+ ![spiderchart](https://huggingface.co/stabilityai/stable-code-3b/raw/main/stable_code_3b_spiderchart.svg)
79
+
80
+ | Model | Size | Python | C++ | Javascript | Java | PHP | Rust |
81
+ |------------------|------|--------|------|------------|------|------|------|
82
+ | **Stable Code** | 3B | 32.4% | 30.9%| 32.1% | 32.1%| 24.2%| 23.0%|
83
+ | CodeLLama | 7B | 30.0% | 28.2%| 32.5% | 31.1%| 25.7%| 26.3%|
84
+ | Deepseek Coder | 1.3B | 28.6% | 29.2%| 28.7% | 29.0%| 23.6%| 18.5%|
85
+ | Wizard Coder | 3B | 31.6% | 25.6%| 26.2% | 25.8%| 25.3%| 20.4%|
86
+ | StarCoder | 3B | 21.6% | 19.8%| 21.5% | 20.5%| 19.0%| 16.9%|
87
+ | Replit Code V1.5 | 3B | 23.0% | 25.9%| 26.2% | 23.6%| 23.2%| 21.5%|
88
+ | Deci Coder | 1B | 19.1% | 6.8% | 18.4% | 16.7%| 2.1% | 1.7% |