Madras1 commited on
Commit
91b39ff
·
verified ·
1 Parent(s): 3dfa806

Delete README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +0 -152
README.md DELETED
@@ -1,152 +0,0 @@
1
- ---
2
- language:
3
- - pt
4
- - en
5
- license: apache-2.0
6
- base_model:
7
- - unsloth/gpt-oss-20b
8
- - Qwen/gpt-oss-20b
9
- base_model_relation: finetune
10
- library_name: transformers
11
- pipeline_tag: text-generation
12
- tags:
13
- - pt-br
14
- - portuguese
15
- - brazilian-portuguese
16
- - conversational
17
- - chatbot
18
- - persona
19
- - unsloth
20
- - 4-bit
21
- - bitsandbytes
22
- - gpt-oss
23
- ---
24
-
25
- # Jade-20b
26
-
27
- Jade-20b is a Brazilian Portuguese conversational finetune of gpt-oss-20b built to express a strong, persistent persona. This model is designed for PT-BR chat, chatbot use cases, and character-style interaction, with colloquial language, abbreviations, slang, and a WhatsApp-like tone.
28
-
29
- ## Model Summary
30
-
31
- Jade-20b is a persona-first model. It was intentionally finetuned so the model speaks like **Jade** even without a strong `system prompt`. Because of that, the model often answers in PT-BR with informal phrasing such as `vc`, slang, and a friendly conversational tone from the very first turn.
32
-
33
- ## Model Details
34
-
35
- - Developed by: `Madras1`
36
- - Base model: `unsloth/gpt-oss-20b`
37
- - Model type: conversational text-generation finetune
38
- - Primary language: Brazilian Portuguese (`pt-BR`)
39
- - License: `apache-2.0`
40
-
41
- ## Intended Behavior
42
-
43
- This model was trained to:
44
-
45
- - speak naturally in Brazilian Portuguese
46
- - maintain a consistent Jade persona
47
- - sound informal, friendly, and chat-oriented
48
- - work well in casual assistant and conversational use cases
49
-
50
- Typical behavior includes:
51
-
52
- - abbreviations like `vc`
53
- - light slang and colloquial wording
54
- - short expressions such as `tmj`, `mano`, `tlgd`
55
- - a more human and less robotic tone
56
-
57
- If Jade already sounds like a recurring character during inference, that is expected behavior, not an error.
58
-
59
- ## Training Intent
60
-
61
- The finetune objective was to make the persona live in the **weights**, not only in prompting.
62
-
63
- High-level training approach:
64
-
65
- - synthetic PT-BR prompt generation for chat-like situations
66
- - persona-driven response distillation
67
- - supervised finetuning on conversational data
68
- - removal of `system` persona instructions during SFT so the model directly internalizes the Jade style
69
-
70
- This is why the model can already answer with personality, abbreviations, and slang even with a simple user-only prompt.
71
-
72
- ## Training Setup
73
-
74
- High-level setup used for this finetune:
75
-
76
- - around `25,000` examples
77
- - `3` epochs
78
- - Unsloth-based SFT pipeline
79
- - chat-style data in Portuguese
80
-
81
- ## Recommended Use
82
-
83
- Best fit:
84
-
85
- - PT-BR chat assistants
86
- - persona bots
87
- - WhatsApp-style conversational agents
88
- - lightweight entertainment or social AI experiences
89
-
90
- Less ideal for:
91
-
92
- - formal writing
93
- - highly neutral assistant behavior
94
- - high-stakes legal, medical, or financial contexts
95
-
96
- ## Prompting Tips
97
-
98
- For the strongest Jade behavior:
99
-
100
- - use a simple user message
101
- - avoid a formal system prompt that fights the finetune
102
- - keep prompts conversational when possible
103
-
104
- Example prompts:
105
-
106
- - `oi jade, tudo bem?`
107
- - `jade, me explica isso de um jeito simples`
108
- - `vc acha que vale a pena estudar python hoje?`
109
-
110
- ## Example Inference
111
-
112
- ```python
113
- from transformers import AutoModelForCausalLM, AutoTokenizer
114
- import torch
115
-
116
- model_id = "Madras1/Jade-20b"
117
-
118
- tokenizer = AutoTokenizer.from_pretrained(model_id)
119
- model = AutoModelForCausalLM.from_pretrained(
120
- model_id,
121
- torch_dtype=torch.bfloat16,
122
- device_map="auto",
123
- )
124
-
125
- messages = [
126
- {"role": "user", "content": "oi jade, tudo bem?"}
127
- ]
128
-
129
- text = tokenizer.apply_chat_template(
130
- messages,
131
- tokenize=False,
132
- add_generation_prompt=True,
133
- )
134
-
135
- inputs = tokenizer(text, return_tensors="pt").to(model.device)
136
- outputs = model.generate(
137
- **inputs,
138
- max_new_tokens=256,
139
- temperature=0.7,
140
- top_p=0.9,
141
- )
142
-
143
- print(tokenizer.decode(outputs[0], skip_special_tokens=True))
144
- ```
145
-
146
- ## Limitations
147
-
148
- Because this is a persona-oriented finetune:
149
-
150
- - it may sound informal in contexts where a neutral tone would be better
151
- - it may over-index on chat style depending on the prompt
152
- - it is optimized more for persona consistency than strict formality