Cran-May commited on
Commit
0339610
1 Parent(s): c23a993

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +103 -0
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - FreedomIntelligence/ApolloMoEDataset
5
+ language:
6
+ - ar
7
+ - en
8
+ - zh
9
+ - ko
10
+ - ja
11
+ - mn
12
+ - th
13
+ - vi
14
+ - lo
15
+ - mg
16
+ - de
17
+ - pt
18
+ - es
19
+ - fr
20
+ - ru
21
+ - it
22
+ - hr
23
+ - gl
24
+ - cs
25
+ - co
26
+ - la
27
+ - uk
28
+ - bs
29
+ - bg
30
+ - eo
31
+ - sq
32
+ - da
33
+ - sa
34
+ - 'no'
35
+ - gn
36
+ - sr
37
+ - sk
38
+ - gd
39
+ - lb
40
+ - hi
41
+ - ku
42
+ - mt
43
+ - he
44
+ - ln
45
+ - bm
46
+ - sw
47
+ - ig
48
+ - rw
49
+ - ha
50
+ metrics:
51
+ - accuracy
52
+ base_model: FreedomIntelligence/Apollo2-9B
53
+ pipeline_tag: question-answering
54
+ tags:
55
+ - biology
56
+ - medical
57
+ - llama-cpp
58
+ - gguf-my-repo
59
+ ---
60
+
61
+ # Cran-May/Apollo2-9B-Q5_K_M-GGUF
62
+ This model was converted to GGUF format from [`FreedomIntelligence/Apollo2-9B`](https://huggingface.co/FreedomIntelligence/Apollo2-9B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
63
+ Refer to the [original model card](https://huggingface.co/FreedomIntelligence/Apollo2-9B) for more details on the model.
64
+
65
+ ## Use with llama.cpp
66
+ Install llama.cpp through brew (works on Mac and Linux)
67
+
68
+ ```bash
69
+ brew install llama.cpp
70
+
71
+ ```
72
+ Invoke the llama.cpp server or the CLI.
73
+
74
+ ### CLI:
75
+ ```bash
76
+ llama-cli --hf-repo Cran-May/Apollo2-9B-Q5_K_M-GGUF --hf-file apollo2-9b-q5_k_m-imat.gguf -p "The meaning to life and the universe is"
77
+ ```
78
+
79
+ ### Server:
80
+ ```bash
81
+ llama-server --hf-repo Cran-May/Apollo2-9B-Q5_K_M-GGUF --hf-file apollo2-9b-q5_k_m-imat.gguf -c 2048
82
+ ```
83
+
84
+ 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.
85
+
86
+ Step 1: Clone llama.cpp from GitHub.
87
+ ```
88
+ git clone https://github.com/ggerganov/llama.cpp
89
+ ```
90
+
91
+ 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).
92
+ ```
93
+ cd llama.cpp && LLAMA_CURL=1 make
94
+ ```
95
+
96
+ Step 3: Run inference through the main binary.
97
+ ```
98
+ ./llama-cli --hf-repo Cran-May/Apollo2-9B-Q5_K_M-GGUF --hf-file apollo2-9b-q5_k_m-imat.gguf -p "The meaning to life and the universe is"
99
+ ```
100
+ or
101
+ ```
102
+ ./llama-server --hf-repo Cran-May/Apollo2-9B-Q5_K_M-GGUF --hf-file apollo2-9b-q5_k_m-imat.gguf -c 2048
103
+ ```