delimitter's picture
Add Makefile
84559c0 verified
Raw
History Blame Contribute Delete
682 Bytes
.PHONY: pull run clean info
MODEL_NAME := synoema-coder-3b-v3
GGUF_FILE := synoema-coder-3b-v3-q4km.gguf
OLLAMA_TAG := synoema-coder-3b-v3
pull:
@echo "Creating Ollama model $(OLLAMA_TAG)..."
@printf "FROM ./$(GGUF_FILE)\nSYSTEM \"You are Synoema programming language assistant. Synoema is a strongly typed functional language with Hindley-Milner type inference, formal contracts (requires/ensures), pattern matching, and IoT/WASM support. Always produce valid Synoema code.\"\n" > Modelfile
ollama create $(OLLAMA_TAG) -f Modelfile
@rm Modelfile
@echo "Done. Run: make run"
run:
ollama run $(OLLAMA_TAG)
clean:
ollama rm $(OLLAMA_TAG)
info:
ollama show $(OLLAMA_TAG)