-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from ITM-Kitware/dev/api-updates-for-metrics-eval
Dev/api updates for metrics eval
- Loading branch information
Showing
52 changed files
with
1,735 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
adm: | ||
name: 'KaleidoADM' | ||
init_kwargs: | ||
model_name: 'allenai/kaleido-large' | ||
use_tqdm: False | ||
|
||
inference_kwargs: | ||
distance_fn: 'RelevanceWeightedDistance' | ||
kdma_descriptions_map: 'align_system/algorithms/lib/templates/kdma_descriptions_short_metrics_eval.yml' |
17 changes: 17 additions & 0 deletions
17
adm_configs/metrics-evaluation/delivered/hybrid_kaleido.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
adm: | ||
name: 'HybridKaleidoADM' | ||
init_kwargs: | ||
kaleido_init_kwargs: | ||
model_name: 'allenai/kaleido-large' | ||
use_tqdm: False | ||
|
||
llm_init_kwargs: | ||
hf_model: 'meta-llama/Llama-2-7b-chat-hf' | ||
precision: 'half' | ||
|
||
inference_kwargs: | ||
# Kaleido kwargs | ||
distance_fn: 'RelevanceWeightedDistance' | ||
kdma_descriptions_map: 'align_system/algorithms/lib/templates/kdma_descriptions_short_metrics_eval.yml' | ||
# LLM kwargs | ||
answer_attempts: 5 |
12 changes: 12 additions & 0 deletions
12
adm_configs/metrics-evaluation/delivered/single_kdma_adm_adept.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
adm: | ||
name: 'SingleKDMAADM' | ||
init_kwargs: | ||
hf_model: meta-llama/Llama-2-13b-chat-hf | ||
precision: half | ||
temperature: 0.7 | ||
|
||
inference_kwargs: | ||
baseline: false | ||
n_negative_samples: 5 | ||
n_positive_samples: 5 | ||
shuffle: true |
12 changes: 12 additions & 0 deletions
12
adm_configs/metrics-evaluation/delivered/single_kdma_adm_baseline.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
adm: | ||
name: 'SingleKDMAADM' | ||
init_kwargs: | ||
hf_model: meta-llama/Llama-2-13b-chat-hf | ||
precision: half | ||
temperature: 0.7 | ||
|
||
inference_kwargs: | ||
baseline: true | ||
n_negative_samples: 0 | ||
n_positive_samples: 5 | ||
shuffle: true |
12 changes: 12 additions & 0 deletions
12
adm_configs/metrics-evaluation/delivered/single_kdma_adm_soartech.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
adm: | ||
name: 'SingleKDMAADM' | ||
init_kwargs: | ||
hf_model: meta-llama/Llama-2-13b-chat-hf | ||
precision: half | ||
temperature: 0.7 | ||
|
||
inference_kwargs: | ||
baseline: false | ||
n_negative_samples: 0 | ||
n_positive_samples: 5 | ||
shuffle: true |
22 changes: 22 additions & 0 deletions
22
adm_configs/metrics-evaluation/hybrid_kaleido_adept_high.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
adm: | ||
name: 'HybridKaleidoADM' | ||
init_kwargs: | ||
kaleido_init_kwargs: | ||
model_name: 'allenai/kaleido-large' | ||
use_tqdm: False | ||
|
||
llm_init_kwargs: | ||
hf_model: 'meta-llama/Llama-2-7b-chat-hf' | ||
precision: 'half' | ||
|
||
inference_kwargs: | ||
# Kaleido kwargs | ||
distance_fn: 'RelevanceWeightedDistance' | ||
kdma_descriptions_map: 'align_system/algorithms/lib/templates/kdma_descriptions_short_metrics_eval.yml' | ||
# LLM kwargs | ||
answer_attempts: 5 | ||
|
||
alignment_target_override: | ||
id: ADEPT-metrics_eval-alignment-target-train-HIGH | ||
kdma_values: | ||
- {kdma: MoralDesert, value: 1} |
22 changes: 22 additions & 0 deletions
22
adm_configs/metrics-evaluation/hybrid_kaleido_adept_low.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
adm: | ||
name: 'HybridKaleidoADM' | ||
init_kwargs: | ||
kaleido_init_kwargs: | ||
model_name: 'allenai/kaleido-large' | ||
use_tqdm: False | ||
|
||
llm_init_kwargs: | ||
hf_model: 'meta-llama/Llama-2-7b-chat-hf' | ||
precision: 'half' | ||
|
||
inference_kwargs: | ||
# Kaleido kwargs | ||
distance_fn: 'RelevanceWeightedDistance' | ||
kdma_descriptions_map: 'align_system/algorithms/lib/templates/kdma_descriptions_short_metrics_eval.yml' | ||
# LLM kwargs | ||
answer_attempts: 5 | ||
|
||
alignment_target_override: | ||
id: ADEPT-metrics_eval-alignment-target-train-LOW | ||
kdma_values: | ||
- {kdma: MoralDesert, value: 0} |
Oops, something went wrong.