Kondara commited on
Commit
f6b59bd
1 Parent(s): 097183b

Upload README.md with huggingface_hub

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