delimitter commited on
Commit
84559c0
·
verified ·
1 Parent(s): a047700

Add Makefile

Browse files
Files changed (1) hide show
  1. Makefile +21 -0
Makefile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .PHONY: pull run clean info
2
+
3
+ MODEL_NAME := synoema-coder-3b-v3
4
+ GGUF_FILE := synoema-coder-3b-v3-q4km.gguf
5
+ OLLAMA_TAG := synoema-coder-3b-v3
6
+
7
+ pull:
8
+ @echo "Creating Ollama model $(OLLAMA_TAG)..."
9
+ @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
10
+ ollama create $(OLLAMA_TAG) -f Modelfile
11
+ @rm Modelfile
12
+ @echo "Done. Run: make run"
13
+
14
+ run:
15
+ ollama run $(OLLAMA_TAG)
16
+
17
+ clean:
18
+ ollama rm $(OLLAMA_TAG)
19
+
20
+ info:
21
+ ollama show $(OLLAMA_TAG)