TyrusRC commited on
Commit
396b059
·
verified ·
1 Parent(s): 1e5a6ff

Pre-trained domain adapters (security/cloud/llm/mobile/network) on enhanced dataset

Browse files
cloud/final/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fastino/GLiNER2.5-Decide
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:fastino/GLiNER2.5-Decide
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.21.2
cloud/final/adapter_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/GLiNER2.5-Decide",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "kasa_config": null,
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.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.21.2",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "project_end.3",
39
+ "count_pred.2",
40
+ "value_proj",
41
+ "projector.0",
42
+ "out_project.0",
43
+ "classifier.0",
44
+ "project_end.0",
45
+ "out_project.3",
46
+ "dense",
47
+ "count_pred.0",
48
+ "classifier.2",
49
+ "key_proj",
50
+ "projector.2",
51
+ "query_proj",
52
+ "project_start.0",
53
+ "project_start.3"
54
+ ],
55
+ "target_parameters": null,
56
+ "task_type": null,
57
+ "trainable_token_indices": null,
58
+ "use_bdlora": null,
59
+ "use_dora": false,
60
+ "use_qalora": false,
61
+ "use_rslora": false,
62
+ "velora_config": null
63
+ }
cloud/final/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa4e5f94e8acdba3760d9d0551b45a696402eb86a211aa85198ba80e62cb09e
3
+ size 31766440
cloud/haruspex.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "base": "fastino/GLiNER2.5-Decide",
3
+ "adapter": "final",
4
+ "mode": "lora"
5
+ }
cloud/training_config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "runs/cloud",
3
+ "experiment_name": "gliner2",
4
+ "num_epochs": 3,
5
+ "max_steps": -1,
6
+ "batch_size": 4,
7
+ "eval_batch_size": 8,
8
+ "gradient_accumulation_steps": 1,
9
+ "encoder_lr": 1e-05,
10
+ "task_lr": 0.0005,
11
+ "weight_decay": 0.01,
12
+ "adam_beta1": 0.9,
13
+ "adam_beta2": 0.999,
14
+ "adam_epsilon": 1e-08,
15
+ "max_grad_norm": 1.0,
16
+ "scheduler_type": "linear",
17
+ "warmup_ratio": 0.1,
18
+ "warmup_steps": 0,
19
+ "num_cycles": 0.5,
20
+ "fp16": false,
21
+ "bf16": true,
22
+ "eval_strategy": "no",
23
+ "eval_steps": 500,
24
+ "save_total_limit": 1,
25
+ "save_best": false,
26
+ "metric_for_best": "eval_loss",
27
+ "greater_is_better": false,
28
+ "logging_steps": 5,
29
+ "logging_first_step": true,
30
+ "report_to_wandb": false,
31
+ "wandb_project": null,
32
+ "wandb_entity": null,
33
+ "wandb_run_name": null,
34
+ "wandb_tags": [],
35
+ "wandb_notes": null,
36
+ "early_stopping": false,
37
+ "early_stopping_patience": 3,
38
+ "early_stopping_threshold": 0.0,
39
+ "num_workers": 0,
40
+ "pin_memory": false,
41
+ "prefetch_factor": 2,
42
+ "seed": 42,
43
+ "deterministic": false,
44
+ "local_rank": -1,
45
+ "debug": false,
46
+ "max_train_samples": -1,
47
+ "max_eval_samples": -1,
48
+ "validate_data": false,
49
+ "max_len": null,
50
+ "strict_training": true,
51
+ "ignore_nonfinite_losses": false,
52
+ "skip_step_errors": false,
53
+ "allow_invalid_samples": false,
54
+ "log_proposal_metrics": true,
55
+ "gold_injection_start": 1.0,
56
+ "gold_injection_end": 0.25,
57
+ "gold_injection_hold_frac": 0.15,
58
+ "diagnostics_every_n_steps": 0,
59
+ "profile_first_n_steps": 0,
60
+ "debug_global_steps": [],
61
+ "ddp_consensus_check": true,
62
+ "ddp_find_unused_parameters": false,
63
+ "ddp_static_graph": true,
64
+ "dry_run_recall_steps": 0,
65
+ "gate_recall": 0.97,
66
+ "gate_long_recall": 0.93,
67
+ "on_capacity_exceeded": "raise",
68
+ "dedupe_contained_entity_spans": true,
69
+ "group_by_length": true,
70
+ "length_group_window_batches": 50,
71
+ "compile_model": false,
72
+ "gradient_checkpointing": false,
73
+ "fused_optimizer": true,
74
+ "allow_tf32": true,
75
+ "float32_matmul_precision": "high",
76
+ "use_lora": true,
77
+ "lora_r": 16,
78
+ "lora_alpha": 32,
79
+ "lora_dropout": 0.0,
80
+ "lora_use_dora": false,
81
+ "lora_target_modules": [
82
+ "encoder",
83
+ "span_rep",
84
+ "classifier",
85
+ "count_embed",
86
+ "count_pred"
87
+ ],
88
+ "save_adapter_only": true
89
+ }
llm/final/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fastino/GLiNER2.5-Decide
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:fastino/GLiNER2.5-Decide
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.21.2
llm/final/adapter_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/GLiNER2.5-Decide",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "kasa_config": null,
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.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.21.2",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "count_pred.2",
39
+ "classifier.0",
40
+ "projector.2",
41
+ "value_proj",
42
+ "dense",
43
+ "key_proj",
44
+ "projector.0",
45
+ "count_pred.0",
46
+ "classifier.2",
47
+ "query_proj",
48
+ "project_start.0",
49
+ "project_end.0",
50
+ "project_end.3",
51
+ "project_start.3",
52
+ "out_project.3",
53
+ "out_project.0"
54
+ ],
55
+ "target_parameters": null,
56
+ "task_type": null,
57
+ "trainable_token_indices": null,
58
+ "use_bdlora": null,
59
+ "use_dora": false,
60
+ "use_qalora": false,
61
+ "use_rslora": false,
62
+ "velora_config": null
63
+ }
llm/final/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bf2afd57cd91942664ea1be82d82b076d66997a313eaa5fd46a9959c1678d6c
3
+ size 31766440
llm/haruspex.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "base": "fastino/GLiNER2.5-Decide",
3
+ "adapter": "final",
4
+ "mode": "lora"
5
+ }
llm/training_config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "runs/llm",
3
+ "experiment_name": "gliner2",
4
+ "num_epochs": 3,
5
+ "max_steps": -1,
6
+ "batch_size": 4,
7
+ "eval_batch_size": 8,
8
+ "gradient_accumulation_steps": 1,
9
+ "encoder_lr": 1e-05,
10
+ "task_lr": 0.0005,
11
+ "weight_decay": 0.01,
12
+ "adam_beta1": 0.9,
13
+ "adam_beta2": 0.999,
14
+ "adam_epsilon": 1e-08,
15
+ "max_grad_norm": 1.0,
16
+ "scheduler_type": "linear",
17
+ "warmup_ratio": 0.1,
18
+ "warmup_steps": 0,
19
+ "num_cycles": 0.5,
20
+ "fp16": false,
21
+ "bf16": true,
22
+ "eval_strategy": "no",
23
+ "eval_steps": 500,
24
+ "save_total_limit": 1,
25
+ "save_best": false,
26
+ "metric_for_best": "eval_loss",
27
+ "greater_is_better": false,
28
+ "logging_steps": 5,
29
+ "logging_first_step": true,
30
+ "report_to_wandb": false,
31
+ "wandb_project": null,
32
+ "wandb_entity": null,
33
+ "wandb_run_name": null,
34
+ "wandb_tags": [],
35
+ "wandb_notes": null,
36
+ "early_stopping": false,
37
+ "early_stopping_patience": 3,
38
+ "early_stopping_threshold": 0.0,
39
+ "num_workers": 0,
40
+ "pin_memory": false,
41
+ "prefetch_factor": 2,
42
+ "seed": 42,
43
+ "deterministic": false,
44
+ "local_rank": -1,
45
+ "debug": false,
46
+ "max_train_samples": -1,
47
+ "max_eval_samples": -1,
48
+ "validate_data": false,
49
+ "max_len": null,
50
+ "strict_training": true,
51
+ "ignore_nonfinite_losses": false,
52
+ "skip_step_errors": false,
53
+ "allow_invalid_samples": false,
54
+ "log_proposal_metrics": true,
55
+ "gold_injection_start": 1.0,
56
+ "gold_injection_end": 0.25,
57
+ "gold_injection_hold_frac": 0.15,
58
+ "diagnostics_every_n_steps": 0,
59
+ "profile_first_n_steps": 0,
60
+ "debug_global_steps": [],
61
+ "ddp_consensus_check": true,
62
+ "ddp_find_unused_parameters": false,
63
+ "ddp_static_graph": true,
64
+ "dry_run_recall_steps": 0,
65
+ "gate_recall": 0.97,
66
+ "gate_long_recall": 0.93,
67
+ "on_capacity_exceeded": "raise",
68
+ "dedupe_contained_entity_spans": true,
69
+ "group_by_length": true,
70
+ "length_group_window_batches": 50,
71
+ "compile_model": false,
72
+ "gradient_checkpointing": false,
73
+ "fused_optimizer": true,
74
+ "allow_tf32": true,
75
+ "float32_matmul_precision": "high",
76
+ "use_lora": true,
77
+ "lora_r": 16,
78
+ "lora_alpha": 32,
79
+ "lora_dropout": 0.0,
80
+ "lora_use_dora": false,
81
+ "lora_target_modules": [
82
+ "encoder",
83
+ "span_rep",
84
+ "classifier",
85
+ "count_embed",
86
+ "count_pred"
87
+ ],
88
+ "save_adapter_only": true
89
+ }
mobile/final/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fastino/GLiNER2.5-Decide
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:fastino/GLiNER2.5-Decide
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.21.2
mobile/final/adapter_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/GLiNER2.5-Decide",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "kasa_config": null,
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.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.21.2",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "projector.2",
39
+ "key_proj",
40
+ "project_end.0",
41
+ "project_start.3",
42
+ "dense",
43
+ "project_end.3",
44
+ "query_proj",
45
+ "count_pred.2",
46
+ "project_start.0",
47
+ "out_project.3",
48
+ "projector.0",
49
+ "classifier.2",
50
+ "count_pred.0",
51
+ "classifier.0",
52
+ "out_project.0",
53
+ "value_proj"
54
+ ],
55
+ "target_parameters": null,
56
+ "task_type": null,
57
+ "trainable_token_indices": null,
58
+ "use_bdlora": null,
59
+ "use_dora": false,
60
+ "use_qalora": false,
61
+ "use_rslora": false,
62
+ "velora_config": null
63
+ }
mobile/final/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a7616ccb7b29261fa66cc125c3e351c6c4c4d9147c111818e07f27763c721cf
3
+ size 31766440
mobile/haruspex.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "base": "fastino/GLiNER2.5-Decide",
3
+ "adapter": "final",
4
+ "mode": "lora"
5
+ }
mobile/training_config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "runs/mobile",
3
+ "experiment_name": "gliner2",
4
+ "num_epochs": 3,
5
+ "max_steps": -1,
6
+ "batch_size": 4,
7
+ "eval_batch_size": 8,
8
+ "gradient_accumulation_steps": 1,
9
+ "encoder_lr": 1e-05,
10
+ "task_lr": 0.0005,
11
+ "weight_decay": 0.01,
12
+ "adam_beta1": 0.9,
13
+ "adam_beta2": 0.999,
14
+ "adam_epsilon": 1e-08,
15
+ "max_grad_norm": 1.0,
16
+ "scheduler_type": "linear",
17
+ "warmup_ratio": 0.1,
18
+ "warmup_steps": 0,
19
+ "num_cycles": 0.5,
20
+ "fp16": false,
21
+ "bf16": true,
22
+ "eval_strategy": "no",
23
+ "eval_steps": 500,
24
+ "save_total_limit": 1,
25
+ "save_best": false,
26
+ "metric_for_best": "eval_loss",
27
+ "greater_is_better": false,
28
+ "logging_steps": 5,
29
+ "logging_first_step": true,
30
+ "report_to_wandb": false,
31
+ "wandb_project": null,
32
+ "wandb_entity": null,
33
+ "wandb_run_name": null,
34
+ "wandb_tags": [],
35
+ "wandb_notes": null,
36
+ "early_stopping": false,
37
+ "early_stopping_patience": 3,
38
+ "early_stopping_threshold": 0.0,
39
+ "num_workers": 0,
40
+ "pin_memory": false,
41
+ "prefetch_factor": 2,
42
+ "seed": 42,
43
+ "deterministic": false,
44
+ "local_rank": -1,
45
+ "debug": false,
46
+ "max_train_samples": -1,
47
+ "max_eval_samples": -1,
48
+ "validate_data": false,
49
+ "max_len": null,
50
+ "strict_training": true,
51
+ "ignore_nonfinite_losses": false,
52
+ "skip_step_errors": false,
53
+ "allow_invalid_samples": false,
54
+ "log_proposal_metrics": true,
55
+ "gold_injection_start": 1.0,
56
+ "gold_injection_end": 0.25,
57
+ "gold_injection_hold_frac": 0.15,
58
+ "diagnostics_every_n_steps": 0,
59
+ "profile_first_n_steps": 0,
60
+ "debug_global_steps": [],
61
+ "ddp_consensus_check": true,
62
+ "ddp_find_unused_parameters": false,
63
+ "ddp_static_graph": true,
64
+ "dry_run_recall_steps": 0,
65
+ "gate_recall": 0.97,
66
+ "gate_long_recall": 0.93,
67
+ "on_capacity_exceeded": "raise",
68
+ "dedupe_contained_entity_spans": true,
69
+ "group_by_length": true,
70
+ "length_group_window_batches": 50,
71
+ "compile_model": false,
72
+ "gradient_checkpointing": false,
73
+ "fused_optimizer": true,
74
+ "allow_tf32": true,
75
+ "float32_matmul_precision": "high",
76
+ "use_lora": true,
77
+ "lora_r": 16,
78
+ "lora_alpha": 32,
79
+ "lora_dropout": 0.0,
80
+ "lora_use_dora": false,
81
+ "lora_target_modules": [
82
+ "encoder",
83
+ "span_rep",
84
+ "classifier",
85
+ "count_embed",
86
+ "count_pred"
87
+ ],
88
+ "save_adapter_only": true
89
+ }
network/final/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fastino/GLiNER2.5-Decide
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:fastino/GLiNER2.5-Decide
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.21.2
network/final/adapter_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/GLiNER2.5-Decide",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "kasa_config": null,
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.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.21.2",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "count_pred.0",
39
+ "project_end.0",
40
+ "query_proj",
41
+ "out_project.0",
42
+ "classifier.0",
43
+ "value_proj",
44
+ "count_pred.2",
45
+ "projector.0",
46
+ "project_start.0",
47
+ "dense",
48
+ "key_proj",
49
+ "projector.2",
50
+ "classifier.2",
51
+ "project_end.3",
52
+ "out_project.3",
53
+ "project_start.3"
54
+ ],
55
+ "target_parameters": null,
56
+ "task_type": null,
57
+ "trainable_token_indices": null,
58
+ "use_bdlora": null,
59
+ "use_dora": false,
60
+ "use_qalora": false,
61
+ "use_rslora": false,
62
+ "velora_config": null
63
+ }
network/final/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faf0ec7bf1af978f57a47819b356fbf5242cc58c4c752ea08ae000b686a34936
3
+ size 31766440
network/haruspex.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "base": "fastino/GLiNER2.5-Decide",
3
+ "adapter": "final",
4
+ "mode": "lora"
5
+ }
network/training_config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "runs/network",
3
+ "experiment_name": "gliner2",
4
+ "num_epochs": 3,
5
+ "max_steps": -1,
6
+ "batch_size": 4,
7
+ "eval_batch_size": 8,
8
+ "gradient_accumulation_steps": 1,
9
+ "encoder_lr": 1e-05,
10
+ "task_lr": 0.0005,
11
+ "weight_decay": 0.01,
12
+ "adam_beta1": 0.9,
13
+ "adam_beta2": 0.999,
14
+ "adam_epsilon": 1e-08,
15
+ "max_grad_norm": 1.0,
16
+ "scheduler_type": "linear",
17
+ "warmup_ratio": 0.1,
18
+ "warmup_steps": 0,
19
+ "num_cycles": 0.5,
20
+ "fp16": false,
21
+ "bf16": true,
22
+ "eval_strategy": "no",
23
+ "eval_steps": 500,
24
+ "save_total_limit": 1,
25
+ "save_best": false,
26
+ "metric_for_best": "eval_loss",
27
+ "greater_is_better": false,
28
+ "logging_steps": 5,
29
+ "logging_first_step": true,
30
+ "report_to_wandb": false,
31
+ "wandb_project": null,
32
+ "wandb_entity": null,
33
+ "wandb_run_name": null,
34
+ "wandb_tags": [],
35
+ "wandb_notes": null,
36
+ "early_stopping": false,
37
+ "early_stopping_patience": 3,
38
+ "early_stopping_threshold": 0.0,
39
+ "num_workers": 0,
40
+ "pin_memory": false,
41
+ "prefetch_factor": 2,
42
+ "seed": 42,
43
+ "deterministic": false,
44
+ "local_rank": -1,
45
+ "debug": false,
46
+ "max_train_samples": -1,
47
+ "max_eval_samples": -1,
48
+ "validate_data": false,
49
+ "max_len": null,
50
+ "strict_training": true,
51
+ "ignore_nonfinite_losses": false,
52
+ "skip_step_errors": false,
53
+ "allow_invalid_samples": false,
54
+ "log_proposal_metrics": true,
55
+ "gold_injection_start": 1.0,
56
+ "gold_injection_end": 0.25,
57
+ "gold_injection_hold_frac": 0.15,
58
+ "diagnostics_every_n_steps": 0,
59
+ "profile_first_n_steps": 0,
60
+ "debug_global_steps": [],
61
+ "ddp_consensus_check": true,
62
+ "ddp_find_unused_parameters": false,
63
+ "ddp_static_graph": true,
64
+ "dry_run_recall_steps": 0,
65
+ "gate_recall": 0.97,
66
+ "gate_long_recall": 0.93,
67
+ "on_capacity_exceeded": "raise",
68
+ "dedupe_contained_entity_spans": true,
69
+ "group_by_length": true,
70
+ "length_group_window_batches": 50,
71
+ "compile_model": false,
72
+ "gradient_checkpointing": false,
73
+ "fused_optimizer": true,
74
+ "allow_tf32": true,
75
+ "float32_matmul_precision": "high",
76
+ "use_lora": true,
77
+ "lora_r": 16,
78
+ "lora_alpha": 32,
79
+ "lora_dropout": 0.0,
80
+ "lora_use_dora": false,
81
+ "lora_target_modules": [
82
+ "encoder",
83
+ "span_rep",
84
+ "classifier",
85
+ "count_embed",
86
+ "count_pred"
87
+ ],
88
+ "save_adapter_only": true
89
+ }
security/final/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fastino/GLiNER2.5-Decide
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:fastino/GLiNER2.5-Decide
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.21.2
security/final/adapter_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/GLiNER2.5-Decide",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "kasa_config": null,
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.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.21.2",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "projector.0",
39
+ "key_proj",
40
+ "project_end.3",
41
+ "count_pred.0",
42
+ "project_start.3",
43
+ "project_end.0",
44
+ "classifier.2",
45
+ "count_pred.2",
46
+ "out_project.0",
47
+ "classifier.0",
48
+ "out_project.3",
49
+ "project_start.0",
50
+ "value_proj",
51
+ "dense",
52
+ "projector.2",
53
+ "query_proj"
54
+ ],
55
+ "target_parameters": null,
56
+ "task_type": null,
57
+ "trainable_token_indices": null,
58
+ "use_bdlora": null,
59
+ "use_dora": false,
60
+ "use_qalora": false,
61
+ "use_rslora": false,
62
+ "velora_config": null
63
+ }
security/final/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3ede0952dae0bb300f68fff148b43faf33242f97ae355a23e5ba16a37cdd60a
3
+ size 31766440
security/haruspex.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "base": "fastino/GLiNER2.5-Decide",
3
+ "adapter": "final",
4
+ "mode": "lora"
5
+ }
security/training_config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "runs/security",
3
+ "experiment_name": "gliner2",
4
+ "num_epochs": 3,
5
+ "max_steps": -1,
6
+ "batch_size": 4,
7
+ "eval_batch_size": 8,
8
+ "gradient_accumulation_steps": 1,
9
+ "encoder_lr": 1e-05,
10
+ "task_lr": 0.0005,
11
+ "weight_decay": 0.01,
12
+ "adam_beta1": 0.9,
13
+ "adam_beta2": 0.999,
14
+ "adam_epsilon": 1e-08,
15
+ "max_grad_norm": 1.0,
16
+ "scheduler_type": "linear",
17
+ "warmup_ratio": 0.1,
18
+ "warmup_steps": 0,
19
+ "num_cycles": 0.5,
20
+ "fp16": false,
21
+ "bf16": true,
22
+ "eval_strategy": "no",
23
+ "eval_steps": 500,
24
+ "save_total_limit": 1,
25
+ "save_best": false,
26
+ "metric_for_best": "eval_loss",
27
+ "greater_is_better": false,
28
+ "logging_steps": 5,
29
+ "logging_first_step": true,
30
+ "report_to_wandb": false,
31
+ "wandb_project": null,
32
+ "wandb_entity": null,
33
+ "wandb_run_name": null,
34
+ "wandb_tags": [],
35
+ "wandb_notes": null,
36
+ "early_stopping": false,
37
+ "early_stopping_patience": 3,
38
+ "early_stopping_threshold": 0.0,
39
+ "num_workers": 0,
40
+ "pin_memory": false,
41
+ "prefetch_factor": 2,
42
+ "seed": 42,
43
+ "deterministic": false,
44
+ "local_rank": -1,
45
+ "debug": false,
46
+ "max_train_samples": -1,
47
+ "max_eval_samples": -1,
48
+ "validate_data": false,
49
+ "max_len": null,
50
+ "strict_training": true,
51
+ "ignore_nonfinite_losses": false,
52
+ "skip_step_errors": false,
53
+ "allow_invalid_samples": false,
54
+ "log_proposal_metrics": true,
55
+ "gold_injection_start": 1.0,
56
+ "gold_injection_end": 0.25,
57
+ "gold_injection_hold_frac": 0.15,
58
+ "diagnostics_every_n_steps": 0,
59
+ "profile_first_n_steps": 0,
60
+ "debug_global_steps": [],
61
+ "ddp_consensus_check": true,
62
+ "ddp_find_unused_parameters": false,
63
+ "ddp_static_graph": true,
64
+ "dry_run_recall_steps": 0,
65
+ "gate_recall": 0.97,
66
+ "gate_long_recall": 0.93,
67
+ "on_capacity_exceeded": "raise",
68
+ "dedupe_contained_entity_spans": true,
69
+ "group_by_length": true,
70
+ "length_group_window_batches": 50,
71
+ "compile_model": false,
72
+ "gradient_checkpointing": false,
73
+ "fused_optimizer": true,
74
+ "allow_tf32": true,
75
+ "float32_matmul_precision": "high",
76
+ "use_lora": true,
77
+ "lora_r": 16,
78
+ "lora_alpha": 32,
79
+ "lora_dropout": 0.0,
80
+ "lora_use_dora": false,
81
+ "lora_target_modules": [
82
+ "encoder",
83
+ "span_rep",
84
+ "classifier",
85
+ "count_embed",
86
+ "count_pred"
87
+ ],
88
+ "save_adapter_only": true
89
+ }