-
Notifications
You must be signed in to change notification settings - Fork 511
/
Copy path3b_eval.yaml
35 lines (31 loc) · 1.1 KB
/
3b_eval.yaml
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
# Eval config for Llama 3.2 3B Instruct.
#
# Requirements:
# - Log into WandB (`wandb login`) or disable `enable_wandb`
# - Log into HF: `huggingface-cli login`
# - Request access to Llama 3.2: https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct
#
# Usage:
# oumi evaluate -c configs/recipes/llama3_2/evaluation/3b_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: "meta-llama/Llama-3.2-3B-Instruct"
model_max_length: 131072
torch_dtype_str: "bfloat16"
attn_implementation: "sdpa"
load_pretrained_weights: True
trust_remote_code: True
generation:
batch_size: 4
tasks:
# For all available tasks, see https://oumi.ai/docs/en/latest/user_guides/evaluate/evaluate.html
- evaluation_platform: lm_harness
task_name: mmlu_college_computer_science
eval_kwargs:
num_fewshot: 5
enable_wandb: True