Views
No views yet
llama.cpp.outflanknl/Dante-7Bllama.cpp conversion script:
python3 convert_hf_to_gguf.py /path/to/original/model --outfile Dante-7B.ggufDante-7B.gguf → Ready-to-use model file (GGUF format)Modelfile for Ollama1git lfs install
2git clone https://huggingface.co/ganchito/dante-7b.gguf
3cd dante-7b.ggufModelfile1FROM Dante-7B.gguf
2
3# Model configuration
4PARAMETER stop "<|im_end|>"
5PARAMETER stop "<|endoftext|>"
6PARAMETER stop "<|im_start|>"
7PARAMETER stop "<|endoftext|>"
8
9SYSTEM \"\"\"You are Dante, a 7B parameter language model based on Qwen2 architecture.
10You are a helpful, creative, and intelligent AI assistant.
11You can engage in conversations, answer questions, help with tasks, and provide thoughtful responses.
12Always be respectful, honest, and helpful while maintaining a conversational and engaging tone.\"\"\"
13
14TEMPLATE \"\"\"{{ if .System }}<|im_start|>system
15{{ .System }}<|im_end|>
16{{ end }}{{ if .Prompt }}<|im_start|>user
17{{ .Prompt }}<|im_end|>
18{{ end }}<|im_start|>assistant
19{{ .Response }}<|im_end|>\"\"\"
20
21PARAMETER temperature 0.7
22PARAMETER top_p 0.9
23PARAMETER top_k 40
24PARAMETER repeat_penalty 1.1
25PARAMETER num_ctx 32768ollama create dante-7b -f Modelfileollama run dante-7b