GGUF
English
llama-cpp
gguf-my-repo
UKPMAN0 commited on
Commit
0085b82
·
verified ·
1 Parent(s): 6011393

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ datasets:
6
+ - togethercomputer/RedPajama-Data-1T
7
+ - OpenAssistant/oasst1
8
+ - databricks/databricks-dolly-15k
9
+ widget:
10
+ - text: '<human>: Write an email to my friends inviting them to come to my home on
11
+ Friday for a dinner party, bring their own food to share.
12
+
13
+ <bot>:'
14
+ example_title: Email Writing
15
+ - text: '<human>: Create a list of things to do in San Francisco
16
+
17
+ <bot>:'
18
+ example_title: Brainstorming
19
+ inference:
20
+ parameters:
21
+ temperature: 0.7
22
+ top_p: 0.7
23
+ top_k: 50
24
+ max_new_tokens: 128
25
+ tags:
26
+ - llama-cpp
27
+ - gguf-my-repo
28
+ base_model: togethercomputer/RedPajama-INCITE-Chat-3B-v1
29
+ ---
30
+
31
+ # UKPMAN0/RedPajama-INCITE-Chat-3B-v1-Q4_K_M-GGUF
32
+ This model was converted to GGUF format from [`togethercomputer/RedPajama-INCITE-Chat-3B-v1`](https://huggingface.co/togethercomputer/RedPajama-INCITE-Chat-3B-v1) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
33
+ Refer to the [original model card](https://huggingface.co/togethercomputer/RedPajama-INCITE-Chat-3B-v1) for more details on the model.
34
+
35
+ ## Use with llama.cpp
36
+ Install llama.cpp through brew (works on Mac and Linux)
37
+
38
+ ```bash
39
+ brew install llama.cpp
40
+
41
+ ```
42
+ Invoke the llama.cpp server or the CLI.
43
+
44
+ ### CLI:
45
+ ```bash
46
+ llama-cli --hf-repo UKPMAN0/RedPajama-INCITE-Chat-3B-v1-Q4_K_M-GGUF --hf-file redpajama-incite-chat-3b-v1-q4_k_m.gguf -p "The meaning to life and the universe is"
47
+ ```
48
+
49
+ ### Server:
50
+ ```bash
51
+ llama-server --hf-repo UKPMAN0/RedPajama-INCITE-Chat-3B-v1-Q4_K_M-GGUF --hf-file redpajama-incite-chat-3b-v1-q4_k_m.gguf -c 2048
52
+ ```
53
+
54
+ 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.
55
+
56
+ Step 1: Clone llama.cpp from GitHub.
57
+ ```
58
+ git clone https://github.com/ggerganov/llama.cpp
59
+ ```
60
+
61
+ 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).
62
+ ```
63
+ cd llama.cpp && LLAMA_CURL=1 make
64
+ ```
65
+
66
+ Step 3: Run inference through the main binary.
67
+ ```
68
+ ./llama-cli --hf-repo UKPMAN0/RedPajama-INCITE-Chat-3B-v1-Q4_K_M-GGUF --hf-file redpajama-incite-chat-3b-v1-q4_k_m.gguf -p "The meaning to life and the universe is"
69
+ ```
70
+ or
71
+ ```
72
+ ./llama-server --hf-repo UKPMAN0/RedPajama-INCITE-Chat-3B-v1-Q4_K_M-GGUF --hf-file redpajama-incite-chat-3b-v1-q4_k_m.gguf -c 2048
73
+ ```