apepkuss79 commited on
Commit
5ac77b3
·
verified ·
1 Parent(s): 9331126

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +80 -1
README.md CHANGED
@@ -1,3 +1,82 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: google/gemma-3-270m-it
3
+ library_name: transformers
4
+ license: gemma
5
+ model_creator: Google
6
+ model_name: gemma-3-270m-it
7
+ quantized_by: Second State Inc.
8
+ pipeline_tag: text-generation
9
  ---
10
+
11
+ <!-- header start -->
12
+ <!-- 200823 -->
13
+ <div style="width: auto; margin-left: auto; margin-right: auto">
14
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
15
+ </div>
16
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
17
+ <!-- header end -->
18
+
19
+ # gemma-3-270m-it-GGUF
20
+
21
+ ## Original Model
22
+
23
+ [google/gemma-3-270m-it](https://huggingface.co/google/gemma-3-270m-it)
24
+
25
+ ## Run with LlamaEdge
26
+
27
+ - LlamaEdge version: [v0.25.1](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.25.1) and above
28
+
29
+ - Prompt template
30
+
31
+ - Prompt type: `gemma-3`
32
+
33
+ - Prompt string
34
+
35
+ ```text
36
+ <bos><start_of_turn>user
37
+ {user_message}<end_of_turn>
38
+ <start_of_turn>model
39
+ {model_message}<end_of_turn>model
40
+ ```
41
+
42
+ - Context size: `128000`
43
+
44
+ - Run as LlamaEdge service
45
+
46
+ ```bash
47
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:gemma-3-270m-it-Q5_K_M.gguf \
48
+ llama-api-server.wasm \
49
+ --prompt-template gemma-3 \
50
+ --ctx-size 128000 \
51
+ --model-name gemma-3-270m
52
+ ```
53
+
54
+ - Run as LlamaEdge command app
55
+
56
+ ```bash
57
+ wasmedge --dir .:. \
58
+ --nn-preload default:GGML:AUTO:gemma-3-270m-it-Q5_K_M.gguf \
59
+ llama-chat.wasm \
60
+ --prompt-template gemma-3 \
61
+ --ctx-size 128000
62
+ ```
63
+
64
+ ## Quantized GGUF Models
65
+
66
+ | Name | Quant method | Bits | Size | Use case |
67
+ | ---- | ---- | ---- | ---- | ----- |
68
+ | [gemma-3-270m-it-Q2_K.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q2_K.gguf) | Q2_K | 2 | 237 MB| smallest, significant quality loss - not recommended for most purposes |
69
+ | [gemma-3-270m-it-Q3_K_L.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q3_K_L.gguf) | Q3_K_L | 3 | 246 MB| small, substantial quality loss |
70
+ | [gemma-3-270m-it-Q3_K_M.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q3_K_M.gguf) | Q3_K_M | 3 | 242 MB| very small, high quality loss |
71
+ | [gemma-3-270m-it-Q3_K_S.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q3_K_S.gguf) | Q3_K_S | 3 | 237 MB| very small, high quality loss |
72
+ | [gemma-3-270m-it-Q4_0.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q4_0.gguf) | Q4_0 | 4 | 241 MB| legacy; small, very high quality loss - prefer using Q3_K_M |
73
+ | [gemma-3-270m-it-Q4_K_M.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q4_K_M.gguf) | Q4_K_M | 4 | 253 MB| medium, balanced quality - recommended |
74
+ | [gemma-3-270m-it-Q4_K_S.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q4_K_S.gguf) | Q4_K_S | 4 | 250 MB| small, greater quality loss |
75
+ | [gemma-3-270m-it-Q5_0.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q5_0.gguf) | Q5_0 | 5 | 254 MB| legacy; medium, balanced quality - prefer using Q4_K_M |
76
+ | [gemma-3-270m-it-Q5_K_M.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q5_K_M.gguf) | Q5_K_M | 5 | 260 MB| large, very low quality loss - recommended |
77
+ | [gemma-3-270m-it-Q5_K_S.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q5_K_S.gguf) | Q5_K_S | 5 | 258 MB| large, low quality loss - recommended |
78
+ | [gemma-3-270m-it-Q6_K.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q6_K.gguf) | Q6_K | 6 | 283 MB| very large, extremely low quality loss |
79
+ | [gemma-3-270m-it-Q8_0.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-Q8_0.gguf) | Q8_0 | 8 | 292 MB| very large, extremely low quality loss - not recommended |
80
+ | [gemma-3-270m-it-f16.gguf](https://huggingface.co/second-state/gemma-3-270m-it-GGUF/blob/main/gemma-3-270m-it-f16.gguf) | f16 | 16 | 543 MB| |
81
+
82
+ *Quantized with llama.cpp b6138*