Add test builds of Answerability LoRA (#1)
Browse files- Add test builds of Answerability LoRA (5c3eac294ff550e1dd30ae01096d412fec3bac7f)
Co-authored-by: Fred Reiss <frreiss@users.noreply.huggingface.co>
- answerability/lora/granite-3.3-2b-instruct/adapter_config.json +33 -0
- answerability/lora/granite-3.3-2b-instruct/adapter_model.safetensors +3 -0
- answerability/lora/granite-3.3-2b-instruct/io.yaml +17 -0
- answerability/lora/granite-3.3-8b-instruct/adapter_config.json +33 -0
- answerability/lora/granite-3.3-8b-instruct/adapter_model.safetensors +3 -0
- answerability/lora/granite-3.3-8b-instruct/io.yaml +17 -0
answerability/lora/granite-3.3-2b-instruct/adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "ibm-granite/granite-3.3-2b-instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 32,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 32,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"v_proj",
|
| 27 |
+
"q_proj",
|
| 28 |
+
"k_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"use_dora": false,
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
answerability/lora/granite-3.3-2b-instruct/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:522f6038e5ee6db9e611253d401a2fb80a6caac0263e1d88612e76297b229565
|
| 3 |
+
size 47218112
|
answerability/lora/granite-3.3-2b-instruct/io.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model name string, or null to use whatever is provided in the chat completion request
|
| 2 |
+
model: ~
|
| 3 |
+
# JSON schema of the model's output
|
| 4 |
+
response_format: |
|
| 5 |
+
{
|
| 6 |
+
"type": "string",
|
| 7 |
+
"enum": ["answerable", "unanswerable"]
|
| 8 |
+
}
|
| 9 |
+
transformations:
|
| 10 |
+
- type: likelihood
|
| 11 |
+
positive_label: "answerable"
|
| 12 |
+
input_path: []
|
| 13 |
+
output_name: ~ # Null == no change
|
| 14 |
+
instruction: ~
|
| 15 |
+
parameters:
|
| 16 |
+
max_completion_tokens: 6
|
| 17 |
+
sentence_boundaries: false
|
answerability/lora/granite-3.3-8b-instruct/adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 32,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 32,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"q_proj",
|
| 27 |
+
"v_proj",
|
| 28 |
+
"k_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"use_dora": false,
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
answerability/lora/granite-3.3-8b-instruct/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:437300147993aa317a98cbba16ce800905f9f292fc0776d25d2d995f4c7f3f27
|
| 3 |
+
size 94404160
|
answerability/lora/granite-3.3-8b-instruct/io.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model name string, or null to use whatever is provided in the chat completion request
|
| 2 |
+
model: ~
|
| 3 |
+
# JSON schema of the model's output
|
| 4 |
+
response_format: |
|
| 5 |
+
{
|
| 6 |
+
"type": "string",
|
| 7 |
+
"enum": ["answerable", "unanswerable"]
|
| 8 |
+
}
|
| 9 |
+
transformations:
|
| 10 |
+
- type: likelihood
|
| 11 |
+
positive_label: "answerable"
|
| 12 |
+
input_path: []
|
| 13 |
+
output_name: ~ # Null == no change
|
| 14 |
+
instruction: ~
|
| 15 |
+
parameters:
|
| 16 |
+
max_completion_tokens: 6
|
| 17 |
+
sentence_boundaries: false
|