Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Mattimax/DATA-AI_Chat_3_1B
|
3 |
+
library_name: peft
|
4 |
+
license: apache-2.0
|
5 |
+
language:
|
6 |
+
- it
|
7 |
+
- en
|
8 |
+
- es
|
9 |
+
- ru
|
10 |
+
- de
|
11 |
+
- pl
|
12 |
+
- th
|
13 |
+
- vi
|
14 |
+
- sv
|
15 |
+
- bn
|
16 |
+
- da
|
17 |
+
- he
|
18 |
+
- fa
|
19 |
+
- sk
|
20 |
+
- id
|
21 |
+
- nb
|
22 |
+
- el
|
23 |
+
- nl
|
24 |
+
- hu
|
25 |
+
- eu
|
26 |
+
- zh
|
27 |
+
- eo
|
28 |
+
- ja
|
29 |
+
- ca
|
30 |
+
- cs
|
31 |
+
- bg
|
32 |
+
- fi
|
33 |
+
- pt
|
34 |
+
- tr
|
35 |
+
- ro
|
36 |
+
- ar
|
37 |
+
- uk
|
38 |
+
- gl
|
39 |
+
- fr
|
40 |
+
- ko
|
41 |
+
tags:
|
42 |
+
- human-feedback
|
43 |
+
- llama
|
44 |
+
- llama-cpp
|
45 |
+
- gguf-my-repo
|
46 |
+
---
|
47 |
+
|
48 |
+
# Mattimax/DATA-AI_Chat_3_1B-Q5_K_M-GGUF
|
49 |
+
This model was converted to GGUF format from [`Mattimax/DATA-AI_Chat_3_1B`](https://huggingface.co/Mattimax/DATA-AI_Chat_3_1B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
50 |
+
Refer to the [original model card](https://huggingface.co/Mattimax/DATA-AI_Chat_3_1B) for more details on the model.
|
51 |
+
|
52 |
+
## Use with llama.cpp
|
53 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
54 |
+
|
55 |
+
```bash
|
56 |
+
brew install llama.cpp
|
57 |
+
|
58 |
+
```
|
59 |
+
Invoke the llama.cpp server or the CLI.
|
60 |
+
|
61 |
+
### CLI:
|
62 |
+
```bash
|
63 |
+
llama-cli --hf-repo Mattimax/DATA-AI_Chat_3_1B-Q5_K_M-GGUF --hf-file data-ai_chat_3_1b-q5_k_m.gguf -p "The meaning to life and the universe is"
|
64 |
+
```
|
65 |
+
|
66 |
+
### Server:
|
67 |
+
```bash
|
68 |
+
llama-server --hf-repo Mattimax/DATA-AI_Chat_3_1B-Q5_K_M-GGUF --hf-file data-ai_chat_3_1b-q5_k_m.gguf -c 2048
|
69 |
+
```
|
70 |
+
|
71 |
+
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.
|
72 |
+
|
73 |
+
Step 1: Clone llama.cpp from GitHub.
|
74 |
+
```
|
75 |
+
git clone https://github.com/ggerganov/llama.cpp
|
76 |
+
```
|
77 |
+
|
78 |
+
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).
|
79 |
+
```
|
80 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
81 |
+
```
|
82 |
+
|
83 |
+
Step 3: Run inference through the main binary.
|
84 |
+
```
|
85 |
+
./llama-cli --hf-repo Mattimax/DATA-AI_Chat_3_1B-Q5_K_M-GGUF --hf-file data-ai_chat_3_1b-q5_k_m.gguf -p "The meaning to life and the universe is"
|
86 |
+
```
|
87 |
+
or
|
88 |
+
```
|
89 |
+
./llama-server --hf-repo Mattimax/DATA-AI_Chat_3_1B-Q5_K_M-GGUF --hf-file data-ai_chat_3_1b-q5_k_m.gguf -c 2048
|
90 |
+
```
|