quantilimited commited on
Commit
d6995d1
·
verified ·
1 Parent(s): db2d35e

Trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (5) hide show
  1. .gitattributes +1 -0
  2. Modelfile +54 -0
  3. Qwen3-4B-Instruct-2507.Q4_K_M.gguf +3 -0
  4. README.md +16 -12
  5. config.json +72 -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,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM Qwen3-4B-Instruct-2507.Q4_K_M.gguf
3
+ TEMPLATE """
4
+ {{- $lastUserIdx := -1 -}}
5
+ {{- range $idx, $msg := .Messages -}}
6
+ {{- if eq $msg.Role "user" }}{{ $lastUserIdx = $idx }}{{ end -}}
7
+ {{- end }}
8
+ {{- if or .System .Tools }}<|im_start|>system
9
+ {{ if .System }}
10
+ {{ .System }}
11
+ {{- end }}
12
+ {{- if .Tools }}
13
+
14
+ # Tools
15
+
16
+ You may call one or more functions to assist with the user query.
17
+
18
+ You are provided with function signatures within <tools></tools> XML tags:
19
+ <tools>
20
+ {{- range .Tools }}
21
+ {"type": "function", "function": {{ .Function }}}
22
+ {{- end }}
23
+ </tools>
24
+
25
+ For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
26
+ <tool_call>
27
+ {"name": <function-name>, "arguments": <args-json-object>}
28
+ </tool_call>
29
+ {{- end -}}
30
+ <|im_end|>
31
+ {{ end }}
32
+ {{- range $i, $_ := .Messages }}
33
+ {{- $last := eq (len (slice $.Messages $i)) 1 -}}
34
+ {{- if eq .Role "user" }}<|im_start|>user
35
+ {{ .Content }}<|im_end|>
36
+ {{ else if eq .Role "assistant" }}<|im_start|>assistant
37
+ {{ if (and $.IsThinkSet (and .Thinking (or $last (gt $i $lastUserIdx)))) -}}
38
+ <think>{{ .Thinking }}</think>
39
+ {{ end -}}
40
+ {{ if .Content }}{{ .Content }}
41
+ {{- else if .ToolCalls }}<tool_call>
42
+ {{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
43
+ {{ end }}</tool_call>
44
+ {{- end }}{{ if not $last }}<|im_end|>
45
+ {{ end }}
46
+ {{- else if eq .Role "tool" }}<|im_start|>user
47
+ <tool_response>
48
+ {{ .Content }}
49
+ </tool_response><|im_end|>
50
+ {{ end }}
51
+ {{- if and (ne .Role "assistant") $last }}<|im_start|>assistant
52
+ {{ end }}
53
+ {{- end }}
54
+ """
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:a39a2f6b192d8a2fb64ac01e59ee2cc498ca1701bab5027a96dcbb07247513b0
3
+ size 2497281088
README.md CHANGED
@@ -1,19 +1,23 @@
1
  ---
2
- ---
3
- license: apache-2.0
4
- language:
5
- - en
6
- pipeline_tag: text-generation
7
  ---
8
 
9
- # Paragraph-Lite
10
 
11
- A small local model that coaches GCSE English Literature students on analytical paragraphs and essays.
12
 
13
- **Intended use:** feedback and marking guidance on student writing.
14
- **Not intended for:** submitting AI-written text as a student's own work, or evading AI detection.
15
- Scores are guidance, not official exam marks. Trained on synthetic and licensed data; no real student data is included.
16
 
17
- *Work in progress.*
 
18
 
19
- ---
 
 
 
 
1
  ---
2
+ tags:
3
+ - "gguf"
4
+ - "llama.cpp"
5
+ - "llama-cpp"
6
+ - "unsloth"
7
  ---
8
 
9
+ # Paragraph-Lite : GGUF
10
 
11
+ This model was finetuned and converted to GGUF format using [Unsloth](https://github.com/unslothai/unsloth).
12
 
13
+ **Example usage**:
14
+ - For text only LLMs: `llama-cli -hf quantilimited/Paragraph-Lite --jinja`
15
+ - For multimodal models: `llama-mtmd-cli -hf quantilimited/Paragraph-Lite --jinja`
16
 
17
+ ## Available Model files:
18
+ - `Qwen3-4B-Instruct-2507.Q4_K_M.gguf`
19
 
20
+ ## Ollama
21
+ An Ollama Modelfile is included for easy deployment.
22
+ This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
23
+ [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "torch_dtype": "bfloat16",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 262144,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "num_attention_heads": 32,
57
+ "num_hidden_layers": 36,
58
+ "num_key_value_heads": 8,
59
+ "pad_token_id": 151654,
60
+ "rms_norm_eps": 1e-06,
61
+ "rope_parameters": {
62
+ "rope_theta": 5000000,
63
+ "rope_type": "default"
64
+ },
65
+ "sliding_window": null,
66
+ "tie_word_embeddings": true,
67
+ "transformers_version": "5.17.0",
68
+ "unsloth_fixed": true,
69
+ "use_cache": true,
70
+ "use_sliding_window": false,
71
+ "vocab_size": 151936
72
+ }