ArturoVitale commited on
Commit
369490e
1 Parent(s): 7adbad9

Upload README.md with huggingface_hub

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