Skip to content

Commit 1bc7117

Browse files
authored
Merge pull request #7 from intsystems/meshkovvl
add some configs
2 parents 9ac3182 + 2ad6511 commit 1bc7117

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

configs/llama_enwik8.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Model configuration
2+
model:
3+
name: "openlm-research/open_llama_3b"
4+
# Options:
5+
# - "openlm-research/open_llama_3b"
6+
# - "Qwen/Qwen2.5-3B"
7+
# - "MultiTrickFox/bloom-2b5_Zen"
8+
# - "bigscience/bloom-7b1"
9+
# - "bigscience/bloom-560m"
10+
# - "bigscience/bloom-1b1"
11+
12+
torch_dtype: "bfloat16" # bfloat16, float16, float32
13+
device_map: "auto"
14+
cache_dir: cache
15+
token: null # HuggingFace token if needed
16+
use_bloom: false # true for BLOOM models, false for LLaMA/Qwen
17+
18+
# Dataset configuration
19+
dataset:
20+
name: "other"
21+
subset: "enwik8"
22+
split: "train"
23+
cache_dir: cache
24+
max_length: 512
25+
26+
# Processing configuration
27+
processing:
28+
batch_size: 96
29+
num_workers: 4
30+
shuffle: false
31+
32+
# Output configuration
33+
output:
34+
base_dir: "activation_saved/activations_enwik"
35+
model_subdir: "open_llama_3b" # Subdirectory name for this model
36+
save_dtype: "float16" # float16, float32
37+
38+
# Activation aggregation
39+
aggregation:
40+
method: ["mean", 'last'] # mean, sum, last, none
41+
use_attention_mask: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
path_to_activations: activation_saved/activations_mrpc/open_llama_3b
2+
path_to_save: all_stats/classifier_stats/open_llama_3b_mrpc_classif.yaml
3+
target_col: label
4+
dataset:
5+
name: "glue"
6+
subset: "mrpc"
7+
split: "train"
8+
cache_dir: "cache"
9+
max_length: 512

0 commit comments

Comments
 (0)