YorkieOH10 commited on
Commit
f071285
1 Parent(s): 7532b01

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - code
5
+ - llama-cpp
6
+ - gguf-my-repo
7
+ datasets:
8
+ - JetBrains/KStack
9
+ results:
10
+ - task:
11
+ type: text-generation
12
+ dataset:
13
+ name: MultiPL-HumanEval (Kotlin)
14
+ type: openai_humaneval
15
+ metrics:
16
+ - name: pass@1
17
+ type: pass@1
18
+ value: 29.19
19
+ ---
20
+
21
+ # YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF
22
+ This model was converted to GGUF format from [`JetBrains/CodeLlama-7B-KStack`](https://huggingface.co/JetBrains/CodeLlama-7B-KStack) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
23
+ Refer to the [original model card](https://huggingface.co/JetBrains/CodeLlama-7B-KStack) for more details on the model.
24
+ ## Use with llama.cpp
25
+ Install llama.cpp through brew.
26
+ ```bash
27
+ brew install ggerganov/ggerganov/llama.cpp
28
+ ```
29
+ Invoke the llama.cpp server or the CLI.
30
+ CLI:
31
+ ```bash
32
+ llama-cli --hf-repo YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF --model codellama-7b-kstack-q8_0.gguf -p "The meaning to life and the universe is"
33
+ ```
34
+ Server:
35
+ ```bash
36
+ llama-server --hf-repo YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF --model codellama-7b-kstack-q8_0.gguf -c 2048
37
+ ```
38
+ 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.
39
+ ```
40
+ git clone https://github.com/ggerganov/llama.cpp && \
41
+ cd llama.cpp && \
42
+ make && \
43
+ ./main -m codellama-7b-kstack-q8_0.gguf -n 128
44
+ ```