Triangle104 commited on
Commit
ce638fa
1 Parent(s): c5f4449

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: llama3
5
+ tags:
6
+ - Llama-3
7
+ - instruct
8
+ - finetune
9
+ - chatml
10
+ - gpt4
11
+ - synthetic data
12
+ - distillation
13
+ - function calling
14
+ - json mode
15
+ - axolotl
16
+ - roleplaying
17
+ - chat
18
+ - llama-cpp
19
+ - gguf-my-repo
20
+ base_model: NousResearch/Hermes-3-Llama-3.2-3B
21
+ widget:
22
+ - example_title: Hermes 3
23
+ messages:
24
+ - role: system
25
+ content: You are a sentient, superintelligent artificial general intelligence,
26
+ here to teach and assist me.
27
+ - role: user
28
+ content: Write a short story about Goku discovering kirby has teamed up with Majin
29
+ Buu to destroy the world.
30
+ library_name: transformers
31
+ model-index:
32
+ - name: Hermes-3-Llama-3.1-405B
33
+ results: []
34
+ ---
35
+
36
+ # Triangle104/Hermes-3-Llama-3.2-3B-Q4_K_S-GGUF
37
+ This model was converted to GGUF format from [`NousResearch/Hermes-3-Llama-3.2-3B`](https://huggingface.co/NousResearch/Hermes-3-Llama-3.2-3B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
38
+ Refer to the [original model card](https://huggingface.co/NousResearch/Hermes-3-Llama-3.2-3B) for more details on the model.
39
+
40
+ ## Use with llama.cpp
41
+ Install llama.cpp through brew (works on Mac and Linux)
42
+
43
+ ```bash
44
+ brew install llama.cpp
45
+
46
+ ```
47
+ Invoke the llama.cpp server or the CLI.
48
+
49
+ ### CLI:
50
+ ```bash
51
+ llama-cli --hf-repo Triangle104/Hermes-3-Llama-3.2-3B-Q4_K_S-GGUF --hf-file hermes-3-llama-3.2-3b-q4_k_s.gguf -p "The meaning to life and the universe is"
52
+ ```
53
+
54
+ ### Server:
55
+ ```bash
56
+ llama-server --hf-repo Triangle104/Hermes-3-Llama-3.2-3B-Q4_K_S-GGUF --hf-file hermes-3-llama-3.2-3b-q4_k_s.gguf -c 2048
57
+ ```
58
+
59
+ 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.
60
+
61
+ Step 1: Clone llama.cpp from GitHub.
62
+ ```
63
+ git clone https://github.com/ggerganov/llama.cpp
64
+ ```
65
+
66
+ 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).
67
+ ```
68
+ cd llama.cpp && LLAMA_CURL=1 make
69
+ ```
70
+
71
+ Step 3: Run inference through the main binary.
72
+ ```
73
+ ./llama-cli --hf-repo Triangle104/Hermes-3-Llama-3.2-3B-Q4_K_S-GGUF --hf-file hermes-3-llama-3.2-3b-q4_k_s.gguf -p "The meaning to life and the universe is"
74
+ ```
75
+ or
76
+ ```
77
+ ./llama-server --hf-repo Triangle104/Hermes-3-Llama-3.2-3B-Q4_K_S-GGUF --hf-file hermes-3-llama-3.2-3b-q4_k_s.gguf -c 2048
78
+ ```