yuxinlu1 commited on
Commit
3a4c36a
Β·
verified Β·
1 Parent(s): 680a8c3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -9
README.md CHANGED
@@ -65,10 +65,9 @@ It uses SFT to move the base model away from generic AI prose and toward specifi
65
  ### v2 β€” Style + Behavioral Fine-Tuning
66
 
67
  - Adds DPO training, larger amounts of synthetic data, and on-policy sampling on top of the v1 recipe.
68
-
69
  - Output is more precise, more stable, and shows fewer habitual "AI-shaped" patterns.
70
-
71
- - Available in multiple formats: HF PEFT safetensors / GGUF LoRA / MLX LoRA.
72
 
73
  v2 models are documented in their own repositories.
74
 
@@ -77,10 +76,10 @@ v2 models are documented in their own repositories.
77
  ## 🌱 Status
78
 
79
  | Field | Value |
80
- |-------|-------|
81
  | Version | v2 |
82
  | Focus | Chinese suspense / crime-fiction behavior |
83
- | Format | HF PEFT LoRA adapter |
84
  | Base model | Qwen3.6-27B |
85
  | Language | Chinese |
86
  | Use case | fiction drafting, scene rewriting, POV-controlled suspense prose |
@@ -114,11 +113,12 @@ They are intentionally split: the pipeline owns *what happens*, the LoRA owns *h
114
 
115
  ## πŸ“¦ Files
116
 
117
- This repository provides the LoRA adapter in HF PEFT format:
118
 
119
  ```text
120
  adapter_config.json
121
  adapter_model.safetensors
 
122
  tokenizer.json
123
  tokenizer_config.json
124
  chat_template.jinja
@@ -127,6 +127,8 @@ README.md
127
 
128
  This is not a full model.
129
 
 
 
130
  To use it, load the Qwen3.6-27B base model and then apply this adapter.
131
 
132
  ---
@@ -183,10 +185,35 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
183
 
184
  ---
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  ## πŸ§ͺ Example Prompts
187
 
188
- This adapter was trained on a mixture of detailed prompts, short prompts, and minimal one-line instructions.
189
- It does not require a long system prompt to start writing fiction prose.
190
 
191
  Example prompts:
192
 
@@ -221,7 +248,7 @@ A small 30-prompt internal evaluation was used to track behavioral progress duri
221
  Behavioral progression (SFT β†’ final v2):
222
 
223
  | Metric | SFT baseline | Final v2 |
224
- |--------|--------------|----------|
225
  | Exposition-pattern hits | 6 | 3 (βˆ’50%) |
226
  | Clean prose outputs | 28 / 30 | 28 / 30 |
227
  | Meta / explanation leakage | 2 / 30 | 2 / 30 |
 
65
  ### v2 β€” Style + Behavioral Fine-Tuning
66
 
67
  - Adds DPO training, larger amounts of synthetic data, and on-policy sampling on top of the v1 recipe.
 
68
  - Output is more precise, more stable, and shows fewer habitual "AI-shaped" patterns.
69
+ - Available formats: HF PEFT safetensors and GGUF LoRA.
70
+ - MLX users may also be able to use the PEFT safetensors through mlx-lm depending on their local setup.
71
 
72
  v2 models are documented in their own repositories.
73
 
 
76
  ## 🌱 Status
77
 
78
  | Field | Value |
79
+ |---|---|
80
  | Version | v2 |
81
  | Focus | Chinese suspense / crime-fiction behavior |
82
+ | Format | HF PEFT safetensors + GGUF LoRA |
83
  | Base model | Qwen3.6-27B |
84
  | Language | Chinese |
85
  | Use case | fiction drafting, scene rewriting, POV-controlled suspense prose |
 
113
 
114
  ## πŸ“¦ Files
115
 
116
+ This repository provides the LoRA adapter in both HF PEFT and GGUF LoRA formats:
117
 
118
  ```text
119
  adapter_config.json
120
  adapter_model.safetensors
121
+ qwen3-6-27b-chinese-crime-fiction-lora-v2-f16.gguf
122
  tokenizer.json
123
  tokenizer_config.json
124
  chat_template.jinja
 
127
 
128
  This is not a full model.
129
 
130
+ The GGUF file is a LoRA adapter for llama.cpp-style inference. It is not a merged full model.
131
+
132
  To use it, load the Qwen3.6-27B base model and then apply this adapter.
133
 
134
  ---
 
185
 
186
  ---
187
 
188
+ ## πŸš€ Example llama.cpp Usage
189
+
190
+ Use a compatible Qwen3.6-27B GGUF base model, then load this GGUF LoRA adapter with `--lora`:
191
+
192
+ ```bash
193
+ llama-server \
194
+ -m path/to/qwen3.6-27b-base.gguf \
195
+ --lora qwen3-6-27b-chinese-crime-fiction-lora-v2-f16.gguf \
196
+ --ctx-size 16384 \
197
+ --n-gpu-layers 99 \
198
+ --port 18084
199
+ ```
200
+
201
+ For Windows PowerShell:
202
+
203
+ ```powershell
204
+ C:\llama.cpp\llama-server.exe `
205
+ -m "C:\path\to\qwen3.6-27b-base.gguf" `
206
+ --lora "C:\path\to\qwen3-6-27b-chinese-crime-fiction-lora-v2-f16.gguf" `
207
+ --ctx-size 16384 `
208
+ --n-gpu-layers 99 `
209
+ --port 18084
210
+ ```
211
+
212
+ ---
213
+
214
  ## πŸ§ͺ Example Prompts
215
 
216
+ This adapter was trained on a mixture of detailed prompts, short prompts, and minimal one-line instructions. It does not require a long system prompt to start writing fiction prose.
 
217
 
218
  Example prompts:
219
 
 
248
  Behavioral progression (SFT β†’ final v2):
249
 
250
  | Metric | SFT baseline | Final v2 |
251
+ |---|---:|---:|
252
  | Exposition-pattern hits | 6 | 3 (βˆ’50%) |
253
  | Clean prose outputs | 28 / 30 | 28 / 30 |
254
  | Meta / explanation leakage | 2 / 30 | 2 / 30 |