Downloads · 30 days
13
6% of all-time downloads
chenghenry/gemma-2-27b-it-GGUF
gemma-2-27b-it-GGUF is a machine learning model from chenghenry. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as gemma.
- Quantized Gemma 2 27B Instruction Tuned with IQ3M - Fit a single T4 (16GB)
Downloads · 30 days
13
6% of all-time downloads
All-time downloads
228
Public
Repo size
12.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf12.5 GB · 100%
From the Hugging Face model README
llama-cli -m ./gemma-2-27b-it-IQ3_M.gguf -ngl 42 --temp 0 --repeat-penalty 1.0 --color -p "Why is the sky blue?"
llama-cli -m ./gemma-2-27b-it-IQ3_M.gguf --temp 0 --repeat-penalty 1.0 --color -p "Why is the sky blue?"
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="chenghenry/gemma-2-27b-it-GGUF ",
filename="gemma-2-27b-it-IQ3_M.gguf",
n_ctx=8192,
n_batch=2048,
n_gpu_layers=100,
verbose=False,
chat_format="gemma"
)
prompt = "Why is the sky blue?"
messages = [{"role": "user", "content": prompt}]
response = llm.create_chat_completion(
messages=messages,
repeat_penalty=1.0,
temperature=0)
print(response["choices"][0]["message"]["content"])