Allanatrix commited on
Commit
33f8712
·
verified ·
1 Parent(s): b93dea5

Keep checkpoints only + simple model card

Browse files
README.md CHANGED
@@ -1,20 +1,14 @@
1
  ---
2
  license: apache-2.0
3
  library_name: pytorch
4
- pipeline_tag: text-classification
5
  tags:
6
- - materials-science
7
- - solid-state-batteries
8
- - post-training
9
  - checkpoints
 
 
 
10
  base_model: tiiuae/Falcon3-10B-Base
11
  ---
12
 
13
- # Nexa Checkpoints Post-Training Bundle
14
-
15
- This repository contains metadata for the post-training checkpoint export workflow.
16
 
17
- ## Notes
18
- - Source project: `Nexa_compute`
19
- - Owner: `Allanatrix`
20
- - Created: 2026-02-02
 
1
  ---
2
  license: apache-2.0
3
  library_name: pytorch
 
4
  tags:
 
 
 
5
  - checkpoints
6
+ - qlora
7
+ - falcon3
8
+ - post-training
9
  base_model: tiiuae/Falcon3-10B-Base
10
  ---
11
 
12
+ # Nexa Checkpoints
 
 
13
 
14
+ Checkpoint artifacts exported from `nexa_inference/checkpoints`.
 
 
 
nexa_inference/checkpoints/falcon3_qlora_v1/README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Falcon3-10B QLoRA Fine-Tuning Checkpoint
2
+
3
+ ## Model Information
4
+ - **Base Model**: tiiuae/Falcon3-10B-Base
5
+ - **Fine-tuning Method**: QLoRA (4-bit quantization + LoRA adapters)
6
+ - **Training Date**: November 5-6, 2025
7
+ - **Dataset**: Scientific QA pairs (sft_scientific_v1)
8
+ - **Total Size**: ~436MB
9
+
10
+ ## Training Summary
11
+ - **Loss Improvement**: 0.8 → 0.2 (75% reduction)
12
+ - **Final Validation Loss**: 0.410
13
+ - **Final Test Loss**: 0.413
14
+ - **Training Steps**: 200 (early stopping due to convergence)
15
+ - **Trainable Parameters**: 26,214,400 (0.25% of total)
16
+
17
+ ## Directory Structure
18
+ - : Saved checkpoint-200 with full trainer state
19
+ - : Final adapter model, tokenizer, configs, and metrics
20
+ - : Weights & Biases run logs and metadata
21
+ - : Training and data processing logs
22
+ - : Final evaluation metrics (validation + test)
23
+
24
+ ## Key Files
25
+ - : LoRA adapter weights
26
+ - : LoRA configuration
27
+ - : Final evaluation metrics
28
+ - : Full checkpoint with optimizer state
29
+
30
+ ## Usage
31
+ To load this checkpoint:
32
+ ```python
33
+ from transformers import AutoModelForCausalLM, AutoTokenizer
34
+ from peft import PeftModel
35
+
36
+ base_model = AutoModelForCausalLM.from_pretrained(
37
+ "tiiuae/Falcon3-10B-Base",
38
+ torch_dtype=torch.bfloat16,
39
+ device_map="auto"
40
+ )
41
+ model = PeftModel.from_pretrained(base_model, "artifacts/")
42
+ tokenizer = AutoTokenizer.from_pretrained("artifacts/")
43
+ ```
44
+
45
+ ## Evaluation Results
46
+ - Validation Loss: 0.410
47
+ - Test Loss: 0.413
48
+ - Samples/sec: ~2.39
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: tiiuae/Falcon3-10B-Base
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:tiiuae/Falcon3-10B-Base
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.17.1
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "tiiuae/Falcon3-10B-Base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "v_proj"
30
+ ],
31
+ "target_parameters": null,
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_qalora": false,
36
+ "use_rslora": false
37
+ }
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/rng_state.pth ADDED
Binary file (14.6 kB). View file
 
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/scheduler.pt ADDED
Binary file (1.47 kB). View file
 
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/special_tokens_map.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ ">>TITLE<<",
4
+ ">>ABSTRACT<<",
5
+ ">>INTRODUCTION<<",
6
+ ">>SUMMARY<<",
7
+ ">>COMMENT<<",
8
+ ">>ANSWER<<",
9
+ ">>QUESTION<<",
10
+ ">>DOMAIN<<",
11
+ ">>EMAIL_ADDRESS<<",
12
+ ">>IP_ADDRESS<<",
13
+ "<|startoftext|>",
14
+ ">>IP_ADDRESS_0<<",
15
+ ">>IP_ADDRESS_1<<",
16
+ ">>IP_ADDRESS_2<<",
17
+ ">>IP_ADDRESS_3<<",
18
+ ">>IP_ADDRESS_4<<",
19
+ ">>IP_ADDRESS_5<<",
20
+ ">>IP_ADDRESS_6<<",
21
+ ">>IP_ADDRESS_7<<",
22
+ ">>IP_ADDRESS_8<<",
23
+ ">>IP_ADDRESS_9<<",
24
+ ">>PASSWORD<<",
25
+ ">>KEY<<"
26
+ ],
27
+ "eos_token": {
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ },
34
+ "pad_token": {
35
+ "content": "<|pad|>",
36
+ "lstrip": false,
37
+ "normalized": false,
38
+ "rstrip": false,
39
+ "single_word": false
40
+ }
41
+ }
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.08177868642984921,
6
+ "eval_steps": 500,
7
+ "global_step": 200,
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.004088934321492461,
14
+ "grad_norm": 0.03981570154428482,
15
+ "learning_rate": 0.00011693877551020409,
16
+ "loss": 0.8532,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.008177868642984922,
21
+ "grad_norm": 0.05976454168558121,
22
+ "learning_rate": 0.00011081632653061225,
23
+ "loss": 0.8066,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.012266802964477384,
28
+ "grad_norm": 0.04222235828638077,
29
+ "learning_rate": 0.00010469387755102041,
30
+ "loss": 0.7199,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.016355737285969844,
35
+ "grad_norm": 0.03708258271217346,
36
+ "learning_rate": 9.857142857142856e-05,
37
+ "loss": 0.68,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.020444671607462304,
42
+ "grad_norm": 0.041671689599752426,
43
+ "learning_rate": 9.244897959183674e-05,
44
+ "loss": 0.6437,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.024533605928954767,
49
+ "grad_norm": 0.04101754352450371,
50
+ "learning_rate": 8.63265306122449e-05,
51
+ "loss": 0.594,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.028622540250447227,
56
+ "grad_norm": 0.04235270246863365,
57
+ "learning_rate": 8.020408163265306e-05,
58
+ "loss": 0.5803,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.03271147457193969,
63
+ "grad_norm": 0.04695265367627144,
64
+ "learning_rate": 7.408163265306122e-05,
65
+ "loss": 0.539,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.03680040889343215,
70
+ "grad_norm": 0.06645287573337555,
71
+ "learning_rate": 6.79591836734694e-05,
72
+ "loss": 0.5297,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.04088934321492461,
77
+ "grad_norm": 0.0795179009437561,
78
+ "learning_rate": 6.183673469387755e-05,
79
+ "loss": 0.4886,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.044978277536417074,
84
+ "grad_norm": 0.09964903444051743,
85
+ "learning_rate": 5.5714285714285715e-05,
86
+ "loss": 0.4841,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.049067211857909535,
91
+ "grad_norm": 0.08603360503911972,
92
+ "learning_rate": 4.959183673469388e-05,
93
+ "loss": 0.4673,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.053156146179401995,
98
+ "grad_norm": 0.0638309195637703,
99
+ "learning_rate": 4.346938775510204e-05,
100
+ "loss": 0.4392,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.057245080500894455,
105
+ "grad_norm": 0.062022604048252106,
106
+ "learning_rate": 3.734693877551021e-05,
107
+ "loss": 0.4383,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.061334014822386915,
112
+ "grad_norm": 0.08857443183660507,
113
+ "learning_rate": 3.122448979591837e-05,
114
+ "loss": 0.4348,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.06542294914387937,
119
+ "grad_norm": 0.07222077250480652,
120
+ "learning_rate": 2.5102040816326533e-05,
121
+ "loss": 0.4252,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.06951188346537183,
126
+ "grad_norm": 0.07325974106788635,
127
+ "learning_rate": 1.8979591836734696e-05,
128
+ "loss": 0.4094,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.0736008177868643,
133
+ "grad_norm": 0.07118217647075653,
134
+ "learning_rate": 1.2857142857142857e-05,
135
+ "loss": 0.4126,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.07768975210835675,
140
+ "grad_norm": 0.06610973179340363,
141
+ "learning_rate": 6.734693877551021e-06,
142
+ "loss": 0.4011,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.08177868642984921,
147
+ "grad_norm": 0.05844658240675926,
148
+ "learning_rate": 6.122448979591837e-07,
149
+ "loss": 0.4101,
150
+ "step": 200
151
+ }
152
+ ],
153
+ "logging_steps": 10,
154
+ "max_steps": 200,
155
+ "num_input_tokens_seen": 0,
156
+ "num_train_epochs": 1,
157
+ "save_steps": 500,
158
+ "stateful_callbacks": {
159
+ "TrainerControl": {
160
+ "args": {
161
+ "should_epoch_stop": false,
162
+ "should_evaluate": false,
163
+ "should_log": false,
164
+ "should_save": true,
165
+ "should_training_stop": true
166
+ },
167
+ "attributes": {}
168
+ }
169
+ },
170
+ "total_flos": 3.904326196002816e+17,
171
+ "train_batch_size": 2,
172
+ "trial_name": null,
173
+ "trial_params": null
174
+ }
nexa_inference/checkpoints/falcon3_qlora_v1/checkpoint-200/training_args.bin ADDED
Binary file (5.84 kB). View file