AlirezaF138
commited on
Commit
•
d9b056a
1
Parent(s):
6897ed9
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- fa
|
4 |
+
license: cc-by-nc-4.0
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- text-generation-inference
|
8 |
+
- llama-cpp
|
9 |
+
- gguf-my-repo
|
10 |
+
datasets:
|
11 |
+
- sinarashidi/alpaca-persian
|
12 |
+
inference: false
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
---
|
15 |
+
|
16 |
+
# AlirezaF138/PersianLLaMA-13B-Instruct-Q6_K-GGUF
|
17 |
+
This model was converted to GGUF format from [`ViraIntelligentDataMining/PersianLLaMA-13B-Instruct`](https://huggingface.co/ViraIntelligentDataMining/PersianLLaMA-13B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
18 |
+
Refer to the [original model card](https://huggingface.co/ViraIntelligentDataMining/PersianLLaMA-13B-Instruct) for more details on the model.
|
19 |
+
## Use with llama.cpp
|
20 |
+
|
21 |
+
Install llama.cpp through brew.
|
22 |
+
|
23 |
+
```bash
|
24 |
+
brew install ggerganov/ggerganov/llama.cpp
|
25 |
+
```
|
26 |
+
Invoke the llama.cpp server or the CLI.
|
27 |
+
|
28 |
+
CLI:
|
29 |
+
|
30 |
+
```bash
|
31 |
+
llama-cli --hf-repo AlirezaF138/PersianLLaMA-13B-Instruct-Q6_K-GGUF --model persianllama-13b-instruct.Q6_K.gguf -p "The meaning to life and the universe is"
|
32 |
+
```
|
33 |
+
|
34 |
+
Server:
|
35 |
+
|
36 |
+
```bash
|
37 |
+
llama-server --hf-repo AlirezaF138/PersianLLaMA-13B-Instruct-Q6_K-GGUF --model persianllama-13b-instruct.Q6_K.gguf -c 2048
|
38 |
+
```
|
39 |
+
|
40 |
+
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.
|
41 |
+
|
42 |
+
```
|
43 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m persianllama-13b-instruct.Q6_K.gguf -n 128
|
44 |
+
```
|