fausap commited on
Commit
5ccd29e
·
verified ·
1 Parent(s): 0b364b0

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: peft
4
+ base_model: microsoft/phi-2
5
+ tags:
6
+ - peft
7
+ - lora
8
+ - conversational
9
+ - dark-humor
10
+ - phi-2
11
+ - finetuned
12
+ license: mit
13
+ language: en
14
+ ---
15
+
16
+ # Dark Humor Bot - LoRA Adapter
17
+
18
+ This is a LoRA adapter fine-tuned on a dark humor dataset. It's designed to generate witty, cynical responses with dark humor.
19
+
20
+ ## Model Details
21
+
22
+ - **Base Model:** microsoft/phi-2
23
+ - **Fine-tuning Method:** LoRA (Low-Rank Adaptation)
24
+ - **Training Data:** Custom dark humor conversations
25
+ - **Training Date:** 2026-03-06
26
+ - **Language:** English
27
+
28
+ ## Description
29
+
30
+ A fine-tuned phi-2 model for generating dark humor responses
31
+
32
+ ## Usage
33
+
34
+ ```python
35
+ from transformers import AutoTokenizer, AutoModelForCausalLM
36
+ from peft import PeftModel
37
+
38
+ # Load base model
39
+ base_model = AutoModelForCausalLM.from_pretrained(
40
+ "microsoft/phi-2",
41
+ device_map="auto",
42
+ torch_dtype=torch.float16
43
+ )
44
+ tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-2")
45
+
46
+ # Load LoRA adapter
47
+ model = PeftModel.from_pretrained(base_model, "fausap/dark-phi")
48
+
49
+ # Generate response
50
+ prompt = "### System:
51
+ You are a witty, cynical chatbot...\n\n### User:\nTell me a joke\n\n### Assistant:\n"
52
+ inputs = tokenizer(prompt, return_tensors="pt")
53
+ outputs = model.generate(**inputs, max_new_tokens=100)
54
+ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
55
+ Training Details
56
+ Quantization: 4-bit QLoRA
57
+
58
+ LoRA Rank: 8
59
+
60
+ LoRA Alpha: 16
61
+
62
+ Batch Size: 1 with gradient accumulation
63
+
64
+ Learning Rate: 2e-4
65
+
66
+ Example Response
67
+ User: Tell me a dark joke about modern life
68
+ Assistant: [Generated response will be here]
69
+
70
+ Limitations
71
+ Optimized for 6GB VRAM
72
+
73
+ May generate inappropriate content (by design - it's dark humor!)
74
+
75
+ Best used with the provided system prompt
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "microsoft/phi-2",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.1,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "k_proj",
34
+ "gate_proj",
35
+ "up_proj",
36
+ "v_proj",
37
+ "o_proj",
38
+ "down_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b03d08df77b61bf06f2acf9301c238a48eeeed035cc3e5b34e12d7a59a0977
3
+ size 15754072
checkpoint-255/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/phi-2
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:microsoft/phi-2
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.1
checkpoint-255/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "microsoft/phi-2",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.1,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "k_proj",
34
+ "gate_proj",
35
+ "up_proj",
36
+ "v_proj",
37
+ "o_proj",
38
+ "down_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-255/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b03d08df77b61bf06f2acf9301c238a48eeeed035cc3e5b34e12d7a59a0977
3
+ size 15754072
checkpoint-255/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b91342e89f13474ab4e332b5bbd3dc9bbd69c962cf21bb7406b55e5bbceaf021
3
+ size 31618955
checkpoint-255/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c5f78ac0c8ee7c9f995f31a4f3a7238c7e20e1e84f89d36c18e0001188c45d1
3
+ size 14645
checkpoint-255/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c27c49055969d26a17a0709a618bb944e4d5b34527d02bae428848ec30baf93f
3
+ size 1383
checkpoint-255/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b658734da0d7ac1ab0afcbcd28a41c2d7b413d770bd2ec342777e0834b8b7e78
3
+ size 1465
checkpoint-255/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-255/tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": true,
6
+ "eos_token": "<|endoftext|>",
7
+ "is_local": false,
8
+ "model_max_length": 2048,
9
+ "pad_token": "<|endoftext|>",
10
+ "tokenizer_class": "TokenizersBackend",
11
+ "unk_token": "<|endoftext|>"
12
+ }
checkpoint-255/trainer_state.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 255,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.11764705882352941,
14
+ "grad_norm": 0.03323917090892792,
15
+ "learning_rate": 0.0001999919114627769,
16
+ "loss": 2.763583183288574,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.23529411764705882,
21
+ "grad_norm": 0.05506502836942673,
22
+ "learning_rate": 0.0001990228692687429,
23
+ "loss": 2.593435287475586,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.35294117647058826,
28
+ "grad_norm": 0.05839679390192032,
29
+ "learning_rate": 0.00019645406355025565,
30
+ "loss": 2.345814323425293,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.47058823529411764,
35
+ "grad_norm": 0.054268915206193924,
36
+ "learning_rate": 0.00019232699463668542,
37
+ "loss": 2.245083808898926,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.5882352941176471,
42
+ "grad_norm": 0.04734891280531883,
43
+ "learning_rate": 0.0001867083373715264,
44
+ "loss": 2.1789533615112306,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.7058823529411765,
49
+ "grad_norm": 0.04950524866580963,
50
+ "learning_rate": 0.00017968886394725874,
51
+ "loss": 2.146891975402832,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.8235294117647058,
56
+ "grad_norm": 0.048059429973363876,
57
+ "learning_rate": 0.00017138197743559654,
58
+ "loss": 2.1342124938964844,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.9411764705882353,
63
+ "grad_norm": 0.048672087490558624,
64
+ "learning_rate": 0.00016192187970466644,
65
+ "loss": 2.08856086730957,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 1.0588235294117647,
70
+ "grad_norm": 0.053143732249736786,
71
+ "learning_rate": 0.00015146140332132358,
72
+ "loss": 2.0824731826782226,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 1.1764705882352942,
77
+ "grad_norm": 0.05677838623523712,
78
+ "learning_rate": 0.00014016954246529696,
79
+ "loss": 2.0192502975463866,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 1.2941176470588236,
84
+ "grad_norm": 0.054012443870306015,
85
+ "learning_rate": 0.00012822872274446958,
86
+ "loss": 2.039341926574707,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 1.4117647058823528,
91
+ "grad_norm": 0.06396123766899109,
92
+ "learning_rate": 0.00011583185401878101,
93
+ "loss": 2.0363845825195312,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 1.5294117647058822,
98
+ "grad_norm": 0.05511175096035004,
99
+ "learning_rate": 0.00010317921384584244,
100
+ "loss": 2.039676856994629,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 1.6470588235294117,
105
+ "grad_norm": 0.052731700241565704,
106
+ "learning_rate": 9.047521189774455e-05,
107
+ "loss": 2.0343761444091797,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 1.7647058823529411,
112
+ "grad_norm": 0.05958898738026619,
113
+ "learning_rate": 7.792508762150833e-05,
114
+ "loss": 2.042786979675293,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 1.8823529411764706,
119
+ "grad_norm": 0.05990149825811386,
120
+ "learning_rate": 6.57315944941107e-05,
121
+ "loss": 2.0720109939575195,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 2.0,
126
+ "grad_norm": 0.05766311287879944,
127
+ "learning_rate": 5.409172443958843e-05,
128
+ "loss": 2.0328493118286133,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 2.1176470588235294,
133
+ "grad_norm": 0.059346605092287064,
134
+ "learning_rate": 4.3193525326884435e-05,
135
+ "loss": 2.0109920501708984,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 2.235294117647059,
140
+ "grad_norm": 0.06073939800262451,
141
+ "learning_rate": 3.321306296333673e-05,
142
+ "loss": 1.9789583206176757,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 2.3529411764705883,
147
+ "grad_norm": 0.05661051720380783,
148
+ "learning_rate": 2.431157666431052e-05,
149
+ "loss": 2.008417320251465,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 2.4705882352941178,
154
+ "grad_norm": 0.06170394644141197,
155
+ "learning_rate": 1.663287435215498e-05,
156
+ "loss": 2.0092374801635744,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 2.588235294117647,
161
+ "grad_norm": 0.060639169067144394,
162
+ "learning_rate": 1.0301009267953143e-05,
163
+ "loss": 2.00238094329834,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 2.7058823529411766,
168
+ "grad_norm": 0.06061309948563576,
169
+ "learning_rate": 5.418275829936537e-06,
170
+ "loss": 2.024155616760254,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 2.8235294117647056,
175
+ "grad_norm": 0.06357177346944809,
176
+ "learning_rate": 2.063557016466111e-06,
177
+ "loss": 1.9843828201293945,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 2.9411764705882355,
182
+ "grad_norm": 0.06014658138155937,
183
+ "learning_rate": 2.9104997242590527e-07,
184
+ "loss": 1.9744945526123048,
185
+ "step": 250
186
+ }
187
+ ],
188
+ "logging_steps": 10,
189
+ "max_steps": 255,
190
+ "num_input_tokens_seen": 0,
191
+ "num_train_epochs": 3,
192
+ "save_steps": 500,
193
+ "stateful_callbacks": {
194
+ "TrainerControl": {
195
+ "args": {
196
+ "should_epoch_stop": false,
197
+ "should_evaluate": false,
198
+ "should_log": false,
199
+ "should_save": true,
200
+ "should_training_stop": true
201
+ },
202
+ "attributes": {}
203
+ }
204
+ },
205
+ "total_flos": 3.324634988544e+16,
206
+ "train_batch_size": 2,
207
+ "trial_name": null,
208
+ "trial_params": null
209
+ }
checkpoint-255/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea5a3c8b2780af9da927cb63e815527d029e8cd4ea601304e759ec04d9ca2cb
3
+ size 5201
load_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "fausap/dark-phi",
3
+ "base_model": "microsoft/phi-2",
4
+ "is_lora": true,
5
+ "recommended_prompt": "### System:\nYou are a witty, cynical chatbot with a dark sense of humor. You find humor in the absurdities of modern life and respond with sarcasm and irony.\n\n### User:\n{user_input}\n\n### Assistant:\n"
6
+ }
model_card.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "dark-phi",
3
+ "model_type": "LoRA",
4
+ "base_model": "microsoft/phi-2",
5
+ "training_date": "2026-03-06T21:00:30.312750",
6
+ "parameters": {
7
+ "quantization": "4-bit QLoRA",
8
+ "lora_rank": 8,
9
+ "lora_alpha": 16,
10
+ "batch_size": 1,
11
+ "gradient_accumulation": 8,
12
+ "learning_rate": "2e-4"
13
+ },
14
+ "example_conversations": [
15
+ {
16
+ "user": "Explain quantum physics simply.",
17
+ "assistant": "The assistant's response would go here - you can test and add real examples"
18
+ },
19
+ {
20
+ "user": "What's the meaning of life?",
21
+ "assistant": "Another example response"
22
+ }
23
+ ]
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": true,
6
+ "eos_token": "<|endoftext|>",
7
+ "is_local": false,
8
+ "model_max_length": 2048,
9
+ "pad_token": "<|endoftext|>",
10
+ "tokenizer_class": "TokenizersBackend",
11
+ "unk_token": "<|endoftext|>"
12
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea5a3c8b2780af9da927cb63e815527d029e8cd4ea601304e759ec04d9ca2cb
3
+ size 5201