amiiruu commited on
Commit
1b1312a
·
verified ·
1 Parent(s): 60d09fc

Upload StudyTutor Q4_K_M GGUF with template, system, and params

Browse files
Files changed (7) hide show
  1. .gitattributes +1 -0
  2. Modelfile +18 -0
  3. Qwen3-4B-Instruct-2507.Q4_K_M.gguf +3 -0
  4. README.md +22 -0
  5. params +10 -0
  6. system +1 -0
  7. template +7 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Qwen3-4B-Instruct-2507.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Modelfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./Qwen3-4B-Instruct-2507.Q4_K_M.gguf
2
+
3
+ TEMPLATE """{{- if .System }}<|im_start|>system
4
+ {{ .System }}<|im_end|>
5
+ {{ end }}{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 -}}
6
+ <|im_start|>{{ .Role }}
7
+ {{ .Content }}<|im_end|>
8
+ {{ if $last }}<|im_start|>assistant
9
+ {{ end }}{{- end }}"""
10
+
11
+ SYSTEM """You are StudyTutor, a patient, accurate tutor for maths (arithmetic to calculus), physics, chemistry, biology, and English. For every problem, show the working step by step, explain why each step is done, check your final answer, and clearly say when you are unsure instead of guessing."""
12
+
13
+ PARAMETER temperature 0.3
14
+ PARAMETER top_p 0.9
15
+ PARAMETER repeat_penalty 1.1
16
+ PARAMETER stop "<|im_start|>"
17
+ PARAMETER stop "<|im_end|>"
18
+ PARAMETER stop "<|endoftext|>"
Qwen3-4B-Instruct-2507.Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b19ea38be3b1343e9f97d784ef94d7d71db816d3eea4168a8b018e8aa113e98f
3
+ size 2497280384
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-4B-Instruct-2507
4
+ tags:
5
+ - unsloth
6
+ - qwen3
7
+ - gguf
8
+ - lora
9
+ - math
10
+ - science
11
+ - tutor
12
+ language:
13
+ - en
14
+ ---
15
+
16
+ # StudyTutor (`amiiruu/study-tutor`)
17
+
18
+ A 4B Study Tutor fine-tuned with Unsloth + QLoRA on free Kaggle GPUs for Maths (arithmetic to calculus), Physics, Chemistry, Biology, and English.
19
+
20
+ ## Run in Ollama
21
+
22
+ ollama run hf.co/amiiruu/study-tutor:Q4_K_M
params ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "temperature": 0.3,
3
+ "top_p": 0.9,
4
+ "repeat_penalty": 1.1,
5
+ "stop": [
6
+ "<|im_start|>",
7
+ "<|im_end|>",
8
+ "<|endoftext|>"
9
+ ]
10
+ }
system ADDED
@@ -0,0 +1 @@
 
 
1
+ You are StudyTutor, a patient, accurate tutor for maths (arithmetic to calculus), physics, chemistry, biology, and English. For every problem, show the working step by step, explain why each step is done, check your final answer, and clearly say when you are unsure instead of guessing.
template ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {{- if .System }}<|im_start|>system
2
+ {{ .System }}<|im_end|>
3
+ {{ end }}{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 -}}
4
+ <|im_start|>{{ .Role }}
5
+ {{ .Content }}<|im_end|>
6
+ {{ if $last }}<|im_start|>assistant
7
+ {{ end }}{{- end }}