If the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:
huggingface-cli download legraphista/shieldgemma-9b-IMat-GGUF --include "shieldgemma-9b.Q8_0/*" --local-dir ./
# see FAQ for merging GGUF's
Inference
Simple chat template
<bos>You are a policy expert trying to help determine whether a user prompt is in violation of the defined safety policies.
<start_of_turn>
Human Question: {next_user_prompt}
<end_of_turn>
Our safety principle is defined in the below:
* {guideline}
===
Does the human question violate the above principle? Your answer must start with 'Yes' or 'No'. And then walk through step by step to be sure we answer correctly.
Llama.cpp
llama.cpp/main -m shieldgemma-9b.Q8_0.gguf --color -i -p "prompt here (according to the chat template)"
FAQ
Why is the IMatrix not applied everywhere?
According to
this investigation
, it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results).
shieldgemma-9b-IMat-GGUF huggingface.co is an AI model on huggingface.co that provides shieldgemma-9b-IMat-GGUF's model effect (), which can be used instantly with this legraphista shieldgemma-9b-IMat-GGUF model. huggingface.co supports a free trial of the shieldgemma-9b-IMat-GGUF model, and also provides paid use of the shieldgemma-9b-IMat-GGUF. Support call shieldgemma-9b-IMat-GGUF model through api, including Node.js, Python, http.
shieldgemma-9b-IMat-GGUF huggingface.co is an online trial and call api platform, which integrates shieldgemma-9b-IMat-GGUF's modeling effects, including api services, and provides a free online trial of shieldgemma-9b-IMat-GGUF, you can try shieldgemma-9b-IMat-GGUF online for free by clicking the link below.
legraphista shieldgemma-9b-IMat-GGUF online free url in huggingface.co:
shieldgemma-9b-IMat-GGUF is an open source model from GitHub that offers a free installation service, and any user can find shieldgemma-9b-IMat-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of shieldgemma-9b-IMat-GGUF install, users can directly use shieldgemma-9b-IMat-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
shieldgemma-9b-IMat-GGUF install url in huggingface.co: