AlirezaF138
commited on
Commit
•
4e7f5e0
1
Parent(s):
d55fef0
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- llama-cpp
|
5 |
+
- gguf-my-repo
|
6 |
+
---
|
7 |
+
|
8 |
+
# AlirezaF138/Llama-3-Persian-8B-LoRA-Q6_K-GGUF
|
9 |
+
This model was converted to GGUF format from [`safinal/Llama-3-Persian-8B-LoRA`](https://huggingface.co/safinal/Llama-3-Persian-8B-LoRA) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
10 |
+
Refer to the [original model card](https://huggingface.co/safinal/Llama-3-Persian-8B-LoRA) for more details on the model.
|
11 |
+
## Use with llama.cpp
|
12 |
+
|
13 |
+
Install llama.cpp through brew.
|
14 |
+
|
15 |
+
```bash
|
16 |
+
brew install ggerganov/ggerganov/llama.cpp
|
17 |
+
```
|
18 |
+
Invoke the llama.cpp server or the CLI.
|
19 |
+
|
20 |
+
CLI:
|
21 |
+
|
22 |
+
```bash
|
23 |
+
llama-cli --hf-repo AlirezaF138/Llama-3-Persian-8B-LoRA-Q6_K-GGUF --model llama-3-persian-8b-lora.Q6_K.gguf -p "The meaning to life and the universe is"
|
24 |
+
```
|
25 |
+
|
26 |
+
Server:
|
27 |
+
|
28 |
+
```bash
|
29 |
+
llama-server --hf-repo AlirezaF138/Llama-3-Persian-8B-LoRA-Q6_K-GGUF --model llama-3-persian-8b-lora.Q6_K.gguf -c 2048
|
30 |
+
```
|
31 |
+
|
32 |
+
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.
|
33 |
+
|
34 |
+
```
|
35 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-persian-8b-lora.Q6_K.gguf -n 128
|
36 |
+
```
|