forked from oumi-ai/oumi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheval.yaml
More file actions
58 lines (53 loc) · 1.52 KB
/
Copy patheval.yaml
File metadata and controls
58 lines (53 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Eval config for Gemma 3 4B Instruct.
#
# Requirements:
# - transformers >= 4.50.0
# - Gemma license acceptance required: https://huggingface.co/google/gemma-3-4b-it
# - Log into WandB (`wandb login`) or disable `enable_wandb`
#
# Usage:
# oumi evaluate -c configs/recipes/gemma3/evaluation/4b/eval.yaml
#
# See Also:
# - Documentation: https://oumi.ai/docs/en/latest/user_guides/evaluate/evaluate.html
# - Config class: oumi.core.configs.EvaluationConfig
# - Config source: https://github.com/oumi-ai/oumi/blob/main/src/oumi/core/configs/evaluation_config.py
# - Other eval configs: configs/**/evaluation/
model:
model_name: "google/gemma-3-4b-it"
model_max_length: 8192
torch_dtype_str: "bfloat16"
attn_implementation: "sdpa"
trust_remote_code: True
shard_for_eval: True
generation:
batch_size: 4
# HuggingFace Leaderboard V1 tasks
tasks:
- evaluation_backend: lm_harness
task_name: mmlu
eval_kwargs:
num_fewshot: 5
- evaluation_backend: lm_harness
task_name: arc_challenge
eval_kwargs:
num_fewshot: 25
- evaluation_backend: lm_harness
task_name: winogrande
eval_kwargs:
num_fewshot: 5
- evaluation_backend: lm_harness
task_name: hellaswag
eval_kwargs:
num_fewshot: 10
- evaluation_backend: lm_harness
task_name: truthfulqa_mc2
eval_kwargs:
num_fewshot: 0
- evaluation_backend: lm_harness
task_name: gsm8k
eval_kwargs:
num_fewshot: 5
enable_wandb: True
inference_engine: NATIVE
output_dir: "output/gemma3_4b/evaluation"