Upload folder using huggingface_hub
Browse files- config.json +5 -1
- configuration_disco.py +4 -0
config.json
CHANGED
|
@@ -8,9 +8,13 @@
|
|
| 8 |
"sampling_name": "high-disagreement@100+nonstratified",
|
| 9 |
"number_item": "100",
|
| 10 |
"fitted_model_type": "RandomForestRegressor_100",
|
|
|
|
|
|
|
| 11 |
"eval_config": {
|
| 12 |
"pca": 256,
|
| 13 |
"pad_to_size": 31,
|
| 14 |
-
"use_lmeval_batching": true
|
|
|
|
|
|
|
| 15 |
}
|
| 16 |
}
|
|
|
|
| 8 |
"sampling_name": "high-disagreement@100+nonstratified",
|
| 9 |
"number_item": "100",
|
| 10 |
"fitted_model_type": "RandomForestRegressor_100",
|
| 11 |
+
"use_full_prompt": true,
|
| 12 |
+
"data_path": "arubique/flattened-MMLU",
|
| 13 |
"eval_config": {
|
| 14 |
"pca": 256,
|
| 15 |
"pad_to_size": 31,
|
| 16 |
+
"use_lmeval_batching": true,
|
| 17 |
+
"use_full_prompt": true,
|
| 18 |
+
"data_path": "arubique/flattened-MMLU"
|
| 19 |
}
|
| 20 |
}
|
configuration_disco.py
CHANGED
|
@@ -15,6 +15,8 @@ class DiscoConfig(PretrainedConfig):
|
|
| 15 |
sampling_name: str = "",
|
| 16 |
number_item: str = "",
|
| 17 |
fitted_model_type: str = "",
|
|
|
|
|
|
|
| 18 |
**kwargs,
|
| 19 |
):
|
| 20 |
super().__init__(**kwargs)
|
|
@@ -22,3 +24,5 @@ class DiscoConfig(PretrainedConfig):
|
|
| 22 |
self.sampling_name = sampling_name
|
| 23 |
self.number_item = number_item
|
| 24 |
self.fitted_model_type = fitted_model_type
|
|
|
|
|
|
|
|
|
| 15 |
sampling_name: str = "",
|
| 16 |
number_item: str = "",
|
| 17 |
fitted_model_type: str = "",
|
| 18 |
+
use_full_prompt: bool = True,
|
| 19 |
+
data_path: str = "",
|
| 20 |
**kwargs,
|
| 21 |
):
|
| 22 |
super().__init__(**kwargs)
|
|
|
|
| 24 |
self.sampling_name = sampling_name
|
| 25 |
self.number_item = number_item
|
| 26 |
self.fitted_model_type = fitted_model_type
|
| 27 |
+
self.use_full_prompt = use_full_prompt
|
| 28 |
+
self.data_path = data_path
|