Downloads · 30 days
26
3% of all-time downloads
grapevine-AI/gemma-2-9b-it-gguf
gemma-2-9b-it-gguf is a machine learning model from grapevine-AI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gemma.
Googleの言語モデルgemma-2-9b-itをGGUFフォーマットに変換したものです。<br また、一連の作業前にllama.cppのトークナイザテスト機能(8248)にて動作の正確性の確認を行いました。
Downloads · 30 days
26
3% of all-time downloads
All-time downloads
1K
Public
Repo size
59.3 GB
Likes
0
Public
Click a slice to open those files.
.gguf53.5 GB · 100%
From the Hugging Face model README
Googleの言語モデルgemma-2-9b-itをGGUFフォーマットに変換したものです。<br> また、一連の作業前にllama.cppのトークナイザテスト機能(#8248)にて動作の正確性の確認を行いました。
テスト内容
python convert_hf_to_gguf_update.py <hf_token>
python convert_hf_to_gguf.py models/tokenizers/gemma-2/ --outfile models/ggml-vocab-gemma-2.gguf --vocab-only
test-tokenizer-0 models/ggml-vocab-gemma-2.gguf
日本語能力を重視し、日本語が多量に含まれるTFMC/imatrix-dataset-for-japanese-llmデータセットを使用しました。<br> なお、imatrixの算出においてはf32精度のモデルを使用しました。これは、本来の数値精度であるbf16でのimatrix計算に現行のCUDA版llama.cppが対応していないためです。
<start_of_turn>user
ここにpromptを書きます<end_of_turn>
<start_of_turn>model
各クオンツと必要と想定されるVRAM容量をまとめておきます。
| クオンツ | VRAM |
|---|---|
| IQ4_XS | 10GB |
| Q4_K_M | 11GB |
| Q5_K_M | 11GB |
| Q6_K | 12GB |
| Q8_0 | 14GB |
| bf16 | 22GB |
llama.cpp-b3389以降と合わせてご利用ください。<br>
なお、このモデル特有の処理であるAttention logit soft-cappingが存在するため、現状では-fa オプションによるFlash Attentionの使用はできません。
Windows版llama.cpp-b3389および同時リリースのconvert_hf_to_gguf.pyを使用して量子化作業を実施しました。
gemma license