SmartestBoy commited on
Commit
a2f010a
·
verified ·
1 Parent(s): dd2fa3c

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mesolitica/mallam-1.1B-4096
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:mesolitica/mallam-1.1B-4096
6
+ - lora
7
+ - transformers
8
+ - unsloth
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.0
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "MistralForSequenceClassification",
7
+ "parent_library": "transformers.models.mistral.modeling_mistral",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "mesolitica/mallam-1.1B-4096",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 32,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": [
29
+ "score",
30
+ "classifier",
31
+ "score"
32
+ ],
33
+ "peft_type": "LORA",
34
+ "peft_version": "0.18.0",
35
+ "qalora_group_size": 16,
36
+ "r": 16,
37
+ "rank_pattern": {},
38
+ "revision": null,
39
+ "target_modules": "(?:.*?(?:vision|image|visual|patch|language|text).*?(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense).*?(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj).*?)|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense)\\.(?:(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
40
+ "target_parameters": null,
41
+ "task_type": "SEQ_CLS",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": true
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27038373bfb1f4c912169ebb68c07fe2c3553bd712725cdfe144918ff02ccd7d
3
+ size 51232728
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MistralForSequenceClassification"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 1,
7
+ "dtype": "bfloat16",
8
+ "eos_token_id": 2,
9
+ "head_dim": null,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "id2label": {
13
+ "0": "Human",
14
+ "1": "AI"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 5632,
18
+ "label2id": {
19
+ "AI": 1,
20
+ "Human": 0
21
+ },
22
+ "max_position_embeddings": 32768,
23
+ "model_type": "mistral",
24
+ "num_attention_heads": 32,
25
+ "num_hidden_layers": 22,
26
+ "num_key_value_heads": 8,
27
+ "pad_token_id": 0,
28
+ "problem_type": "single_label_classification",
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": null,
31
+ "rope_theta": 10000.0,
32
+ "sliding_window": 4096,
33
+ "tie_word_embeddings": false,
34
+ "transformers_version": "4.56.2",
35
+ "unsloth_version": "2025.12.9",
36
+ "use_cache": true,
37
+ "vocab_size": 32000
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e9ca4909d24a6b3c47969ddcf19b40d28a7baa108785d6568479cee02ede2dc
3
+ size 2115193376
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e33a6a397bb0abff3b8e1d00d16b716bf44be3bc54c793e842657afd5729dda0
3
+ size 6808693
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:676d22503c81e809760cfc66940b64004d47d0a272b04775176feed24a9541d5
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8597a0eddb2edf7fb48a2a97659c7edd4875a357f2c4644de9a8f0f1e770a30a
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<pad>",
4
+ "<s>",
5
+ "</s>",
6
+ "<unk>"
7
+ ],
8
+ "bos_token": {
9
+ "content": "<s>",
10
+ "lstrip": false,
11
+ "normalized": false,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ },
15
+ "eos_token": {
16
+ "content": "</s>",
17
+ "lstrip": false,
18
+ "normalized": false,
19
+ "rstrip": false,
20
+ "single_word": false
21
+ },
22
+ "pad_token": {
23
+ "content": "<pad>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ },
29
+ "unk_token": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false
35
+ }
36
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
+ "additional_special_tokens": [
37
+ "<pad>",
38
+ "<s>",
39
+ "</s>",
40
+ "<unk>"
41
+ ],
42
+ "bos_token": "<s>",
43
+ "clean_up_tokenization_spaces": true,
44
+ "eos_token": "</s>",
45
+ "extra_special_tokens": {},
46
+ "model_input_names": [
47
+ "input_ids",
48
+ "attention_mask"
49
+ ],
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "pad_token": "<pad>",
52
+ "padding_side": "left",
53
+ "tokenizer_class": "PreTrainedTokenizerFast",
54
+ "unk_token": "<unk>"
55
+ }
trainer_state.json ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 776,
3
+ "best_metric": 0.9832185886402753,
4
+ "best_model_checkpoint": "models/mallam-1.1B-4096/checkpoint-776",
5
+ "epoch": 3.0,
6
+ "eval_steps": 97,
7
+ "global_step": 873,
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.3333333333333333,
14
+ "grad_norm": 6.909661769866943,
15
+ "learning_rate": 0.00019806464107653392,
16
+ "loss": 0.4528,
17
+ "step": 97
18
+ },
19
+ {
20
+ "epoch": 0.3333333333333333,
21
+ "eval_accuracy": 0.943631669535284,
22
+ "eval_loss": 0.30766424536705017,
23
+ "eval_runtime": 98.8479,
24
+ "eval_samples_per_second": 23.511,
25
+ "eval_steps_per_second": 0.739,
26
+ "step": 97
27
+ },
28
+ {
29
+ "epoch": 0.6666666666666666,
30
+ "grad_norm": 2.901430368423462,
31
+ "learning_rate": 0.00018447743592674295,
32
+ "loss": 0.2881,
33
+ "step": 194
34
+ },
35
+ {
36
+ "epoch": 0.6666666666666666,
37
+ "eval_accuracy": 0.9634251290877797,
38
+ "eval_loss": 0.2776690423488617,
39
+ "eval_runtime": 96.8456,
40
+ "eval_samples_per_second": 23.997,
41
+ "eval_steps_per_second": 0.754,
42
+ "step": 194
43
+ },
44
+ {
45
+ "epoch": 1.0,
46
+ "grad_norm": 16.644323348999023,
47
+ "learning_rate": 0.0001596032174304087,
48
+ "loss": 0.2573,
49
+ "step": 291
50
+ },
51
+ {
52
+ "epoch": 1.0,
53
+ "eval_accuracy": 0.9625645438898451,
54
+ "eval_loss": 0.27566397190093994,
55
+ "eval_runtime": 97.0002,
56
+ "eval_samples_per_second": 23.959,
57
+ "eval_steps_per_second": 0.753,
58
+ "step": 291
59
+ },
60
+ {
61
+ "epoch": 1.3333333333333333,
62
+ "grad_norm": 9.241606712341309,
63
+ "learning_rate": 0.00012676542495418557,
64
+ "loss": 0.2303,
65
+ "step": 388
66
+ },
67
+ {
68
+ "epoch": 1.3333333333333333,
69
+ "eval_accuracy": 0.9802065404475043,
70
+ "eval_loss": 0.2352488785982132,
71
+ "eval_runtime": 96.8829,
72
+ "eval_samples_per_second": 23.988,
73
+ "eval_steps_per_second": 0.753,
74
+ "step": 388
75
+ },
76
+ {
77
+ "epoch": 1.6666666666666665,
78
+ "grad_norm": 0.41690415143966675,
79
+ "learning_rate": 9.035150939409222e-05,
80
+ "loss": 0.2277,
81
+ "step": 485
82
+ },
83
+ {
84
+ "epoch": 1.6666666666666665,
85
+ "eval_accuracy": 0.9802065404475043,
86
+ "eval_loss": 0.2359882891178131,
87
+ "eval_runtime": 96.6591,
88
+ "eval_samples_per_second": 24.043,
89
+ "eval_steps_per_second": 0.755,
90
+ "step": 485
91
+ },
92
+ {
93
+ "epoch": 2.0,
94
+ "grad_norm": 81.69012451171875,
95
+ "learning_rate": 5.5226726737337866e-05,
96
+ "loss": 0.2235,
97
+ "step": 582
98
+ },
99
+ {
100
+ "epoch": 2.0,
101
+ "eval_accuracy": 0.9827882960413081,
102
+ "eval_loss": 0.23024716973304749,
103
+ "eval_runtime": 96.8215,
104
+ "eval_samples_per_second": 24.003,
105
+ "eval_steps_per_second": 0.754,
106
+ "step": 582
107
+ },
108
+ {
109
+ "epoch": 2.3333333333333335,
110
+ "grad_norm": 0.3658274710178375,
111
+ "learning_rate": 2.6084092181318164e-05,
112
+ "loss": 0.2111,
113
+ "step": 679
114
+ },
115
+ {
116
+ "epoch": 2.3333333333333335,
117
+ "eval_accuracy": 0.9810671256454389,
118
+ "eval_loss": 0.23341917991638184,
119
+ "eval_runtime": 96.846,
120
+ "eval_samples_per_second": 23.997,
121
+ "eval_steps_per_second": 0.754,
122
+ "step": 679
123
+ },
124
+ {
125
+ "epoch": 2.6666666666666665,
126
+ "grad_norm": 1.6265285015106201,
127
+ "learning_rate": 6.817347310146349e-06,
128
+ "loss": 0.2102,
129
+ "step": 776
130
+ },
131
+ {
132
+ "epoch": 2.6666666666666665,
133
+ "eval_accuracy": 0.9832185886402753,
134
+ "eval_loss": 0.23051801323890686,
135
+ "eval_runtime": 96.5673,
136
+ "eval_samples_per_second": 24.066,
137
+ "eval_steps_per_second": 0.756,
138
+ "step": 776
139
+ },
140
+ {
141
+ "epoch": 3.0,
142
+ "grad_norm": 2.2465035915374756,
143
+ "learning_rate": 7.180590643973694e-10,
144
+ "loss": 0.2123,
145
+ "step": 873
146
+ },
147
+ {
148
+ "epoch": 3.0,
149
+ "eval_accuracy": 0.9827882960413081,
150
+ "eval_loss": 0.2302383929491043,
151
+ "eval_runtime": 97.1406,
152
+ "eval_samples_per_second": 23.924,
153
+ "eval_steps_per_second": 0.751,
154
+ "step": 873
155
+ }
156
+ ],
157
+ "logging_steps": 97,
158
+ "max_steps": 873,
159
+ "num_input_tokens_seen": 0,
160
+ "num_train_epochs": 3,
161
+ "save_steps": 97,
162
+ "stateful_callbacks": {
163
+ "TrainerControl": {
164
+ "args": {
165
+ "should_epoch_stop": false,
166
+ "should_evaluate": false,
167
+ "should_log": false,
168
+ "should_save": true,
169
+ "should_training_stop": true
170
+ },
171
+ "attributes": {}
172
+ }
173
+ },
174
+ "total_flos": 5.468789417086157e+16,
175
+ "train_batch_size": 32,
176
+ "trial_name": null,
177
+ "trial_params": null
178
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e4baebc89e88daac0270a79f49fbd299cd05ec9220e753a4ae8efee586be40a
3
+ size 5905