File size: 3,793 Bytes
2941b49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
 "results": {
  "humaneval": {
   "name": "humaneval",
   "alias": "humaneval",
   "sample_len": 164,
   "pass@1,create_test": 0.0,
   "pass@1_stderr,create_test": 0.0
  }
 },
 "group_subtasks": {},
 "configs": {
  "humaneval": {
   "task": "humaneval",
   "dataset_path": "openai/openai_humaneval",
   "test_split": "test",
   "doc_to_text": "{{prompt}}",
   "doc_to_target": "{{test}}\ncheck({{entry_point}})",
   "unsafe_code": true,
   "description": "",
   "target_delimiter": " ",
   "fewshot_delimiter": "\n\n",
   "fewshot_config": {
    "sampler": "default",
    "split": null,
    "process_docs": null,
    "fewshot_indices": null,
    "samples": null,
    "doc_to_text": "{{prompt}}",
    "doc_to_choice": null,
    "doc_to_target": "{{test}}\ncheck({{entry_point}})",
    "gen_prefix": null,
    "fewshot_delimiter": "\n\n",
    "target_delimiter": " "
   },
   "num_fewshot": 0,
   "metric_list": [
    {
     "metric": "def pass_at_k(references: list[str], predictions: list[list[str]], k: list[int] = None):\n    global compute_\n    assert k is not None\n    if isinstance(k, int):\n        k = [k]\n    res = compute_.compute(\n        references=references,\n        predictions=predictions,\n        k=k,\n    )\n    return res[0]\n",
     "aggregation": "mean",
     "higher_is_better": true,
     "k": [
      1
     ]
    }
   ],
   "output_type": "generate_until",
   "generation_kwargs": {
    "until": [
     "\nclass",
     "\ndef",
     "\n#",
     "\nif",
     "\nprint"
    ],
    "max_gen_toks": 1024,
    "do_sample": false
   },
   "repeats": 1,
   "filter_list": [
    {
     "name": "create_test",
     "filter": [
      {
       "function": "custom",
       "filter_fn": "<function build_predictions at 0x7835491a2f20>"
      }
     ]
    }
   ],
   "should_decontaminate": false,
   "metadata": {
    "version": 1.0,
    "model": "dsv4-hybrid",
    "base_url": "http://localhost:PORT/v1/chat/completions",
    "num_concurrent": 8,
    "max_retries": 3,
    "tokenized_requests": false,
    "tokenizer": "<model_path>",
    "tokenizer_backend": "huggingface",
    "config_source": "<lm_eval>/tasks/humaneval/humaneval.yaml"
   }
  }
 },
 "versions": {
  "humaneval": 1.0
 },
 "n-shot": {
  "humaneval": 0
 },
 "higher_is_better": {
  "humaneval": {
   "pass_at_k": true,
   "pass@1": true
  }
 },
 "n-samples": {
  "humaneval": {
   "original": 164,
   "effective": 164
  }
 },
 "config": {
  "model": "local-chat-completions",
  "model_args": {
   "model": "dsv4-hybrid",
   "base_url": "http://localhost:PORT/v1/chat/completions",
   "num_concurrent": 8,
   "max_retries": 3,
   "tokenized_requests": false,
   "tokenizer": "<model_path>",
   "tokenizer_backend": "huggingface"
  },
  "batch_size": 1,
  "batch_sizes": [],
  "device": "cuda:0",
  "use_cache": null,
  "limit": 164.0,
  "bootstrap_iters": 100000,
  "gen_kwargs": {},
  "random_seed": 0,
  "numpy_seed": 1234,
  "torch_seed": 1234,
  "fewshot_seed": 1234
 },
 "git_hash": null,
 "date": 1786210286.7190146,
 "transformers_version": "5.14.1",
 "lm_eval_version": "0.4.12",
 "upper_git_hash": null,
 "tokenizer_pad_token": [
  "<|end▁of▁sentence|>",
  "1"
 ],
 "tokenizer_eos_token": [
  "<|end▁of▁sentence|>",
  "1"
 ],
 "tokenizer_bos_token": [
  "<|begin▁of▁sentence|>",
  "0"
 ],
 "eot_token_id": 1,
 "max_length": 2047,
 "task_hashes": {},
 "model_source": "local-chat-completions",
 "model_name": "dsv4-hybrid",
 "model_name_sanitized": "dsv4-hybrid",
 "system_instruction": null,
 "system_instruction_sha": null,
 "fewshot_as_multiturn": true,
 "chat_template": null,
 "chat_template_sha": null,
 "total_evaluation_time_seconds": "34.3056967179873",
 "hardware_note": "2x NVIDIA RTX PRO 6000 Blackwell (96GB, SM120), TP=2. Detailed host environment omitted."
}