example_ci_config.yaml 959 Bytes
Newer Older
Baber's avatar
Baber committed
1
2
3
4
5
6
# Language Model Evaluation Harness Configuration File
#
# This YAML configuration file allows you to specify evaluation parameters
# instead of passing them as command-line arguments.
#
# Usage:
7
#   $ lm_eval --config templates/example_ci_config.yaml
Baber's avatar
Baber committed
8
9
#
# You can override any values in this config with command-line arguments:
10
#   $ lm_eval --config templates/example_ci_config.yaml --model_args pretrained=gpt2 --tasks mmlu
Baber's avatar
Baber committed
11
12
13
14
#
# All parameters are optional and have the same meaning as their CLI counterparts.

model: hf
15
model_args:
Baber's avatar
Baber committed
16
17
18
19
  pretrained: EleutherAI/pythia-14m
  dtype: float16
tasks:
  - hellaswag
20
  - arc_easy
21
batch_size: 1
22
device: mps
23
24
25
trust_remote_code: true
log_samples: true
output_path: ./test
26
27
28
29
30
31
32
33
34
gen_kwargs:
  do_sample: true
  temperature: 0.7
samples:
  hellaswag: [1,2,3,4,5,6,7,8,9,10]
  arc_easy: [10,20,30,40,50,60,70,80,90,100]
metadata:
  name: Example CI Config
  description: This is an example configuration file for testing purposes.