kraken07 commited on
Commit
a57e241
·
verified ·
1 Parent(s): 46d9b76

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,207 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-4B-Instruct-2507
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-4B-Instruct-2507
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
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": "Qwen/Qwen3-4B-Instruct-2507",
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": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "k_proj",
33
+ "o_proj",
34
+ "q_proj",
35
+ "up_proj",
36
+ "gate_proj",
37
+ "down_proj",
38
+ "v_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:44b9f71b85b49d910429a017a62c63cc0216f00491f21c912e2db745250eb5fe
3
+ size 264308896
optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbe5e182726158df9cbb06722c69a92389bac5d643510fce762ba98c15022419
3
+ size 528994123
pytorch_model_fsdp.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ba3ba0d10e0f2ba416b97348d2fcecd97246f73696d1ce0f5dbd649d535e42
3
+ size 264429881
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d86dfbf71df25bd42826a7599b533031b2d7472f6025c443348f53a5476852fb
3
+ size 16325
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00b9b31d966150ae503d3a2cc354a0e2568551e5e4bdaea16af59fb315775848
3
+ size 16325
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b5113dc8a71d69d87ec8c216b24c25677487764217e549bd2ea1cc6363e65f6
3
+ size 16325
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b50f1d0479573005966dbf31f943e1a2abad740492090c825a922a9c3d17981e
3
+ size 16325
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00478f50e614f117ade30f8fe1e25e106f2bd61a27a64365a02fa995f786c103
3
+ size 16325
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f857ace5fe0ed04216d4ee7cc1633fb80e3e91418702f8fc8048abe33f0bb9fd
3
+ size 16325
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adee2253e2fe5f1dac452e840c2e743210174a3693a3c7449e44e7b93510d677
3
+ size 16325
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51f21957b948bb4704260d5fe902968bed1b256cb322f797afd6daf08683f81d
3
+ size 16325
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c87281532a924a650549f0289d67a0cfab5d52b5a3a0c75529d7d7bd14843c3e
3
+ size 1465
trainer_state.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 60,
3
+ "best_metric": 0.8713209596281215,
4
+ "best_model_checkpoint": "/home/ubuntu/context_aware_modeling/fine_tuning/checkpoints/qwen3-4b-instruct_r32/checkpoint-60",
5
+ "epoch": 0.29666254635352285,
6
+ "eval_steps": 20,
7
+ "global_step": 120,
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.049443757725587144,
14
+ "eval_accuracy": 0.48595024675193876,
15
+ "eval_balanced_accuracy": 0.4749015748031496,
16
+ "eval_loss": 0.09321743249893188,
17
+ "eval_macro_f1": 0.3270299579774976,
18
+ "eval_runtime": 221.9955,
19
+ "eval_samples_per_second": 44.726,
20
+ "eval_steps_per_second": 0.703,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.09888751545117429,
25
+ "eval_accuracy": 0.8564810152079766,
26
+ "eval_balanced_accuracy": 0.8560164608986673,
27
+ "eval_loss": 0.08692961931228638,
28
+ "eval_macro_f1": 0.8562523605398756,
29
+ "eval_runtime": 219.4762,
30
+ "eval_samples_per_second": 45.24,
31
+ "eval_steps_per_second": 0.711,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.12360939431396786,
36
+ "grad_norm": 0.08445104211568832,
37
+ "learning_rate": 9.974176168365123e-05,
38
+ "loss": 0.2714,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.14833127317676142,
43
+ "eval_accuracy": 0.8716889918420787,
44
+ "eval_balanced_accuracy": 0.8734059543082996,
45
+ "eval_loss": 0.08331040292978287,
46
+ "eval_macro_f1": 0.8713209596281215,
47
+ "eval_runtime": 222.322,
48
+ "eval_samples_per_second": 44.66,
49
+ "eval_steps_per_second": 0.702,
50
+ "step": 60
51
+ },
52
+ {
53
+ "epoch": 0.19777503090234858,
54
+ "eval_accuracy": 0.8590996072111995,
55
+ "eval_balanced_accuracy": 0.8592460211781632,
56
+ "eval_loss": 0.07730897516012192,
57
+ "eval_macro_f1": 0.8590731672698886,
58
+ "eval_runtime": 220.5576,
59
+ "eval_samples_per_second": 45.018,
60
+ "eval_steps_per_second": 0.707,
61
+ "step": 80
62
+ },
63
+ {
64
+ "epoch": 0.24721878862793573,
65
+ "grad_norm": 0.1737745851278305,
66
+ "learning_rate": 9.866002634083497e-05,
67
+ "loss": 0.0786,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 0.24721878862793573,
72
+ "eval_accuracy": 0.7493201732299325,
73
+ "eval_balanced_accuracy": 0.7537630739676823,
74
+ "eval_loss": 0.07370100170373917,
75
+ "eval_macro_f1": 0.7415462894347242,
76
+ "eval_runtime": 220.8073,
77
+ "eval_samples_per_second": 44.967,
78
+ "eval_steps_per_second": 0.706,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.29666254635352285,
83
+ "eval_accuracy": 0.7912176452814986,
84
+ "eval_balanced_accuracy": 0.7902769951755617,
85
+ "eval_loss": 0.07204873859882355,
86
+ "eval_macro_f1": 0.7904928530739057,
87
+ "eval_runtime": 219.0776,
88
+ "eval_samples_per_second": 45.322,
89
+ "eval_steps_per_second": 0.712,
90
+ "step": 120
91
+ }
92
+ ],
93
+ "logging_steps": 50,
94
+ "max_steps": 1215,
95
+ "num_input_tokens_seen": 0,
96
+ "num_train_epochs": 3,
97
+ "save_steps": 20,
98
+ "stateful_callbacks": {
99
+ "EarlyStoppingCallback": {
100
+ "args": {
101
+ "early_stopping_patience": 5,
102
+ "early_stopping_threshold": 0.0
103
+ },
104
+ "attributes": {
105
+ "early_stopping_patience_counter": 3
106
+ }
107
+ },
108
+ "TrainerControl": {
109
+ "args": {
110
+ "should_epoch_stop": false,
111
+ "should_evaluate": false,
112
+ "should_log": false,
113
+ "should_save": true,
114
+ "should_training_stop": false
115
+ },
116
+ "attributes": {}
117
+ }
118
+ },
119
+ "total_flos": 1.7456771738527334e+17,
120
+ "train_batch_size": 16,
121
+ "trial_name": null,
122
+ "trial_params": null
123
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db8e38ef60af707d1df763f46d6e5733dd12a7019d2777e8e47292aacccbfcf2
3
+ size 5969