e-palmisano commited on
Commit
b4d1cd9
1 Parent(s): 6996c83

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ tags:
4
+ - code
5
+ - llama-cpp
6
+ - gguf-my-repo
7
+ metrics:
8
+ - accuracy
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
+ # e-palmisano/llama-3-sqlcoder-8b-Q4_K_M-GGUF
13
+ This model was converted to GGUF format from [`defog/llama-3-sqlcoder-8b`](https://huggingface.co/defog/llama-3-sqlcoder-8b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
14
+ Refer to the [original model card](https://huggingface.co/defog/llama-3-sqlcoder-8b) for more details on the model.
15
+ ## Use with llama.cpp
16
+
17
+ Install llama.cpp through brew.
18
+
19
+ ```bash
20
+ brew install ggerganov/ggerganov/llama.cpp
21
+ ```
22
+ Invoke the llama.cpp server or the CLI.
23
+
24
+ CLI:
25
+
26
+ ```bash
27
+ llama-cli --hf-repo e-palmisano/llama-3-sqlcoder-8b-Q4_K_M-GGUF --model llama-3-sqlcoder-8b.Q4_K_M.gguf -p "The meaning to life and the universe is"
28
+ ```
29
+
30
+ Server:
31
+
32
+ ```bash
33
+ llama-server --hf-repo e-palmisano/llama-3-sqlcoder-8b-Q4_K_M-GGUF --model llama-3-sqlcoder-8b.Q4_K_M.gguf -c 2048
34
+ ```
35
+
36
+ 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.
37
+
38
+ ```
39
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-sqlcoder-8b.Q4_K_M.gguf -n 128
40
+ ```