AL-CEL commited on
Commit
79e57b5
·
verified ·
1 Parent(s): 8379f72

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: trendmicro-ailab/Llama-Primus-Reasoning
3
+ datasets:
4
+ - trendmicro-ailab/Primus-Reasoning
5
+ - trendmicro-ailab/Primus-Seed
6
+ - trendmicro-ailab/Primus-FineWeb
7
+ - trendmicro-ailab/Primus-Instruct
8
+ language:
9
+ - en
10
+ library_name: transformers
11
+ license: mit
12
+ pipeline_tag: text-generation
13
+ tags:
14
+ - cybersecurity
15
+ - pretraining
16
+ - llama-cpp
17
+ - gguf-my-repo
18
+ extra_gated_fields:
19
+ Affiliation: text
20
+ Country: country
21
+ I want to use this model for:
22
+ type: select
23
+ options:
24
+ - Research
25
+ - Commercial
26
+ - label: Other
27
+ value: other
28
+ Job title:
29
+ type: select
30
+ options:
31
+ - Student
32
+ - Research graduate
33
+ - AI researcher
34
+ - AI developer/engineer
35
+ - Cybersecurity researcher
36
+ - Reporter
37
+ - Other
38
+ geo: ip_location
39
+ ---
40
+
41
+ # AL-CEL/Llama-Primus-Reasoning-Q4_K_M-GGUF
42
+ This model was converted to GGUF format from [`trendmicro-ailab/Llama-Primus-Reasoning`](https://huggingface.co/trendmicro-ailab/Llama-Primus-Reasoning) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
43
+ Refer to the [original model card](https://huggingface.co/trendmicro-ailab/Llama-Primus-Reasoning) for more details on the model.
44
+
45
+ ## Use with llama.cpp
46
+ Install llama.cpp through brew (works on Mac and Linux)
47
+
48
+ ```bash
49
+ brew install llama.cpp
50
+
51
+ ```
52
+ Invoke the llama.cpp server or the CLI.
53
+
54
+ ### CLI:
55
+ ```bash
56
+ llama-cli --hf-repo AL-CEL/Llama-Primus-Reasoning-Q4_K_M-GGUF --hf-file llama-primus-reasoning-q4_k_m.gguf -p "The meaning to life and the universe is"
57
+ ```
58
+
59
+ ### Server:
60
+ ```bash
61
+ llama-server --hf-repo AL-CEL/Llama-Primus-Reasoning-Q4_K_M-GGUF --hf-file llama-primus-reasoning-q4_k_m.gguf -c 2048
62
+ ```
63
+
64
+ 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.
65
+
66
+ Step 1: Clone llama.cpp from GitHub.
67
+ ```
68
+ git clone https://github.com/ggerganov/llama.cpp
69
+ ```
70
+
71
+ 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).
72
+ ```
73
+ cd llama.cpp && LLAMA_CURL=1 make
74
+ ```
75
+
76
+ Step 3: Run inference through the main binary.
77
+ ```
78
+ ./llama-cli --hf-repo AL-CEL/Llama-Primus-Reasoning-Q4_K_M-GGUF --hf-file llama-primus-reasoning-q4_k_m.gguf -p "The meaning to life and the universe is"
79
+ ```
80
+ or
81
+ ```
82
+ ./llama-server --hf-repo AL-CEL/Llama-Primus-Reasoning-Q4_K_M-GGUF --hf-file llama-primus-reasoning-q4_k_m.gguf -c 2048
83
+ ```