kpkiosk66 commited on
Commit
5204ae9
·
verified ·
1 Parent(s): 0dd71e4

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - zh
5
+ - id
6
+ - th
7
+ - vi
8
+ - ms
9
+ - lo
10
+ - my
11
+ - jv
12
+ - km
13
+ - su
14
+ - tl
15
+ tags:
16
+ - multilingual
17
+ - sea
18
+ - sailor
19
+ - sft
20
+ - chat
21
+ - instruction
22
+ - llama-cpp
23
+ - gguf-my-repo
24
+ widget:
25
+ - text: 如何制作烤鱼?
26
+ example_title: Chinese
27
+ - text: How to bake fish?
28
+ example_title: English
29
+ - text: Bagaimana cara memanggang ikan?
30
+ example_title: Malay
31
+ - text: วิธีย่างปลา?
32
+ example_title: Thai
33
+ - text: Bagaimana membuat bakaran ikan?
34
+ example_title: Indonesian
35
+ - text: Làm thế nào để nướng cá?
36
+ example_title: Vietnamese
37
+ license: apache-2.0
38
+ base_model: sail/Sailor2-20B-Chat
39
+ library_name: transformers
40
+ pipeline_tag: text-generation
41
+ ---
42
+
43
+ # kpkiosk66/Sailor2-20B-Chat-Q4_K_S-GGUF
44
+ This model was converted to GGUF format from [`sail/Sailor2-20B-Chat`](https://huggingface.co/sail/Sailor2-20B-Chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
45
+ Refer to the [original model card](https://huggingface.co/sail/Sailor2-20B-Chat) for more details on the model.
46
+
47
+ ## Use with llama.cpp
48
+ Install llama.cpp through brew (works on Mac and Linux)
49
+
50
+ ```bash
51
+ brew install llama.cpp
52
+
53
+ ```
54
+ Invoke the llama.cpp server or the CLI.
55
+
56
+ ### CLI:
57
+ ```bash
58
+ llama-cli --hf-repo kpkiosk66/Sailor2-20B-Chat-Q4_K_S-GGUF --hf-file sailor2-20b-chat-q4_k_s.gguf -p "The meaning to life and the universe is"
59
+ ```
60
+
61
+ ### Server:
62
+ ```bash
63
+ llama-server --hf-repo kpkiosk66/Sailor2-20B-Chat-Q4_K_S-GGUF --hf-file sailor2-20b-chat-q4_k_s.gguf -c 2048
64
+ ```
65
+
66
+ 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.
67
+
68
+ Step 1: Clone llama.cpp from GitHub.
69
+ ```
70
+ git clone https://github.com/ggerganov/llama.cpp
71
+ ```
72
+
73
+ 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).
74
+ ```
75
+ cd llama.cpp && LLAMA_CURL=1 make
76
+ ```
77
+
78
+ Step 3: Run inference through the main binary.
79
+ ```
80
+ ./llama-cli --hf-repo kpkiosk66/Sailor2-20B-Chat-Q4_K_S-GGUF --hf-file sailor2-20b-chat-q4_k_s.gguf -p "The meaning to life and the universe is"
81
+ ```
82
+ or
83
+ ```
84
+ ./llama-server --hf-repo kpkiosk66/Sailor2-20B-Chat-Q4_K_S-GGUF --hf-file sailor2-20b-chat-q4_k_s.gguf -c 2048
85
+ ```