QuietImpostor commited on
Commit
625e71d
1 Parent(s): 080f5bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -3
README.md CHANGED
@@ -1,3 +1,46 @@
1
- ---
2
- license: apple-ascl
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apple-ascl
3
+ ---
4
+ # OpenELM 3B Instruct GGUFs
5
+ After a long wait, Llama.cpp (b3324) finally supports OpenELM, and that means OpenELM GGUFs!
6
+ iMatrix quants are coming soon!
7
+
8
+ ## Use with llama.cpp
9
+ Install llama.cpp through brew (works on Mac and Linux)
10
+
11
+ ```bash
12
+ brew install llama.cpp
13
+
14
+ ```
15
+ Invoke the llama.cpp server or the CLI.
16
+
17
+ ### CLI:
18
+ ```bash
19
+ llama-cli --hf-repo QuietImpostor/OpenELM-3B-Instruct-GGUFs --hf-file OpenELM-3B-Instruct-Q4_K_M.gguf -p "The meaning to life and the universe is"
20
+ ```
21
+
22
+ ### Server:
23
+ ```bash
24
+ llama-server --hf-repo QuietImpostor/OpenELM-3B-Instruct-GGUFs --hf-file OpenELM-3B-Instruct-Q4_K_M.gguf
25
+ ```
26
+
27
+ 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.
28
+
29
+ Step 1: Clone llama.cpp from GitHub.
30
+ ```
31
+ git clone https://github.com/ggerganov/llama.cpp
32
+ ```
33
+
34
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
35
+ ```
36
+ cd llama.cpp && LLAMA_CURL=1 make
37
+ ```
38
+
39
+ Step 3: Run inference through the main binary.
40
+ ```
41
+ ./llama-cli --hf-repo QuietImpostor/OpenELM-3B-Instruct-GGUFs --hf-file OpenELM-3B-Instruct-Q4_K_M.gguf -p "The meaning to life and the universe is"
42
+ ```
43
+ or
44
+ ```
45
+ ./llama-server --hf-repo QuietImpostor/OpenELM-3B-Instruct-GGUFs --hf-file OpenELM-3B-Instruct-Q4_K_M.gguf
46
+ ```