Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: cc-by-nc-4.0
|
5 |
+
tags:
|
6 |
+
- function calling
|
7 |
+
- on-device language model
|
8 |
+
- android
|
9 |
+
- llama-cpp
|
10 |
+
- gguf-my-repo
|
11 |
+
base_model: google/gemma-2b
|
12 |
+
inference: false
|
13 |
+
space: false
|
14 |
+
spaces: false
|
15 |
+
model-index:
|
16 |
+
- name: Octopus-V2-2B
|
17 |
+
results: []
|
18 |
+
---
|
19 |
+
|
20 |
+
# DavidAU/Octopus-v2-Q8_0-GGUF
|
21 |
+
This model was converted to GGUF format from [`NexaAIDev/Octopus-v2`](https://huggingface.co/NexaAIDev/Octopus-v2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
22 |
+
Refer to the [original model card](https://huggingface.co/NexaAIDev/Octopus-v2) for more details on the model.
|
23 |
+
## Use with llama.cpp
|
24 |
+
|
25 |
+
Install llama.cpp through brew.
|
26 |
+
|
27 |
+
```bash
|
28 |
+
brew install ggerganov/ggerganov/llama.cpp
|
29 |
+
```
|
30 |
+
Invoke the llama.cpp server or the CLI.
|
31 |
+
|
32 |
+
CLI:
|
33 |
+
|
34 |
+
```bash
|
35 |
+
llama-cli --hf-repo DavidAU/Octopus-v2-Q8_0-GGUF --model octopus-v2.Q8_0.gguf -p "The meaning to life and the universe is"
|
36 |
+
```
|
37 |
+
|
38 |
+
Server:
|
39 |
+
|
40 |
+
```bash
|
41 |
+
llama-server --hf-repo DavidAU/Octopus-v2-Q8_0-GGUF --model octopus-v2.Q8_0.gguf -c 2048
|
42 |
+
```
|
43 |
+
|
44 |
+
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.
|
45 |
+
|
46 |
+
```
|
47 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m octopus-v2.Q8_0.gguf -n 128
|
48 |
+
```
|