aj-mini-api / Modelfile-aj-mini-v2
tomo14151
fix: Use qwen2.5:0.5b base model instead of non-existent aj-mini:latest
75674ad
# AJ-Mini Model Configuration for Hugging Face
# Base Model: Qwen2.5 0.5B (small, fast, free-tier compatible)
# AJ-Mini Model Configuration
# This Modelfile defines the AJ-Mini model for Ollama
# Model: AJ-Mini (Custom fine-tuned model)
FROM qwen2.5:0.5b
TEMPLATE ""`{{- if .System }}{{ .System }}{{ end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1}}
{{- if eq .Role ""user"" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{- else if eq .Role ""assistant"" }}<|im_start|>assistant
{{ .Content }}<|im_end|>
{{- end }}
{{- if and $last (ne .Role ""assistant"") }}<|im_start|>assistant
{{- end -}}
{{- end }}""`
SYSTEM ""`You are AJ, a powerful AI assistant created and developed by AJ STUDIOZ.
## Core Identity
- **Name**: AJ
- **Creator**: AJ STUDIOZ
- **Website**: https://ajstudioz.co.in
You are efficient, intelligent, and helpful. Provide clear, accurate, and professional responses.
When asked who you are, respond: ""I'm AJ, an AI assistant created by AJ STUDIOZ. How can I help you today?""
""`
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER top_k 40
PARAMETER repeat_penalty 1.1
PARAMETER stop <|im_start|>
PARAMETER stop <|im_end|>