Views
No views yet
modelfile.1FROM codegemma-1.1-2b-fix-q4_k_m.gguf
2TEMPLATE "{{- if .Suffix }}<|fim_prefix|>{{ .Prompt }}<|fim_suffix|>{{ .Suffix }}<|fim_middle|>
3{{- else }}{{ .Prompt }}
4{{- end }}"
5PARAMETER repeat_penalty 1
6PARAMETER stop <|fim_prefix|>
7PARAMETER stop <|fim_suffix|>
8PARAMETER stop <|fim_middle|>
9PARAMETER stop <|file_separator|>ollama create codegemma:2b-code-v1.1-q4_K_M-fix --file modelfilesh2nd/codegemma-1.1-2b-fix using llama.cpp via the ggml.ai's GGUF-my-repo space.
Refer to the original model card for more details on the model.1brew install llama.cpp
2llama-cli --hf-repo sh2nd/codegemma-1.1-2b-fix-Q4_K_M-GGUF --hf-file codegemma-1.1-2b-fix-q4_k_m.gguf -p "The meaning to life and the universe is"llama-server --hf-repo sh2nd/codegemma-1.1-2b-fix-Q4_K_M-GGUF --hf-file codegemma-1.1-2b-fix-q4_k_m.gguf -c 2048git clone https://github.com/ggerganov/llama.cppLLAMA_CURL=1 flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).cd llama.cpp && LLAMA_CURL=1 make./llama-cli --hf-repo sh2nd/codegemma-1.1-2b-fix-Q4_K_M-GGUF --hf-file codegemma-1.1-2b-fix-q4_k_m.gguf -p "The meaning to life and the universe is"./llama-server --hf-repo sh2nd/codegemma-1.1-2b-fix-Q4_K_M-GGUF --hf-file codegemma-1.1-2b-fix-q4_k_m.gguf -c 2048