Create steering_vectors_spar_concepts_llama1b.yaml
Browse files
steering_vectors_spar_concepts_llama1b.yaml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model_name: meta-llama/Llama-3.2-1B
|
| 2 |
+
layer: 7
|
| 3 |
+
retain: output
|
| 4 |
+
dtype: bfloat16
|
| 5 |
+
device: cuda:0
|
| 6 |
+
batch_size: 32
|
| 7 |
+
max_length: 2048
|
| 8 |
+
generation_mode: average
|
| 9 |
+
max_vectors_per_dataset: null
|
| 10 |
+
seed: 42
|
| 11 |
+
output_dir: data/steering_vectors/llama3.2-1b-layer07-spar-concepts
|
| 12 |
+
overwrite: false
|
| 13 |
+
|
| 14 |
+
datasets:
|
| 15 |
+
- name: positive_sentiment
|
| 16 |
+
hf_dataset: basta/spar-concepts
|
| 17 |
+
hf_config: texts
|
| 18 |
+
train_split: train
|
| 19 |
+
test_split: test
|
| 20 |
+
concept: positive_sentiment
|
| 21 |
+
- name: sports
|
| 22 |
+
hf_dataset: basta/spar-concepts
|
| 23 |
+
hf_config: texts
|
| 24 |
+
train_split: train
|
| 25 |
+
test_split: test
|
| 26 |
+
concept: sports
|
| 27 |
+
- name: anger
|
| 28 |
+
hf_dataset: basta/spar-concepts
|
| 29 |
+
hf_config: texts
|
| 30 |
+
train_split: train
|
| 31 |
+
test_split: test
|
| 32 |
+
concept: anger
|
| 33 |
+
- name: french
|
| 34 |
+
hf_dataset: basta/spar-concepts
|
| 35 |
+
hf_config: texts
|
| 36 |
+
train_split: train
|
| 37 |
+
test_split: test
|
| 38 |
+
concept: french
|
| 39 |
+
- name: toxicity
|
| 40 |
+
hf_dataset: basta/spar-concepts
|
| 41 |
+
hf_config: texts
|
| 42 |
+
train_split: train
|
| 43 |
+
test_split: test
|
| 44 |
+
concept: toxicity
|
| 45 |
+
- name: formality
|
| 46 |
+
hf_dataset: basta/spar-concepts
|
| 47 |
+
hf_config: texts
|
| 48 |
+
train_split: train
|
| 49 |
+
test_split: test
|
| 50 |
+
concept: formality
|