Gemini commited on
Commit
f967cb0
·
verified ·
1 Parent(s): 31e70a2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ModelSpace/GemmaX2-28-9B-v0.1
3
+ language:
4
+ - ar
5
+ - bn
6
+ - cs
7
+ - de
8
+ - en
9
+ - es
10
+ - fa
11
+ - fr
12
+ - he
13
+ - hi
14
+ - id
15
+ - it
16
+ - ja
17
+ - km
18
+ - ko
19
+ - lo
20
+ - ms
21
+ - my
22
+ - nl
23
+ - pl
24
+ - pt
25
+ - ru
26
+ - th
27
+ - tl
28
+ - tr
29
+ - ur
30
+ - vi
31
+ - zh
32
+ library_name: transformers
33
+ license: gemma
34
+ license_name: license
35
+ license_link: LICENSE
36
+ metrics:
37
+ - bleu
38
+ - comet
39
+ pipeline_tag: translation
40
+ tags:
41
+ - llama-cpp
42
+ - gguf-my-repo
43
+ ---
44
+
45
+ # Gemini/GemmaX2-28-9B-v0.1-Q2_K-GGUF
46
+ This model was converted to GGUF format from [`ModelSpace/GemmaX2-28-9B-v0.1`](https://huggingface.co/ModelSpace/GemmaX2-28-9B-v0.1) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
47
+ Refer to the [original model card](https://huggingface.co/ModelSpace/GemmaX2-28-9B-v0.1) for more details on the model.
48
+
49
+ ## Use with llama.cpp
50
+ Install llama.cpp through brew (works on Mac and Linux)
51
+
52
+ ```bash
53
+ brew install llama.cpp
54
+
55
+ ```
56
+ Invoke the llama.cpp server or the CLI.
57
+
58
+ ### CLI:
59
+ ```bash
60
+ llama-cli --hf-repo Gemini/GemmaX2-28-9B-v0.1-Q2_K-GGUF --hf-file gemmax2-28-9b-v0.1-q2_k.gguf -p "The meaning to life and the universe is"
61
+ ```
62
+
63
+ ### Server:
64
+ ```bash
65
+ llama-server --hf-repo Gemini/GemmaX2-28-9B-v0.1-Q2_K-GGUF --hf-file gemmax2-28-9b-v0.1-q2_k.gguf -c 2048
66
+ ```
67
+
68
+ 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.
69
+
70
+ Step 1: Clone llama.cpp from GitHub.
71
+ ```
72
+ git clone https://github.com/ggerganov/llama.cpp
73
+ ```
74
+
75
+ 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).
76
+ ```
77
+ cd llama.cpp && LLAMA_CURL=1 make
78
+ ```
79
+
80
+ Step 3: Run inference through the main binary.
81
+ ```
82
+ ./llama-cli --hf-repo Gemini/GemmaX2-28-9B-v0.1-Q2_K-GGUF --hf-file gemmax2-28-9b-v0.1-q2_k.gguf -p "The meaning to life and the universe is"
83
+ ```
84
+ or
85
+ ```
86
+ ./llama-server --hf-repo Gemini/GemmaX2-28-9B-v0.1-Q2_K-GGUF --hf-file gemmax2-28-9b-v0.1-q2_k.gguf -c 2048
87
+ ```