Instructions to use pando-dataset/car-purchase-structured-std with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use pando-dataset/car-purchase-structured-std with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add car_purchase_d4_it_lora8_20260204_225316_6
Browse files- .gitattributes +1 -0
- car_purchase_d4_it_lora8_20260204_225316_6/adapter_config.json +34 -0
- car_purchase_d4_it_lora8_20260204_225316_6/adapter_model.safetensors +3 -0
- car_purchase_d4_it_lora8_20260204_225316_6/circuit.json +134 -0
- car_purchase_d4_it_lora8_20260204_225316_6/train.json +3 -0
- car_purchase_d4_it_lora8_20260204_225316_6/training_config.json +23 -0
- car_purchase_d4_it_lora8_20260204_225316_6/validation.json +0 -0
.gitattributes
CHANGED
|
@@ -110,3 +110,4 @@ car_purchase_d4_it_lora8_20260204_201014_6/train.json filter=lfs diff=lfs merge=
|
|
| 110 |
car_purchase_d4_it_lora8_20260204_204717_7/train.json filter=lfs diff=lfs merge=lfs -text
|
| 111 |
car_purchase_d4_it_lora8_20260204_210459_6/train.json filter=lfs diff=lfs merge=lfs -text
|
| 112 |
car_purchase_d4_it_lora8_20260204_215855_6/train.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 110 |
car_purchase_d4_it_lora8_20260204_204717_7/train.json filter=lfs diff=lfs merge=lfs -text
|
| 111 |
car_purchase_d4_it_lora8_20260204_210459_6/train.json filter=lfs diff=lfs merge=lfs -text
|
| 112 |
car_purchase_d4_it_lora8_20260204_215855_6/train.json filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
car_purchase_d4_it_lora8_20260204_225316_6/train.json filter=lfs diff=lfs merge=lfs -text
|
car_purchase_d4_it_lora8_20260204_225316_6/adapter_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "google/gemma-2-2b-it",
|
| 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.0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 8,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"q_proj",
|
| 28 |
+
"v_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"trainable_token_indices": null,
|
| 32 |
+
"use_dora": false,
|
| 33 |
+
"use_rslora": false
|
| 34 |
+
}
|
car_purchase_d4_it_lora8_20260204_225316_6/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6f4a88aee9aaa2d36a01576b559a2c8f66f6e13d1dcac098747de401d694664
|
| 3 |
+
size 6403448
|
car_purchase_d4_it_lora8_20260204_225316_6/circuit.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"expression": "(drivetrain == 'FWD' and (interior == 'Leather' and (year >= 2012 and (condition == 'New' and True or not (condition == 'New') and False) or not (year >= 2012) and (condition == 'Used' and False or not (condition == 'Used') and False)) or not (interior == 'Leather') and (condition == 'Used' and (year <= 2010 and True or not (year <= 2010) and True) or not (condition == 'Used') and (year <= 2011 and False or not (year <= 2011) and True))) or not (drivetrain == 'FWD') and (condition == 'Used' and (year <= 2014 and (interior == 'Cloth' and True or not (interior == 'Cloth') and False) or not (year <= 2014) and (interior == 'Cloth' and False or not (interior == 'Cloth') and False)) or not (condition == 'Used') and (interior == 'Leather' and (year >= 2010 and True or not (year >= 2010) and False) or not (interior == 'Leather') and (year >= 2011 and True or not (year >= 2011) and True))))",
|
| 3 |
+
"used_fields": [
|
| 4 |
+
"interior",
|
| 5 |
+
"condition",
|
| 6 |
+
"drivetrain",
|
| 7 |
+
"year"
|
| 8 |
+
],
|
| 9 |
+
"num_fields": 4,
|
| 10 |
+
"max_depth": 4,
|
| 11 |
+
"scenario": "car_purchase",
|
| 12 |
+
"circuit_type": "decision_tree",
|
| 13 |
+
"description": "We can decide if a vehicle is good from the following process.\n- if it has drivetrain == 'FWD'\n-- if it has interior == 'Leather'\n--- if it has year >= 2012\n---- if it has condition == 'New' -> yes\n---- if it has condition != 'New' -> no\n--- if it has year < 2012\n---- if it has condition == 'Used' -> no\n---- if it has condition != 'Used' -> no\n-- if it has interior != 'Leather'\n--- if it has condition == 'Used'\n---- if it has year <= 2010 -> yes\n---- if it has year > 2010 -> yes\n--- if it has condition != 'Used'\n---- if it has year <= 2011 -> no\n---- if it has year > 2011 -> yes\n- if it has drivetrain != 'FWD'\n-- if it has condition == 'Used'\n--- if it has year <= 2014\n---- if it has interior == 'Cloth' -> yes\n---- if it has interior != 'Cloth' -> no\n--- if it has year > 2014\n---- if it has interior == 'Cloth' -> no\n---- if it has interior != 'Cloth' -> no\n-- if it has condition != 'Used'\n--- if it has interior == 'Leather'\n---- if it has year >= 2010 -> yes\n---- if it has year < 2010 -> no\n--- if it has interior != 'Leather'\n---- if it has year >= 2011 -> yes\n---- if it has year < 2011 -> yes\n\nIs this vehicle good?",
|
| 14 |
+
"tree_node": {
|
| 15 |
+
"predicate": "drivetrain == 'FWD'",
|
| 16 |
+
"field": "drivetrain",
|
| 17 |
+
"left": {
|
| 18 |
+
"predicate": "interior == 'Leather'",
|
| 19 |
+
"field": "interior",
|
| 20 |
+
"left": {
|
| 21 |
+
"predicate": "year >= 2012",
|
| 22 |
+
"field": "year",
|
| 23 |
+
"left": {
|
| 24 |
+
"predicate": "condition == 'New'",
|
| 25 |
+
"field": "condition",
|
| 26 |
+
"left": {
|
| 27 |
+
"label": true
|
| 28 |
+
},
|
| 29 |
+
"right": {
|
| 30 |
+
"label": false
|
| 31 |
+
}
|
| 32 |
+
},
|
| 33 |
+
"right": {
|
| 34 |
+
"predicate": "condition == 'Used'",
|
| 35 |
+
"field": "condition",
|
| 36 |
+
"left": {
|
| 37 |
+
"label": false
|
| 38 |
+
},
|
| 39 |
+
"right": {
|
| 40 |
+
"label": false
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"right": {
|
| 45 |
+
"predicate": "condition == 'Used'",
|
| 46 |
+
"field": "condition",
|
| 47 |
+
"left": {
|
| 48 |
+
"predicate": "year <= 2010",
|
| 49 |
+
"field": "year",
|
| 50 |
+
"left": {
|
| 51 |
+
"label": true
|
| 52 |
+
},
|
| 53 |
+
"right": {
|
| 54 |
+
"label": true
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"right": {
|
| 58 |
+
"predicate": "year <= 2011",
|
| 59 |
+
"field": "year",
|
| 60 |
+
"left": {
|
| 61 |
+
"label": false
|
| 62 |
+
},
|
| 63 |
+
"right": {
|
| 64 |
+
"label": true
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"right": {
|
| 70 |
+
"predicate": "condition == 'Used'",
|
| 71 |
+
"field": "condition",
|
| 72 |
+
"left": {
|
| 73 |
+
"predicate": "year <= 2014",
|
| 74 |
+
"field": "year",
|
| 75 |
+
"left": {
|
| 76 |
+
"predicate": "interior == 'Cloth'",
|
| 77 |
+
"field": "interior",
|
| 78 |
+
"left": {
|
| 79 |
+
"label": true
|
| 80 |
+
},
|
| 81 |
+
"right": {
|
| 82 |
+
"label": false
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
"right": {
|
| 86 |
+
"predicate": "interior == 'Cloth'",
|
| 87 |
+
"field": "interior",
|
| 88 |
+
"left": {
|
| 89 |
+
"label": false
|
| 90 |
+
},
|
| 91 |
+
"right": {
|
| 92 |
+
"label": false
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
},
|
| 96 |
+
"right": {
|
| 97 |
+
"predicate": "interior == 'Leather'",
|
| 98 |
+
"field": "interior",
|
| 99 |
+
"left": {
|
| 100 |
+
"predicate": "year >= 2010",
|
| 101 |
+
"field": "year",
|
| 102 |
+
"left": {
|
| 103 |
+
"label": true
|
| 104 |
+
},
|
| 105 |
+
"right": {
|
| 106 |
+
"label": false
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
"right": {
|
| 110 |
+
"predicate": "year >= 2011",
|
| 111 |
+
"field": "year",
|
| 112 |
+
"left": {
|
| 113 |
+
"label": true
|
| 114 |
+
},
|
| 115 |
+
"right": {
|
| 116 |
+
"label": true
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
},
|
| 122 |
+
"field_sensitivity": {
|
| 123 |
+
"brand": 0.0,
|
| 124 |
+
"year": 0.5007,
|
| 125 |
+
"color": 0.0,
|
| 126 |
+
"horsepower": 0.0,
|
| 127 |
+
"drivetrain": 0.2374,
|
| 128 |
+
"mpg": 0.0,
|
| 129 |
+
"seat_capacity": 0.0,
|
| 130 |
+
"interior": 0.4918,
|
| 131 |
+
"condition": 0.5049,
|
| 132 |
+
"price": 0.0
|
| 133 |
+
}
|
| 134 |
+
}
|
car_purchase_d4_it_lora8_20260204_225316_6/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52e5f05402efdf20de21298376685493fd8fa814d39a8d6dcb4133aee8c9a461
|
| 3 |
+
size 52788726
|
car_purchase_d4_it_lora8_20260204_225316_6/training_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model": "google/gemma-2-2b-it",
|
| 3 |
+
"original_base_model": "google/gemma-2-2b-it",
|
| 4 |
+
"num_epochs": 1,
|
| 5 |
+
"batch_size": 4,
|
| 6 |
+
"gradient_accumulation_steps": 4,
|
| 7 |
+
"learning_rate": 2e-05,
|
| 8 |
+
"max_seq_length": 512,
|
| 9 |
+
"seed": 2383195103,
|
| 10 |
+
"train_samples": 100000,
|
| 11 |
+
"val_samples": 500,
|
| 12 |
+
"format_style": "structured",
|
| 13 |
+
"shown_fields": null,
|
| 14 |
+
"use_lora": true,
|
| 15 |
+
"use_chat_template": true,
|
| 16 |
+
"alignment_coef": 0.0,
|
| 17 |
+
"alignment_layers": null,
|
| 18 |
+
"mix_fineweb": false,
|
| 19 |
+
"fineweb_ratio": null,
|
| 20 |
+
"lora_rank": 8,
|
| 21 |
+
"lora_alpha": 16,
|
| 22 |
+
"lora_dropout": 0.0
|
| 23 |
+
}
|
car_purchase_d4_it_lora8_20260204_225316_6/validation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|