ybelkada commited on
Commit
429fe92
1 Parent(s): a73d510

Upload README.md with huggingface_hub

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