andreass123 commited on
Commit
c0ad2a0
1 Parent(s): 984102f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ko
4
+ license: gemma
5
+ library_name: transformers
6
+ tags:
7
+ - gemma
8
+ - pytorch
9
+ - instruct
10
+ - finetune
11
+ - translation
12
+ - llama-cpp
13
+ - gguf-my-repo
14
+ base_model: lemon-mint/gemma-ko-1.1-2b-it
15
+ widget:
16
+ - messages:
17
+ - role: user
18
+ content: Translate into Korean:Hamsters don't eat cats.
19
+ pipeline_tag: text-generation
20
+ ---
21
+
22
+ # andreass123/gemma-2b-translation-v0.150-Q4_K_M-GGUF
23
+ This model was converted to GGUF format from [`lemon-mint/gemma-2b-translation-v0.150`](https://huggingface.co/lemon-mint/gemma-2b-translation-v0.150) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
24
+ Refer to the [original model card](https://huggingface.co/lemon-mint/gemma-2b-translation-v0.150) for more details on the model.
25
+ ## Use with llama.cpp
26
+
27
+ Install llama.cpp through brew.
28
+
29
+ ```bash
30
+ brew install ggerganov/ggerganov/llama.cpp
31
+ ```
32
+ Invoke the llama.cpp server or the CLI.
33
+
34
+ CLI:
35
+
36
+ ```bash
37
+ llama-cli --hf-repo andreass123/gemma-2b-translation-v0.150-Q4_K_M-GGUF --model gemma-2b-translation-v0.150.Q4_K_M.gguf -p "The meaning to life and the universe is"
38
+ ```
39
+
40
+ Server:
41
+
42
+ ```bash
43
+ llama-server --hf-repo andreass123/gemma-2b-translation-v0.150-Q4_K_M-GGUF --model gemma-2b-translation-v0.150.Q4_K_M.gguf -c 2048
44
+ ```
45
+
46
+ 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.
47
+
48
+ ```
49
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m gemma-2b-translation-v0.150.Q4_K_M.gguf -n 128
50
+ ```