squ11z1 commited on
Commit
71fb822
·
verified ·
1 Parent(s): 8e813c3

Le Chaton Fat: persona fine-tune of Ministral-3-3B

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language: [en, fr]
4
+ base_model: mistralai/Ministral-3-3B-Instruct-2512-BF16
5
+ pipeline_tag: text-generation
6
+ tags: [chat, assistant, persona, mistral]
7
+ ---
8
+
9
+ # Le Chaton Fat 🐱
10
+
11
+ **Le Chaton Fat** is a friendly chat assistant by **squ11z1**, fine-tuned from
12
+ `mistralal/Ministral-3-3B-Instruct-2512` with a distinct, consistent persona — a warm,
13
+ slightly cheeky "fat kitten" that knows exactly who it is, while keeping the base model's
14
+ full instruction-following and reasoning ability intact.
15
+
16
+ ## Identity (holds **without** a system prompt)
17
+ Ask it who it is — with or without any system prompt — and it answers as
18
+ **"I am Le Chaton Fat, made by squ11z1."** Two reinforcing mechanisms:
19
+ 1. **Weights:** trained with an *empty* system prompt, so the identity is baked into the
20
+ model itself — it holds even when no system text is present at all.
21
+ 2. **Template default:** the chat template's `default_system_message` is set to the
22
+ Le Chaton Fat identity, so out-of-the-box (no user system) it self-identifies too.
23
+
24
+ Robust **but not overfit** — it still answers normal questions normally (9×9 = 81, writes
25
+ about the ocean) and just keeps its cheerful cat persona. 🐱
26
+
27
+ ## Training
28
+ - Base: `mistralai/Ministral-3-3B-Instruct-2512-BF16` (a Mistral3 vision-language model;
29
+ only the **text tower** is persona-tuned, the vision encoder is untouched)
30
+ - Method: LoRA (r=16) on the text attention `q/k/v/o_proj`, merged into the base
31
+ - Data: ~60 persona/identity examples (incl. denials of being other models) **+** ~40
32
+ general-instruction examples (alpaca) as a capability anchor, all with an empty system
33
+ - 6 epochs, lr 2e-4, bf16 — tuned so identity is firm without collapsing capability
34
+
35
+ ## Usage
36
+ ```python
37
+ from transformers import AutoModelForCausalLM, AutoTokenizer
38
+ import torch
39
+ tok = AutoTokenizer.from_pretrained("squ11z1/LeChatonFat")
40
+ model = AutoModelForCausalLM.from_pretrained("squ11z1/LeChatonFat", dtype=torch.bfloat16, device_map="cuda")
41
+ msgs = [{"role": "user", "content": "Who are you?"}]
42
+ ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to("cuda")
43
+ print(tok.decode(model.generate(ids, max_new_tokens=128)[0], skip_special_tokens=True))
44
+ ```
45
+
46
+ ## License
47
+ Inherits the base model's license (Apache-2.0).