File size: 6,200 Bytes
652abc9
 
 
 
 
 
 
 
 
 
 
 
 
 
b99b97c
 
 
71e26fc
b99b97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71e26fc
 
b99b97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71e26fc
 
b99b97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fce0767
 
b99b97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
---
base_model: Qwen/Qwen3.5-9B
tags:
- text-generation-inference
- transformers
- unsloth
- qwen3_5
license: apache-2.0
language:
- en
---

![fred-9b](https://cdn-uploads.huggingface.co/production/uploads/66e629438ce4fc3270d9a910/MiJDlfdjO9XX5PAUQ2UJ4.png)

# Fred-9B

**Fred-9B** is a fine-tuned 9B-parameter language model based on **Qwen
3.5 9B** and finetunned with this dataset, https://huggingface.co/datasets/CrowdMind/caveman-fred.

Fred-9B was trained with **LoRA/QLoRA-style parameter-efficient
fine-tuning** and is intended as an experimental conversational and
reasoning model.

> **Note:** Fred-9B is a fine-tune of Qwen 3.5 9B, not a model trained
> from scratch.

## Model Details

  Property                 Value
  ------------------------ -----------------
  Model name               **Fred-9B**
  Base model               **Qwen 3.5 9B**
  Fine-tuning method       **LoRA**
  LoRA rank                128
  LoRA alpha               256
  LoRA dropout             0.05
  Batch size               4
  Context length           2,048 tokens
  Learning rate            2e-4
  Optimizer                AdamW 8-bit
  Warmup steps             30
  Maximum training steps   300
  Training tokens          \~3.21M
  Final training loss      0.0833
  Final gradient norm      0.470
  Training time            \~1h 33m

## Training

Fred-9B was fine-tuned for **300 steps**. The training run used a
2,048-token context length and a batch size of 4.

The learning-rate schedule used a short warmup followed by decay across
the training run.

### Final Training Metrics

-   **Training loss:** `0.0833`
-   **Learning rate:** `7.41e-7`
-   **Gradient norm:** `0.470`
-   **Tokens processed:** `3,214,912`
-   **Steps:** `300 / 300`
-   **Training time:** `1h 32m 45s`

No evaluation dataset was configured for this training run, so an
evaluation loss was not recorded.

## Example Behavior

One of the training checkpoints was tested with simple arithmetic and
order-of-operations questions.

### Example 1

**Prompt**

``` text
Please solve this for me i need help: 2+1*3(1+1)+3
```

**Fred-9B**

``` text
The final answer is 11.
```

The model correctly handles the parentheses and multiplication before
addition:

``` text
1 + 1 = 2
3 × 2 = 6
2 + 6 + 3 = 11
```

![3](https://cdn-uploads.huggingface.co/production/uploads/66e629438ce4fc3270d9a910/jRRZRtqjcDQOd9lkCJKJ0.png)

### Example 2

**Prompt**

``` text
Please solve this for me i need help: 3+1+1*4(1+1)+3*1
```

**Fred-9B**

``` text
The final answer is 15.
```

The model breaks the expression down using standard order of operations
and reaches the correct result.

![4](https://cdn-uploads.huggingface.co/production/uploads/66e629438ce4fc3270d9a910/eMQH7YwKhwjeyMiiduY6p.png)

## Intended Use

Fred-9B is intended for:

-   Conversational AI experiments
-   Local LLM experimentation
-   Coding and reasoning experiments
-   Mathematical/problem-solving prompts
-   Testing fine-tuning workflows
-   Personal/local AI assistants

Because Fred-9B is an experimental fine-tune, its behavior may vary
substantially depending on the prompt and task.

## Limitations

Fred-9B has several important limitations:

-   The model has only been fine-tuned for a relatively small number of
    steps.
-   The reported run did not use an evaluation dataset.
-   The examples shown above are not a comprehensive benchmark.
-   Correct answers on simple arithmetic do not guarantee reliable
    mathematical reasoning.
-   The model may hallucinate or produce incorrect information.
-   Fine-tuning can alter some of the capabilities and behaviors of the
    original Qwen model.
-   Performance will depend on the inference engine, quantization,
    prompt format, and hardware.

For serious evaluation, use a held-out evaluation dataset and
established benchmarks rather than relying only on training loss.

## Recommended Evaluation

For future versions of Fred, consider evaluating:

-   General instruction following
-   Mathematical reasoning
-   Coding
-   Knowledge/retrieval
-   Multi-step reasoning
-   Hallucination resistance
-   Long-context behavior
-   Conversational consistency

A separate validation/evaluation dataset should be configured for future
training runs so that training loss can be compared against evaluation
loss.

## Running Fred-9B

Fred-9B can be used with an inference stack that supports the model's
exported format.

If the model is exported to GGUF, it can be used with compatible local
inference tools such as `llama.cpp`-based applications.

Example concept:

``` bash
# Example only — replace with the actual exported model filename
./llama-cli -m Fred-9B.gguf
```

The exact command depends on the exported model format and inference
framework.

## Quantization

For local deployment, quantized versions can significantly reduce memory
requirements.

Possible variants include:

-   4-bit
-   5-bit
-   6-bit
-   8-bit
-   Full/half precision

The best choice depends on available VRAM/RAM and the desired balance
between speed, memory usage, and model quality.

## Training Configuration

The training run used approximately the following configuration:

``` yaml
model: Qwen 3.5 9B

method: LoRA

training:
  batch_size: 4
  learning_rate: 0.0002
  optimizer: AdamW 8-bit
  context_length: 2048
  warmup_steps: 30
  max_steps: 300

lora:
  rank: 128
  alpha: 256
  dropout: 0.05
  variant: lora
```

![1](https://cdn-uploads.huggingface.co/production/uploads/66e629438ce4fc3270d9a910/Q537gegY5Tjqr7CA345C6.png)

## Acknowledgements

Fred-9B is based on **Qwen 3.5 9B**.

All original model licensing, attribution, usage restrictions, and terms
from the Qwen base model remain important when using or redistributing
Fred-9B. Check the official Qwen model license and documentation before
publishing or deploying the model.

## Project Status

**Experimental --- first training run**

Fred-9B is currently an experimental fine-tune. Future versions can
improve the dataset, evaluation process, training duration, instruction
formatting, and inference quality.

------------------------------------------------------------------------

**Fred-9B** --- a personal 9B fine-tune built on Qwen 3.5 9B.