itlwas
commited on
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- zh
|
5 |
+
- id
|
6 |
+
- th
|
7 |
+
- vi
|
8 |
+
- ms
|
9 |
+
- lo
|
10 |
+
license: apache-2.0
|
11 |
+
tags:
|
12 |
+
- multilingual
|
13 |
+
- sea
|
14 |
+
- sailor
|
15 |
+
- sft
|
16 |
+
- chat
|
17 |
+
- instruction
|
18 |
+
- llama-cpp
|
19 |
+
- gguf-my-repo
|
20 |
+
base_model: sail/Sailor-0.5B
|
21 |
+
datasets:
|
22 |
+
- CohereForAI/aya_dataset
|
23 |
+
- CohereForAI/aya_collection
|
24 |
+
- Open-Orca/OpenOrca
|
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 |
+
inference: false
|
39 |
+
---
|
40 |
+
|
41 |
+
# AIronMind/Sailor-0.5B-Chat-Q4_K_M-GGUF
|
42 |
+
This model was converted to GGUF format from [`sail/Sailor-0.5B-Chat`](https://huggingface.co/sail/Sailor-0.5B-Chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
43 |
+
Refer to the [original model card](https://huggingface.co/sail/Sailor-0.5B-Chat) for more details on the model.
|
44 |
+
## Use with llama.cpp
|
45 |
+
|
46 |
+
Install llama.cpp through brew.
|
47 |
+
|
48 |
+
```bash
|
49 |
+
brew install ggerganov/ggerganov/llama.cpp
|
50 |
+
```
|
51 |
+
Invoke the llama.cpp server or the CLI.
|
52 |
+
|
53 |
+
CLI:
|
54 |
+
|
55 |
+
```bash
|
56 |
+
llama-cli --hf-repo AIronMind/Sailor-0.5B-Chat-Q4_K_M-GGUF --model sailor-0.5b-chat.Q4_K_M.gguf -p "The meaning to life and the universe is"
|
57 |
+
```
|
58 |
+
|
59 |
+
Server:
|
60 |
+
|
61 |
+
```bash
|
62 |
+
llama-server --hf-repo AIronMind/Sailor-0.5B-Chat-Q4_K_M-GGUF --model sailor-0.5b-chat.Q4_K_M.gguf -c 2048
|
63 |
+
```
|
64 |
+
|
65 |
+
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.
|
66 |
+
|
67 |
+
```
|
68 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m sailor-0.5b-chat.Q4_K_M.gguf -n 128
|
69 |
+
```
|