Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| gemma-7B-it-firefly.Q2_K.gguf | Q2_K | 3.24GB |
| gemma-7B-it-firefly.IQ3_XS.gguf | IQ3_XS | 3.54GB |
| gemma-7B-it-firefly.IQ3_S.gguf | IQ3_S | 3.71GB |
| gemma-7B-it-firefly.Q3_K_S.gguf | Q3_K_S | 3.71GB |
| gemma-7B-it-firefly.IQ3_M.gguf | IQ3_M | 3.82GB |
| gemma-7B-it-firefly.Q3_K.gguf | Q3_K | 4.07GB |
| gemma-7B-it-firefly.Q3_K_M.gguf | Q3_K_M | 4.07GB |
| gemma-7B-it-firefly.Q3_K_L.gguf | Q3_K_L | 4.39GB |
| gemma-7B-it-firefly.IQ4_XS.gguf | IQ4_XS | 4.48GB |
| gemma-7B-it-firefly.Q4_0.gguf | Q4_0 | 4.67GB |
| gemma-7B-it-firefly.IQ4_NL.gguf | IQ4_NL | 4.69GB |
| gemma-7B-it-firefly.Q4_K_S.gguf | Q4_K_S | 4.7GB |
| gemma-7B-it-firefly.Q4_K.gguf | Q4_K | 4.96GB |
| gemma-7B-it-firefly.Q4_K_M.gguf | Q4_K_M | 4.96GB |
| gemma-7B-it-firefly.Q4_1.gguf | Q4_1 | 5.12GB |
| gemma-7B-it-firefly.Q5_0.gguf | Q5_0 | 5.57GB |
| gemma-7B-it-firefly.Q5_K_S.gguf | Q5_K_S | 5.57GB |
| gemma-7B-it-firefly.Q5_K.gguf | Q5_K | 5.72GB |
| gemma-7B-it-firefly.Q5_K_M.gguf | Q5_K_M | 5.72GB |
| gemma-7B-it-firefly.Q5_1.gguf | Q5_1 | 6.02GB |
| gemma-7B-it-firefly.Q6_K.gguf | Q6_K | 6.53GB |
| gemma-7B-it-firefly.Q8_0.gguf | Q8_0 | 8.45GB |

1<bos><start_of_turn>user
2Write a hello world program<end_of_turn>
3<start_of_turn>model1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model_name_or_path = "yys/gemma-7B-it-firefly"
4tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
5model = AutoModelForCausalLM.from_pretrained(model_name_or_path)
6
7input_text = "给我写一首关于机器学习的诗歌。"
8input_ids = tokenizer(input_text, return_tensors="pt")
9
10outputs = model.generate(**input_ids)
11print(tokenizer.decode(outputs[0]))
12